apis

package
v0.0.0-...-454992d Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_PAGE_SIZE int = 100
	MAX_PAGE_SIZE     int = 1000
)

Variables

This section is empty.

Functions

func Auth

func Auth(signingKey string) routing.Handler

func JWTHandler

func JWTHandler(c *routing.Context, j *jwt.Token) error

Types

type Credential

type Credential struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

Jump to

Keyboard shortcuts

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