implements Storage interface
| 7 | |
| 8 | // implements Storage interface |
| 9 | type InMemoryStorage struct { |
| 10 | *InProcessWatcher |
| 11 | db map[string]*Device |
| 12 | } |
| 13 | |
| 14 | func NewMemoryStorage() *InMemoryStorage { |
| 15 | db := make(map[string]*Device) |
nothing calls this directly
no outgoing calls
no test coverage detected