Memory is the cache that stores everything in memory. It is safe for concurrent use.
| 14 | // Memory is the cache that stores everything in memory. It is safe for |
| 15 | // concurrent use. |
| 16 | type Memory struct { |
| 17 | values map[string]inMemoryValue |
| 18 | mx sync.RWMutex |
| 19 | } |
| 20 | |
| 21 | type inMemoryValue struct { |
| 22 | value []byte |
nothing calls this directly
no outgoing calls
no test coverage detected