apis

package
v0.0.0-...-243484f Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2017 License: Apache-2.0 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

func ServeArtistResource

func ServeArtistResource(rg *routing.RouteGroup, service artistService)

ServeArtist sets up the routing of artist endpoints and the corresponding handlers.

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