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

Method Set

sessions/database.go:45–45  ·  view source on GitHub ↗

Set sets a key value of a specific session. The "immutable" input argument depends on the store, it may not implement it at all.

(sid string, key string, value interface{}, ttl time.Duration, immutable bool)

Source from the content-addressed store, hash-verified

43 // Set sets a key value of a specific session.
44 // The "immutable" input argument depends on the store, it may not implement it at all.
45 Set(sid string, key string, value interface{}, ttl time.Duration, immutable bool) error
46 // Get retrieves a session value based on the key.
47 Get(sid string, key string) interface{}
48 // Decode binds the "outPtr" to the value associated to the provided "key".

Callers 15

injectLiveReloadFunction · 0.65
DecodeMethod · 0.65
setMethod · 0.65
testSessionsFunction · 0.65
HandlerMethod · 0.65
HandlerMethod · 0.65
refreshFunction · 0.65
GetFieldsFunction · 0.65
SkipFunction · 0.65
setCurrentTriesMethod · 0.65
VerifyMethod · 0.65

Calls

no outgoing calls

Tested by 4

testSessionsFunction · 0.52
GetMethod · 0.52
sendJSONFunction · 0.52