controllers

package
v0.0.0-...-6c0f672 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserController

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

func NewUserController

func NewUserController(session *mgo.Session) *UserController

func (UserController) AuthenticateUser

func (uc UserController) AuthenticateUser(res http.ResponseWriter, req *http.Request)

func (UserController) CreateUser

func (uc UserController) CreateUser(res http.ResponseWriter, req *http.Request)

func (UserController) DecodeToken

func (uc UserController) DecodeToken(res http.ResponseWriter, req *http.Request)

func (UserController) GetTokenHandler

func (uc UserController) GetTokenHandler(res http.ResponseWriter, r *http.Request)

func (UserController) GetUser

func (uc UserController) GetUser(res http.ResponseWriter, req *http.Request)

func (UserController) RemoveUser

func (uc UserController) RemoveUser(res http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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