Documentation ¶
Overview ¶
Package cookies is responsible to read and write cookies based on a supplied configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppCookie ¶
type AppCookie struct {
Settings Settings
}
AppCookie is responsible for writing, reading cookies
func NewAppCookie ¶
NewAppCookie returns a new instance of type AppCookie
func (*AppCookie) Del ¶
func (a *AppCookie) Del(name string, w http.ResponseWriter)
Del removes the cookie by setting MaxAge to < 0
Click to show internal directories.
Click to hide internal directories.