MCPcopy
hub / github.com/cbeuw/Cloak / localManager

Struct localManager

internal/server/usermanager/localmanager.go:26–29  ·  view source on GitHub ↗

localManager is responsible for managing the local user database

Source from the content-addressed store, hash-verified

24
25// localManager is responsible for managing the local user database
26type localManager struct {
27 db *bolt.DB
28 world common.WorldState
29}
30
31func MakeLocalManager(dbPath string, worldState common.WorldState) (*localManager, error) {
32 db, err := bolt.Open(dbPath, 0600, nil)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected