(sessionKey string, cs *tls.ClientSessionState)
| 214 | } |
| 215 | |
| 216 | func (cache *PersistentClientSessionCache) Put(sessionKey string, cs *tls.ClientSessionState) { |
| 217 | if cs == nil { |
| 218 | cache.delete(sessionKey) |
| 219 | return |
| 220 | } else { |
| 221 | cache.put(sessionKey, cs) |
| 222 | } |
| 223 | } |
| 224 | |
| 225 | type bboltLogger struct { |
| 226 | l *clog.CondLogger |