controller

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2019 License: NCSA Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentQrCodeInfo

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

Endpoint to get the string to be embedded into the current user's QR code

func GetCurrentUserInfo

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

Endpoint to get the info for the current user

func GetFilteredUserInfo

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

Endpoint to get user info based on filters

func GetQrCodeInfo

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

Endpoint to get the string to be embedded into the specified user's QR code

func GetStats

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

Endpoint to get user stats

func GetUserInfo

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

Endpoint to get the info for a specified user

func SetUserInfo

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

Endpoint to set the info for a specified user

func SetupController

func SetupController(route *mux.Route)

Types

This section is empty.

Jump to

Keyboard shortcuts

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