handlers

package
v0.0.0-...-b3f521c Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UserCreate

func UserCreate(ctx context.Context, w http.ResponseWriter, r *http.Request, params map[string]string) error

UserCreate inserts a new user into the system. 200 OK, 400 Bad Request, 500 Internal

func UserDelete

func UserDelete(ctx context.Context, w http.ResponseWriter, r *http.Request, params map[string]string) error

UserDelete removed the specified user from the system. 200 Success, 400 Bad Request, 500 Internal

func UserList

func UserList(ctx context.Context, w http.ResponseWriter, r *http.Request, params map[string]string) error

UserList returns all the existing users in the system. 200 Success, 404 Not Found, 500 Internal

func UserRetrieve

func UserRetrieve(ctx context.Context, w http.ResponseWriter, r *http.Request, params map[string]string) error

UserRetrieve returns the specified user from the system. 200 Success, 400 Bad Request, 404 Not Found, 500 Internal

func UserUpdate

func UserUpdate(ctx context.Context, w http.ResponseWriter, r *http.Request, params map[string]string) error

UserUpdate updates the specified user in the system. 200 Success, 400 Bad Request, 500 Internal

Types

This section is empty.

Jump to

Keyboard shortcuts

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