Documentation ¶
Overview ¶
A straightforward way to keep session data in a cookie. No tricks, just simple calls.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cryptor ¶
type Cryptor struct { SecretKey []byte CookieName string MakeCookieFunc MakeCookieFunc // Make cookie with the specified value }
func NewSimpleCryptor ¶
type ErrChecksumFailed ¶
type ErrChecksumFailed string
func (ErrChecksumFailed) Error ¶
func (e ErrChecksumFailed) Error() string
type MakeCookieFunc ¶
makes an empty cookie, no value
Click to show internal directories.
Click to hide internal directories.