token

package
v0.0.0-...-8577a5a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateToken

func CreateToken(r tx.Request) (interface{}, error)

func DeleteToken

func DeleteToken(r tx.Request) (interface{}, error)

func ListTokens

func ListTokens(r tx.Request) (interface{}, error)

func Mount

func Mount(m tx.Middlewarer) http.Handler

Types

type TokenUses

type TokenUses struct {
	Uses int `schema:"uses,required"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL