Versions in this module Expand all Collapse all v0 v0.14.0 Jul 27, 2021 Changes in this version + type Cipher interface + Decrypt func(ciphertext []byte) ([]byte, error) + Encrypt func(plaintext []byte) ([]byte, error) + type CookieMan struct + func New(cipher Cipher, defaultOpt CookieOption) *CookieMan + func (c *CookieMan) Clear(w http.ResponseWriter, name string) + func (c *CookieMan) Get(r *http.Request, name string) ([]byte, error) + func (c *CookieMan) NewCookieStore(name string, opt *CookieOption) *CookieStore + func (c *CookieMan) Set(w http.ResponseWriter, name string, value []byte, opt *CookieOption) error + type CookieOption struct + type CookieStore struct + func (cs *CookieStore) Clear(w http.ResponseWriter) + func (cs *CookieStore) Get(r *http.Request) ([]byte, error) + func (cs *CookieStore) Name() string + func (cs *CookieStore) Set(w http.ResponseWriter, value []byte) error