controllers

package
v0.0.0-...-4206a4c Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2015 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth() echo.HandlerFunc

func CORSMiddleware

func CORSMiddleware() echo.MiddlewareFunc

func CreateAccount

func CreateAccount(c *echo.Context) error

func HealthCheck

func HealthCheck(c *echo.Context) error

func Index

func Index(c *echo.Context) error

func LogStateMiddleware

func LogStateMiddleware() echo.MiddlewareFunc

func Login

func Login(c *echo.Context) error

func Logout

func Logout(c *echo.Context) error

func MongoMiddleware

func MongoMiddleware(session *mgo.Session) echo.MiddlewareFunc

Types

type Response

type Response struct {
	Success bool `json:"success"`
	Payload interface{}
}

Jump to

Keyboard shortcuts

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