api

package
v0.0.0-...-c94490f Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthActionFromStr

func AuthActionFromStr(str string) (action model.AuthAction, err error)

func GetRoutes

func GetRoutes(db interfaces.Persistence) *jwt_http_router.Router

func Init

func Init(db interfaces.Persistence)

creates all rest-endpoints, initiates the request-logger

Types

type Insert_OK

type Insert_OK struct {
	CreatedId string `json:"created_id"`
}

type UrlDecodeMiddleWare

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

func NewUrlDecodeMiddleWare

func NewUrlDecodeMiddleWare(handler http.Handler) *UrlDecodeMiddleWare

func (*UrlDecodeMiddleWare) ServeHTTP

func (this *UrlDecodeMiddleWare) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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