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 CreateUserCheckin

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

Endpoint to set the specified user's checkin

func GetAllCheckedInUsers

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

Endpoint to get all checked in user IDs

func GetCurrentUserCheckin

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

Endpoint to get the current user's checkin

func GetStats

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

Endpoint to get checkin stats

func GetUserCheckin

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

Endpoint to get a specified user's checkin

func SetupController

func SetupController(route *mux.Route)

func UpdateUserCheckin

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

Endpoint to update the specified user's checkin

Types

This section is empty.

Jump to

Keyboard shortcuts

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