Documentation ¶
Index ¶
- Constants
- type Manager
- func (m Manager) Delete(w http.ResponseWriter, cookie *http.Cookie)
- func (m Manager) Get(r *http.Request, key string) (string, error)
- func (m Manager) Read(signedValue string) (string, error)
- func (m Manager) Set(w http.ResponseWriter, r *http.Request, cookie *http.Cookie) error
- func (m Manager) Sign(rawValue string) (string, error)
- type Secrets
Constants ¶
View Source
const (
SecretSize = 32 // SecretSize is the size, in bytes, of a cookie secret.
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.