Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(w http.ResponseWriter, r *http.Request) string
Get obtains the value within the flash cookie, then clears the value to prevent it from being seen in the next response.
func Set ¶
func Set(w http.ResponseWriter, msg string)
Set inserts a cookie into the response that contains the flash message
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.