Lines Matching refs:sessionKey
304 Get(sessionKey string) (session *ClientSessionState, ok bool)
307 Put(sessionKey string, cs *ClientSessionState)
1903 sessionKey string member
1908 func (c *lruSessionCache) Put(sessionKey string, cs interface{}) {
1912 if elem, ok := c.m[sessionKey]; ok {
1920 entry := &lruSessionCacheEntry{sessionKey, cs}
1921 c.m[sessionKey] = c.q.PushFront(entry)
1927 delete(c.m, entry.sessionKey)
1928 entry.sessionKey = sessionKey
1931 c.m[sessionKey] = elem
1936 func (c *lruSessionCache) Get(sessionKey string) (interface{}, bool) {
1940 if elem, ok := c.m[sessionKey]; ok {
1953 func (c *lruClientSessionCache) Put(sessionKey string, cs *ClientSessionState) {
1954 c.lruSessionCache.Put(sessionKey, cs)
1957 func (c *lruClientSessionCache) Get(sessionKey string) (*ClientSessionState, bool) {
1958 cs, ok := c.lruSessionCache.Get(sessionKey)