MCPcopy Create free account
hub / github.com/SenseUnit/dumbproxy / Put

Method Put

tlsutil/ccache.go:216–223  ·  view source on GitHub ↗
(sessionKey string, cs *tls.ClientSessionState)

Source from the content-addressed store, hash-verified

214}
215
216func (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
225type bboltLogger struct {
226 l *clog.CondLogger

Callers 1

putMethod · 0.45

Calls 2

deleteMethod · 0.95
putMethod · 0.95

Tested by

no test coverage detected