MCPcopy Create free account
hub / github.com/kataras/iris / Decode

Method Decode

sessions/session.go:67–69  ·  view source on GitHub ↗

Decode binds the given "outPtr" to the value associated to the provided "key".

(key string, outPtr interface{})

Source from the content-addressed store, hash-verified

65
66// Decode binds the given "outPtr" to the value associated to the provided "key".
67func (s *Session) Decode(key string, outPtr interface{}) error {
68 return s.provider.db.Decode(s.sid, key, outPtr)
69}
70
71// when running on the session manager removes any 'old' flash messages.
72func (s *Session) runFlashGC() {

Callers

nothing calls this directly

Calls 1

DecodeMethod · 0.65

Tested by

no test coverage detected