MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / Set

Method Set

inventory/setting.go:25–25  ·  view source on GitHub ↗

Set sets a setting value to DB.

(ctx context.Context, settings map[string]string)

Source from the content-addressed store, hash-verified

23 Get(ctx context.Context, name string) (string, error)
24 // Set sets a setting value to DB.
25 Set(ctx context.Context, settings map[string]string) error
26 // Gets gets multiple setting values from DB, returns error if any setting cannot be found.
27 Gets(ctx context.Context, names []string) (map[string]string, error)
28 }

Callers 1

GetPolicyByIDMethod · 0.65

Implementers 3

RedisStorepkg/cache/redis.go
MemoStorepkg/cache/memo.go
settingClientinventory/setting.go

Calls

no outgoing calls

Tested by

no test coverage detected