Documentation ¶
Overview ¶
Package flash implements flash messages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flash ¶
type Flash struct {
// contains filtered or unexported fields
}
Flash is a collection of data that is discarded on read. It's designed to be compatible with sessions.Values.
func (*Flash) Clear ¶
func (f *Flash) Clear()
Clear removes all items from the flash. It's rare to call Clear since flashes are cleared automatically upon reading.
Click to show internal directories.
Click to hide internal directories.