requesthandler

package
v0.0.0-...-4674b8d Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2017 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleAddressDelete

func HandleAddressDelete(params address.DeleteAddressIDParams, principal interface{}) middleware.Responder

func HandleAddressGet

func HandleAddressGet(params address.GetAddressIDParams) middleware.Responder

func HandleAddressPost

func HandleAddressPost(params address.PostAddressParams) middleware.Responder

func HandleAddressPut

func HandleAddressPut(params address.PutAddressParams) middleware.Responder

func HandleAdvisorGet

func HandleAdvisorGet(params advisor.GetAdvisorIDParams) middleware.Responder

func HandleAdvisorListSchool

func HandleAdvisorListSchool(params advisor.GetAdvisorIDSchoolsParams, principal interface{}) middleware.Responder

func HandleAdvisorPost

func HandleAdvisorPost(params advisor.PostAdvisorParams) middleware.Responder

func HandleAdvisorPut

func HandleAdvisorPut(params advisor.PutAdvisorParams) middleware.Responder

func HandleAdvisorReadAll

func HandleAdvisorReadAll(params advisor.GetAdvisorParams) middleware.Responder

func HandleCORS

func HandleCORS(next http.Handler) http.Handler

func HandleGetTeamStudents

func HandleGetTeamStudents(params team.GetTeamIDStudentsParams, principal *models.Principal) middleware.Responder

func HandleLogin

func HandleLogin(params login.PostLoginParams, principal *models.Principal) middleware.Responder

func HandleLogout

func HandleLogout(params logout.PostLogoutParams, principal *models.Principal) middleware.Responder

func HandleProblemGet

func HandleProblemGet(params problem.GetProblemIDParams) middleware.Responder

func HandleProblemGetList

func HandleProblemGetList(params problem.GetProblemParams) middleware.Responder

func HandleProblemPost

func HandleProblemPost(params problem.PostProblemParams) middleware.Responder

func HandleProblemPut

func HandleProblemPut(params problem.PutProblemParams) middleware.Responder

func HandleSchoolDelete

func HandleSchoolDelete(params school.DeleteSchoolIDParams, principal *models.Principal) middleware.Responder

func HandleSchoolGet

func HandleSchoolGet(params school.GetSchoolIDParams, principal *models.Principal) middleware.Responder

func HandleSchoolGetList

func HandleSchoolGetList(params school.GetSchoolParams, principal *models.Principal) middleware.Responder

func HandleSchoolGetStudentList

func HandleSchoolGetStudentList(params school.GetSchoolIDStudentsParams, principal *models.Principal) middleware.Responder

func HandleSchoolGetTeamList

func HandleSchoolGetTeamList(params school.GetSchoolIDTeamsParams, principal *models.Principal) middleware.Responder

func HandleSchoolPost

func HandleSchoolPost(params school.PostSchoolParams, principal *models.Principal) middleware.Responder

func HandleSchoolPut

func HandleSchoolPut(params school.PutSchoolParams, principal *models.Principal) middleware.Responder

func HandleSolutionPost

func HandleSolutionPost(params solution.PostSolutionParams) middleware.Responder

func HandleSolutionPut

func HandleSolutionPut(params solution.PutSolutionParams) middleware.Responder

func HandleStudentDelete

func HandleStudentDelete(params student.DeleteStudentIDParams, principal interface{}) middleware.Responder

func HandleStudentGet

func HandleStudentGet(params student.GetStudentIDParams, principal interface{}) middleware.Responder

func HandleStudentPost

func HandleStudentPost(params student.PostStudentParams, principal interface{}) middleware.Responder

func HandleStudentPut

func HandleStudentPut(params student.PutStudentParams, principal interface{}) middleware.Responder

func HandleTeamDelete

func HandleTeamDelete(params team.DeleteTeamIDParams, principal *models.Principal) middleware.Responder

func HandleTeamGet

func HandleTeamGet(params team.GetTeamIDParams, principal *models.Principal) middleware.Responder

func HandleTeamPost

func HandleTeamPost(params team.PostTeamParams, principal *models.Principal) middleware.Responder

func HandleTeamPut

func HandleTeamPut(params team.PutTeamParams, principal *models.Principal) middleware.Responder

func HspcMiddlewares

func HspcMiddlewares(next http.Handler) http.Handler

* Call this function inside setupGlobalMiddleware in configure_hspc.go to setup CORS and RateLimit handling middlewares

return requesthandler.HspcMiddlewares(handler)

func Override_configure_hspc

func Override_configure_hspc(api *operations.HspcAPI)

* This function when called inside configureAPI() function in

configure_hspc.go will override all NotImplemented calls with actual
valid calls to handle the request.

Just add below line before return in configureAPI()

requesthandler.Override_configure_hspc(api)

func RateLimitMiddleware

func RateLimitMiddleware(next http.Handler) http.Handler

func SchoolAddAdvisor

* Add an Advisor to a School

func SchoolRemoveAdvisor

* Remove an Advisor to a School

Types

This section is empty.

Jump to

Keyboard shortcuts

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