Lines Matching full:sessionkey
232 Get(sessionKey string) (session *ClientSessionState, ok bool)
235 Put(sessionKey string, cs *ClientSessionState)
1006 sessionKey string
1010 // Put adds the provided (sessionKey, cs) pair to the cache.
1011 func (c *lruSessionCache) Put(sessionKey string, cs interface{}) {
1015 if elem, ok := c.m[sessionKey]; ok {
1023 entry := &lruSessionCacheEntry{sessionKey, cs}
1024 c.m[sessionKey] = c.q.PushFront(entry)
1030 delete(c.m, entry.sessionKey)
1031 entry.sessionKey = sessionKey
1034 c.m[sessionKey] = elem
1039 func (c *lruSessionCache) Get(sessionKey string) (interface{}, bool) {
1043 if elem, ok := c.m[sessionKey]; ok {
1056 func (c *lruClientSessionCache) Put(sessionKey string, cs *ClientSessionState) {
1057 c.lruSessionCache.Put(sessionKey, cs)
1060 func (c *lruClientSessionCache) Get(sessionKey string) (*ClientSessionState, bool) {
1061 cs, ok := c.lruSessionCache.Get(sessionKey)