handlers

package
v0.0.0-...-3664479 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BodyToUser

func BodyToUser(r *http.Request, user *user.User) error

BodyToUser reads request body and unmarshal to User

func RootHandler

func RootHandler(w http.ResponseWriter, r *http.Request)

RootHandler handles the root route

func UsersRouter

func UsersRouter(w http.ResponseWriter, r *http.Request)

UsersRouter handlers the users route

Types

This section is empty.

Jump to

Keyboard shortcuts

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