Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(copier ValuesCopier) sessions.Cache
New returns a memory-based implementation of sessions.Cache.
Types ¶
type ValuesCopier ¶
type ValuesCopier interface {
Copy(to *sessions.ValuesType, from sessions.ValuesType) error
}
ValuesCopier is used for copying values from session to cache during saving, and from cache back to session.
Click to show internal directories.
Click to hide internal directories.