Versions in this module Expand all Collapse all v0 v0.1.1 Aug 6, 2017 v0.1.0 Jun 10, 2017 Changes in this version + type CookieStore struct + func New(keyset *Keyset, oldKeysets ...*Keyset) *CookieStore + func (c *CookieStore) Delete(token string) error + func (c *CookieStore) Find(token string) (b []byte, exists bool, error error) + func (c *CookieStore) MakeToken(b []byte, expiry time.Time) (token string, err error) + func (c *CookieStore) Save(token string, b []byte, expiry time.Time) error + type Keyset struct + func NewKeyset(hmacKey, blockKey []byte) (*Keyset, error) + func NewUnencryptedKeyset(hmacKey []byte) (*Keyset, error)