Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemStore ¶
type MemStore struct { Codecs []securecookie.Codec Options *sessions.Options // default configuration // contains filtered or unexported fields }
MemStore stores sessions in memory
func NewMemStore ¶
NewMemStore returns a new MemStore.
func (*MemStore) Get ¶
Get returns a session for the given name after adding it to the registry.
See CookieStore.Get().
func (*MemStore) MaxLength ¶
MaxLength restricts the maximum length of new sessions to l. If l is 0 there is no limit to the size of a session, use with caution. The default for a new MemcacheStore is 4096.
Click to show internal directories.
Click to hide internal directories.