Versions in this module Expand all Collapse all v1 v1.0.0 Mar 25, 2022 Changes in this version + func Domain(domain string) optFunc + func Expiry(d time.Duration) optFunc + func HTTPOnly() optFunc + func Name(name string) optFunc + func Path(path string) optFunc + func Secure() optFunc + type CookieStore struct + func NewCookieStore(encKey []byte, opts ...optFunc) (*CookieStore, error) + func (c *CookieStore) Get(r *http.Request) []byte + func (c *CookieStore) Set(w http.ResponseWriter, data []byte) + type Store interface + Get func(*http.Request) []byte + Set func(http.ResponseWriter, []byte)