Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
Get gets flash messages of a given type from the session storage. Errors will be logged and not returned.
Types ¶
type Type ¶
type Type string
Type is a message type
const ( // TypeSuccess represents a success message type TypeSuccess Type = "success" // TypeInfo represents a info message type TypeInfo Type = "info" // TypeWarning represents a warning message type TypeWarning Type = "warning" // TypeDanger represents a danger message type TypeDanger Type = "error" )
Click to show internal directories.
Click to hide internal directories.