Documentation ¶
Overview ¶
sessions provide a way to store user information on their end (in a cookie) the content of the cookie is signed (but not encrypted), hence it can be assumed that it hasn't been altered
cookie session format. Each part is base64 encoded alg.payload.signature it's heavily inspired by JWT, but I was stupid enough to do something *slightly* different
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidSignature = errors.New("session cookie: payload signature didn't match")
View Source
var ErrNoSession = errors.New("no session cookie")
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.