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

Method Get

internal/storage/contracts.go:16–16  ·  view source on GitHub ↗
(owner string, name string)

Source from the content-addressed store, hash-verified

14 Save(device *Device) error
15 List(owner string) ([]*Device, error)
16 Get(owner string, name string) (*Device, error)
17 GetByPublicKey(publicKey string) (*Device, error)
18 Delete(device *Device) error
19 Close() error

Callers 6

GetSessionFunction · 0.65
SetSessionFunction · 0.65
ClearSessionFunction · 0.65
LookupMethod · 0.65
DeleteDeviceMethod · 0.65
detectDNSUpstreamFunction · 0.65

Implementers 2

SQLStorageinternal/storage/sql.go
InMemoryStorageinternal/storage/inmemory.go

Calls

no outgoing calls

Tested by

no test coverage detected