Documentation ¶
Index ¶
Constants ¶
View Source
const ( HeaderId = "X-Gospell-Id" FlashCookie = "gospell-flash" SessionCookie = "gospell-session" CSRFToken = "csrf_token" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { Flash Flash Session Session ViewData map[string]interface{} // contains filtered or unexported fields }
func NewContext ¶
func NewContext(w http.ResponseWriter, r *http.Request, options ContextOptions) *Context
type ContextOptions ¶
type ContextOptions struct {
// contains filtered or unexported fields
}
type CookiesOptions ¶
type Engine ¶
type Engine struct { Cookies CookiesOptions EnableCSRFToken bool // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.