MCPcopy
hub / github.com/sideshow/apns2 / initInternals

Method initInternals

client_manager.go:131–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129}
130
131func (m *ClientManager) initInternals() {
132 m.once.Do(func() {
133 m.cache = map[[sha1.Size]byte]*list.Element{}
134 m.ll = list.New()
135 })
136}
137
138func (m *ClientManager) removeOldest() {
139 m.mu.Lock()

Callers 3

NewClientManagerFunction · 0.95
AddMethod · 0.95
GetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected