MCPcopy
hub / github.com/gorilla/sessions / FilesystemStore

Struct FilesystemStore

store.go:164–168  ·  view source on GitHub ↗

FilesystemStore stores sessions in the filesystem. It also serves as a reference for custom stores. This store is still experimental and not well tested. Feedback is welcome.

Source from the content-addressed store, hash-verified

162//
163// This store is still experimental and not well tested. Feedback is welcome.
164type FilesystemStore struct {
165 Codecs []securecookie.Codec
166 Options *Options // default configuration
167 path string
168}
169
170// MaxLength restricts the maximum length of new sessions to l.
171// If l is 0 there is no limit to the size of a session, use with caution.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected