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

Method Get

store.go:184–186  ·  view source on GitHub ↗

Get returns a session for the given name after adding it to the registry. See CookieStore.Get().

(r *http.Request, name string)

Source from the content-addressed store, hash-verified

182//
183// See CookieStore.Get().
184func (s *FilesystemStore) Get(r *http.Request, name string) (*Session, error) {
185 return GetRegistry(r).Get(s, name)
186}
187
188// New returns a session for the given name without adding it to the registry.
189//

Callers

nothing calls this directly

Calls 2

GetRegistryFunction · 0.85
GetMethod · 0.65

Tested by

no test coverage detected