Versions in this module Expand all Collapse all v0 v0.2.1 Oct 7, 2014 Changes in this version + var ErrMalformedCookie = errors.New("malformed cookie") + var ErrWrongSignature = errors.New("wrong cookie signature") + var MinLength = base64.URLEncoding.EncodedLen(decodedMinLength) + func Login(cookie string, secret []byte) string + func New(login string, expires time.Time, secret []byte) string + func NewSinceNow(login string, dur time.Duration, secret []byte) string + func Parse(cookie string, secret []byte) (login string, expires time.Time, err error)