MCPcopy
hub / github.com/mattermost/mattermost / MemoryStore

Struct MemoryStore

server/config/memory.go:16–21  ·  view source on GitHub ↗

MemoryStore implements the Store interface. It is meant primarily for testing. Not to be used directly. Only to be used as a backing store for config.Store

Source from the content-addressed store, hash-verified

14// MemoryStore implements the Store interface. It is meant primarily for testing.
15// Not to be used directly. Only to be used as a backing store for config.Store
16type MemoryStore struct {
17 allowEnvironmentOverrides bool
18 validate bool
19 files map[string][]byte
20 savedConfig *model.Config
21}
22
23// MemoryStoreOptions makes configuration of the memory store explicit.
24type MemoryStoreOptions struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected