route

package
v0.0.0-...-526e170 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authentication

func Authentication() (map[string]interface{}, bool)

func HandlePostCreate

func HandlePostCreate(db *database.Database, auth map[string]interface{})

func HandlePostList

func HandlePostList(db *database.Database, auth map[string]interface{})

func HandlePostRead

func HandlePostRead(db *database.Database, auth map[string]interface{})

func HandleToken

func HandleToken(db *database.Database)

func SendError

func SendError(err interface{})

func SendResponse

func SendResponse(resp Response)

Types

type Response

type Response map[string]interface{}

Jump to

Keyboard shortcuts

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