Documentation ¶
Overview ¶
Package flash provides one-time messages for the user.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Error is a bootstrap class Error = "alert-danger" // Success is a bootstrap class Success = "alert-success" // Notice is a bootstrap class Notice = "alert-info" // Warning is a bootstrap class Warning = "alert-warning" // Standard is the default class Standard = "alert-box" )
Functions ¶
func SendFlashes ¶
func SendFlashes(w http.ResponseWriter, r *http.Request, sess Session)
SendFlashes allows retrieval of flash messages for using with Ajax.
Types ¶
type Info ¶
Info Flash Message
func PeekFlashes ¶
PeekFlashes returns the flashes without destroying them.
Click to show internal directories.
Click to hide internal directories.