handlers

package
v0.0.0-...-8a36715 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2016 License: Apache-2.0 Imports: 4 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)

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)

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)

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)

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)

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