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

Method TempKey

context/problem.go:102–104  ·  view source on GitHub ↗

TempKey sets a temporary key-value pair, which is being removed on the its first get.

(key string, value interface{})

Source from the content-addressed store, hash-verified

100// TempKey sets a temporary key-value pair, which is being removed
101// on the its first get.
102func (p Problem) TempKey(key string, value interface{}) Problem {
103 return p.Key(problemTempKeyPrefix+key, value)
104}
105
106// GetTempKey returns the temp value based on "key" and removes it.
107func (p Problem) GetTempKey(key string) interface{} {

Callers

nothing calls this directly

Calls 1

KeyMethod · 0.95

Tested by

no test coverage detected