package
0.0.0-20181028200458-699b668acbbd
Repository: https://github.com/gernest/utron.git
Documentation: pkg.go.dev

# Functions

AddFlashToCtx takes flash messages stored in a cookie which is associated with the request found in ctx, and puts them inside the ctx object.
GetFlashes retieves all flash messages found in a cookie session associated with ctx.
New creates new flasher.

# Constants

FlashErr is a context key for flash error message.
FlashSuccess is the context key for success flash messages.
FlashWarn is a context key for warning flash messages.

# Structs

Flash implements flash messages, like ones in gorilla/sessions.
Flasher tracks flash messages.

# Type aliases

Flashes is a collection of flash messages.