Documentation ¶
Index ¶
- func CreateCurrentMentorRegistration(w http.ResponseWriter, r *http.Request)
- func CreateCurrentUserRegistration(w http.ResponseWriter, r *http.Request)
- func GetAllCurrentRegistrations(w http.ResponseWriter, r *http.Request)
- func GetAllRegistrations(w http.ResponseWriter, r *http.Request)
- func GetCurrentMentorRegistration(w http.ResponseWriter, r *http.Request)
- func GetCurrentUserRegistration(w http.ResponseWriter, r *http.Request)
- func GetFilteredUserRegistrations(w http.ResponseWriter, r *http.Request)
- func GetMentorRegistration(w http.ResponseWriter, r *http.Request)
- func GetStats(w http.ResponseWriter, r *http.Request)
- func GetUserRegistration(w http.ResponseWriter, r *http.Request)
- func SetupController(route *mux.Route)
- func UpdateCurrentMentorRegistration(w http.ResponseWriter, r *http.Request)
- func UpdateCurrentUserRegistration(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCurrentMentorRegistration ¶
func CreateCurrentMentorRegistration(w http.ResponseWriter, r *http.Request)
Endpoint to create the registration for the current mentor
func CreateCurrentUserRegistration ¶
func CreateCurrentUserRegistration(w http.ResponseWriter, r *http.Request)
Endpoint to create the registration for the current user. On successful creation, adds user to a "registered" mailing list, and sends the user a confirmation mail.
func GetAllCurrentRegistrations ¶
func GetAllCurrentRegistrations(w http.ResponseWriter, r *http.Request)
Endpoint to get all registrations (attendee, mentor) for the current user. If registrations could not be found for either attendee or mentor, that field is set to nil/null.
func GetAllRegistrations ¶
func GetAllRegistrations(w http.ResponseWriter, r *http.Request)
Endpoint to get all registrations (attendee, mentor) for the specified user. If registrations could not be found for either attendee or mentor, that field is set to nil.
func GetCurrentMentorRegistration ¶
func GetCurrentMentorRegistration(w http.ResponseWriter, r *http.Request)
Endpoint to get the registration for the current mentor
func GetCurrentUserRegistration ¶
func GetCurrentUserRegistration(w http.ResponseWriter, r *http.Request)
Endpoint to get the registration for the current user
func GetFilteredUserRegistrations ¶
func GetFilteredUserRegistrations(w http.ResponseWriter, r *http.Request)
Endpoint to get registrations based on filters
func GetMentorRegistration ¶
func GetMentorRegistration(w http.ResponseWriter, r *http.Request)
Endpoint to get the registration for a specified mentor
func GetStats ¶
func GetStats(w http.ResponseWriter, r *http.Request)
Endpoint to get registration stats
func GetUserRegistration ¶
func GetUserRegistration(w http.ResponseWriter, r *http.Request)
Endpoint to get the registration for a specified user
func SetupController ¶
func UpdateCurrentMentorRegistration ¶
func UpdateCurrentMentorRegistration(w http.ResponseWriter, r *http.Request)
Endpoint to update the registration for the current mentor
func UpdateCurrentUserRegistration ¶
func UpdateCurrentUserRegistration(w http.ResponseWriter, r *http.Request)
Endpoint to update the registration for the current user. On successful update, sends the user a confirmation mail.
Types ¶
This section is empty.