Home | History | Annotate | Download | only in tls

Lines Matching full:sessionkey

209 	Get(sessionKey string) (session *ClientSessionState, ok bool)
212 Put(sessionKey string, cs *ClientSessionState)
608 sessionKey string
628 // Put adds the provided (sessionKey, cs) pair to the cache.
629 func (c *lruSessionCache) Put(sessionKey string, cs *ClientSessionState) {
633 if elem, ok := c.m[sessionKey]; ok {
641 entry := &lruSessionCacheEntry{sessionKey, cs}
642 c.m[sessionKey] = c.q.PushFront(entry)
648 delete(c.m, entry.sessionKey)
649 entry.sessionKey = sessionKey
652 c.m[sessionKey] = elem
657 func (c *lruSessionCache) Get(sessionKey string) (*ClientSessionState, bool) {
661 if elem, ok := c.m[sessionKey]; ok {