Documentation ¶
Overview ¶
Handler for logging in a user
Handler for logging out a user
Index ¶
- func LoginHandler(r *request.Request) (request.Response, error)
- func LogoutHandler(r *request.Request) (request.Response, error)
- func RegisterHandler(r *request.Request) (request.Response, error)
- func ViewHandler(r *request.Request) (request.Response, error)
- type ListParams
- type LoginParams
- type RegisterParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoginHandler ¶
LoginHandler handles login requests
func LogoutHandler ¶
LogoutHandler handles logout requests
Types ¶
type ListParams ¶
type ListParams struct { Submissions submissions.SubmissionList Problems models.ProblemMap Filtered bool Username string }
type LoginParams ¶
type LoginParams struct {
Error string
}
type RegisterParams ¶
type RegisterParams struct {
Error string
}
Click to show internal directories.
Click to hide internal directories.