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: 8 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 GetFilteredRsvps added in v0.3.0

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

Endpoint to get rsvps based on filters

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