Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NotFoundErrorHandler = func(w http.ResponseWriter, message string) { writeError(w, message, http.StatusNotFound) } RequestErrorHandler = func(w http.ResponseWriter, err error) { writeError(w, err.Error(), http.StatusBadRequest) } InternalErrorHandler = func(w http.ResponseWriter) { writeError(w, "An unexpected error occurred.", http.StatusInternalServerError) } )
Functions ¶
This section is empty.
Types ¶
type DeleteAccountParams ¶
type DeleteAccountParams struct {
Username int
}
type GetAccountParams ¶
type GetAccountParams struct {
Username string
}
type GetAccountResponse ¶
type LoginParams ¶
type LoginParams struct {
Username string
}
type LoginResponse ¶
type LogoutParams ¶
type LogoutParams struct {
Username string
}
type UpdateAccountBody ¶
type UpdateAccountParams ¶
type UpdateAccountResponse ¶
Click to show internal directories.
Click to hide internal directories.