MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / saveListConfig

Method saveListConfig

modules/clibridge/admin_api.go:24–26  ·  view source on GitHub ↗
(lc listConfig)

Source from the content-addressed store, hash-verified

22}
23
24func (m *CLIBridgeModule) saveListConfig(lc listConfig) error {
25 return m.plug.WriteStruct(listConfigKey, lc)
26}
27
28// apiGetConfig handles GET /admin/api/v1/clibridge-config.
29func (m *CLIBridgeModule) apiGetConfig(r *http.Request) (int, bool, any) {

Callers 1

apiPatchConfigMethod · 0.95

Calls 1

WriteStructMethod · 0.80

Tested by

no test coverage detected