controller

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: NCSA Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCurrentUserRsvp

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

Endpoint to create the rsvp for the current user. On successful creation, sends the user a confirmation mail.

func GetCurrentUserRsvp

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

Endpoint to get the rsvp for the current user

func GetStats

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

Endpoint to get rsvp stats

func GetUserRsvp

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

Endpoint to get the rsvp for a specified user

func SetupController

func SetupController(route *mux.Route)

func UpdateCurrentUserRsvp

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

Endpoint to update the rsvp for the current user. On successful update, sends the user a confirmation mail.

Types

This section is empty.

Jump to

Keyboard shortcuts

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