Documentation ¶
Index ¶
- func AddEventFavorite(w http.ResponseWriter, r *http.Request)
- func CreateEvent(w http.ResponseWriter, r *http.Request)
- func DeleteEvent(w http.ResponseWriter, r *http.Request)
- func GetAllEvents(w http.ResponseWriter, r *http.Request)
- func GetEvent(w http.ResponseWriter, r *http.Request)
- func GetEventFavorites(w http.ResponseWriter, r *http.Request)
- func GetEventTrackingInfo(w http.ResponseWriter, r *http.Request)
- func GetStats(w http.ResponseWriter, r *http.Request)
- func GetUserTrackingInfo(w http.ResponseWriter, r *http.Request)
- func MarkUserAsAttendingEvent(w http.ResponseWriter, r *http.Request)
- func RemoveEventFavorite(w http.ResponseWriter, r *http.Request)
- func SetupController(route *mux.Route)
- func UpdateEvent(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddEventFavorite ¶
func AddEventFavorite(w http.ResponseWriter, r *http.Request)
Endpoint to add an event favorite for the current user
func CreateEvent ¶
func CreateEvent(w http.ResponseWriter, r *http.Request)
Endpoint to create an event
func DeleteEvent ¶
func DeleteEvent(w http.ResponseWriter, r *http.Request)
Endpoint to delete an event with the specified name. It removes the event from the event trackers, and every user's tracker. On successful deletion, it returns the event that was deleted.
func GetAllEvents ¶
func GetAllEvents(w http.ResponseWriter, r *http.Request)
Endpoint to get all events
func GetEvent ¶
func GetEvent(w http.ResponseWriter, r *http.Request)
Endpoint to get the event with the specified name
func GetEventFavorites ¶
func GetEventFavorites(w http.ResponseWriter, r *http.Request)
Endpoint to get the current user's event favorites
func GetEventTrackingInfo ¶
func GetEventTrackingInfo(w http.ResponseWriter, r *http.Request)
Endpoint to get tracking info by event
func GetUserTrackingInfo ¶
func GetUserTrackingInfo(w http.ResponseWriter, r *http.Request)
Endpoint to get tracking info by user
func MarkUserAsAttendingEvent ¶
func MarkUserAsAttendingEvent(w http.ResponseWriter, r *http.Request)
Mark a user as attending an event
func RemoveEventFavorite ¶
func RemoveEventFavorite(w http.ResponseWriter, r *http.Request)
Endpoint to remove an event favorite for the current user
func SetupController ¶
func UpdateEvent ¶
func UpdateEvent(w http.ResponseWriter, r *http.Request)
Endpoint to update an event
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.