Storage is a users storage.
| 31 | |
| 32 | // Storage is a users storage. |
| 33 | type Storage struct { |
| 34 | back StorageBackend |
| 35 | updated map[uint]int64 |
| 36 | mux sync.RWMutex |
| 37 | } |
| 38 | |
| 39 | // NewStorage creates a users storage from a backend. |
| 40 | func NewStorage(back StorageBackend) *Storage { |
nothing calls this directly
no outgoing calls
no test coverage detected