MCPcopy Index your code
hub / github.com/kataras/iris / set

Method set

sessions/session.go:521–523  ·  view source on GitHub ↗
(key string, value interface{}, immutable bool)

Source from the content-addressed store, hash-verified

519}
520
521func (s *Session) set(key string, value interface{}, immutable bool) {
522 s.provider.db.Set(s.sid, key, value, s.Lifetime.DurationUntilExpiration(), immutable)
523}
524
525// Set fills the session with an entry "value", based on its "key".
526func (s *Session) Set(key string, value interface{}) {

Callers 9

SetMethod · 0.95
SetImmutableMethod · 0.95
storeValueMethod · 0.80
constructorMethod · 0.80
strPtrMethod · 0.80
lFunction · 0.80
_Function · 0.80
OFunction · 0.80
bundle.jsFile · 0.80

Calls 2

SetMethod · 0.65

Tested by

no test coverage detected