Documentation
¶
Index ¶
Constants ¶
View Source
const SessionKeyUserID = "nekobox:auth:user-id"
Variables ¶
This section is empty.
Functions ¶
func Toggle ¶
func Toggle(options *ToggleOptions) flamego.Handler
Types ¶
type Context ¶
Context represents context of a request.
func (*Context) ServerError ¶
ServerError sends a 500 Internal Server Error response.
type ToggleOptions ¶
Click to show internal directories.
Click to hide internal directories.