Session

Constants

const (
    SESSION_ID_KEY = "_ID"
    TS_KEY         = "_TS"
)

func SessionFilter

func SessionFilter(c *Controller, fc []Filter)

type Session

type Session map[string]string

A signed cookie (and thus limited to 4kb in size). Restriction: Keys may not have a colon in them.

func (Session) Id

func (s Session) Id() string

Return a UUID identifying this session.