handlers

package
v0.0.0-...-b44a069 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2015 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrInvalidUsernamePw = "Invalid username or password supplied"
)

Variables

This section is empty.

Functions

func CreateAdminGroupDELETEHandler

func CreateAdminGroupDELETEHandler(
	e *env.Env,
	w http.ResponseWriter,
	r *http.Request,
	ps httprouter.Params) (http.Handler, int, error)

func CreateAdminGroupPOSTHandler

func CreateAdminGroupPOSTHandler(
	e *env.Env,
	w http.ResponseWriter,
	r *http.Request,
	ps httprouter.Params) (http.Handler, int, error)

func CreateAdminGroupPUTHandler

func CreateAdminGroupPUTHandler(
	e *env.Env,
	w http.ResponseWriter,
	r *http.Request,
	ps httprouter.Params) (http.Handler, int, error)

func CreateAdminGroupsGETHandler

func CreateAdminGroupsGETHandler(
	e *env.Env,
	w http.ResponseWriter,
	r *http.Request,
	ps httprouter.Params) (http.Handler, int, error)

func CreateAdminUserDELETEHandler

func CreateAdminUserDELETEHandler(
	e *env.Env,
	w http.ResponseWriter,
	r *http.Request,
	ps httprouter.Params) (http.Handler, int, error)

func CreateAdminUsersGETHandler

func CreateAdminUsersGETHandler(
	e *env.Env,
	w http.ResponseWriter,
	r *http.Request,
	ps httprouter.Params) (http.Handler, int, error)

func CreateAdminUsersPOSTHandler

func CreateAdminUsersPOSTHandler(
	e *env.Env,
	w http.ResponseWriter,
	r *http.Request,
	ps httprouter.Params) (http.Handler, int, error)

func CreateChangePasswordHandler

func CreateChangePasswordHandler(
	e *env.Env,
	w http.ResponseWriter,
	r *http.Request,
	ps httprouter.Params) (http.Handler, int, error)

func CreateLoginHandler

func CreateLoginHandler(
	e *env.Env,
	w http.ResponseWriter,
	r *http.Request,
	ps httprouter.Params) (http.Handler, int, error)

func CreateLogoutHandler

func CreateLogoutHandler(
	e *env.Env,
	w http.ResponseWriter,
	r *http.Request,
	ps httprouter.Params) (http.Handler, int, error)

Types

type ExpenseGetHandler

type ExpenseGetHandler struct {
	Um *auth.UserManager
	M  *models.Manager
	// contains filtered or unexported fields
}

type HandlerVars

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

Jump to

Keyboard shortcuts

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