Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Healthcheck ¶
func Healthcheck(w http.ResponseWriter, r *http.Request)
func NewHandler ¶
func NewHandler(application *warden.Application) http.Handler
Types ¶
type ConfirmUserRequest ¶
type ConfirmUserRequest struct {
Passcode string `json:"passcode"`
}
type CreateUserRequest ¶
type ErrorResponse ¶
func ApplicationError ¶
func ApplicationError(message string) *ErrorResponse
func BadRequestError ¶
func BadRequestError(message string) *ErrorResponse
func MethodNotAllowedError ¶
func MethodNotAllowedError() *ErrorResponse
func NotFoundError ¶
func NotFoundError() *ErrorResponse
func UnauthorizedError ¶
func UnauthorizedError(message string) *ErrorResponse
func (*ErrorResponse) Render ¶
func (e *ErrorResponse) Render(w http.ResponseWriter, r *http.Request) error
type GetProfileResponse ¶
Click to show internal directories.
Click to hide internal directories.