Documentation
¶
Index ¶
- type Manager
- func (m Manager) DeleteCookie(w http.ResponseWriter, key string)
- func (m Manager) GetCookieValue(r *http.Request, key string) (string, error)
- func (m Manager) Read(key string, encodedValue string) (string, error)
- func (m Manager) SetCookie(w http.ResponseWriter, r *http.Request, key string, value string) error
- func (m Manager) Sign(key string, value string) (string, error)
- type ManagerOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(options ManagerOptions) (*Manager, error)
func (Manager) DeleteCookie ¶
func (m Manager) DeleteCookie(w http.ResponseWriter, key string)
func (Manager) GetCookieValue ¶
Click to show internal directories.
Click to hide internal directories.