MCPcopy
hub / github.com/Place1/wg-access-server / InMemoryStorage

Struct InMemoryStorage

internal/storage/inmemory.go:9–12  ·  view source on GitHub ↗

implements Storage interface

Source from the content-addressed store, hash-verified

7
8// implements Storage interface
9type InMemoryStorage struct {
10 *InProcessWatcher
11 db map[string]*Device
12}
13
14func NewMemoryStorage() *InMemoryStorage {
15 db := make(map[string]*Device)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected