apis

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2018 License: BSD-3-Clause Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TokenIdentityUser specify "user" token idenity model.
	TokenIdentityUser = "user"

	// TokenIdentityUser specify "key" token idenity model.
	TokenIdentityKey = "key"
)

Variables

This section is empty.

Functions

func InitAuthApi

func InitAuthApi(rg *routing.Router, session *mgo.Session)

InitAuthApi sets up the routing of auth endpoints and the corresponding handlers.

func InitCollectionApi

func InitCollectionApi(rg *routing.Router, session *mgo.Session)

InitCollectionApi sets up the routing of collection endpoints and the corresponding handlers.

func InitEntityApi

func InitEntityApi(rg *routing.Router, session *mgo.Session)

InitEntityApi sets up the routing of entity endpoints and the corresponding handlers.

func InitKeyApi

func InitKeyApi(rg *routing.Router, session *mgo.Session)

InitKeyApi sets up the routing of Key endpoints and the corresponding handlers.

func InitLanguageApi

func InitLanguageApi(rg *routing.Router, session *mgo.Session)

InitLanguageApi sets up the routing of language endpoints and the corresponding handlers.

func InitMediaApi

func InitMediaApi(rg *routing.Router, session *mgo.Session)

InitMediaApi sets up the routing of media endpoints and the corresponding handlers.

func InitUserApi

func InitUserApi(rg *routing.Router, session *mgo.Session)

InitUserApi sets up the routing of user endpoints and the corresponding handlers.

Types

type AuthApi

type AuthApi struct {
	// contains filtered or unexported fields
}

AuthApi defines auth api services

type CollectionApi

type CollectionApi struct {
	// contains filtered or unexported fields
}

CollectionApi defines collection api services

type EntityApi

type EntityApi struct {
	// contains filtered or unexported fields
}

EntityApi defines entity api services

type KeyApi

type KeyApi struct {
	// contains filtered or unexported fields
}

KeyApi defines Key api services

type LanguageApi

type LanguageApi struct {
	// contains filtered or unexported fields
}

LanguageApi defines language api services

type MediaApi

type MediaApi struct {
	// contains filtered or unexported fields
}

MediaApi defines media api services

type UserApi

type UserApi struct {
	// contains filtered or unexported fields
}

UserApi defines user api services

Jump to

Keyboard shortcuts

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