Cache used for storing serialized data in memory
| 7 | |
| 8 | // Cache used for storing serialized data in memory |
| 9 | type InMemoryCache struct { |
| 10 | elements map[string][]byte |
| 11 | sync.RWMutex |
| 12 | } |
| 13 | |
| 14 | func NewInMemoryCache() *InMemoryCache { |
| 15 | var c InMemoryCache |
nothing calls this directly
no outgoing calls
no test coverage detected