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" )
Functions ¶
func SendFlashes ¶
func SendFlashes(w http.ResponseWriter, r *http.Request)
SendFlashes allows retrieval of flash messages for using with Ajax.
Types ¶
Click to show internal directories.
Click to hide internal directories.