MCPcopy Create free account
hub / github.com/1buran/rHttp / loadDefaultSettings

Function loadDefaultSettings

config.go:74–76  ·  view source on GitHub ↗

Load default settings.

(c *Config)

Source from the content-addressed store, hash-verified

72
73// Load default settings.
74func loadDefaultSettings(c *Config) error {
75 return json.Unmarshal(defaultConfig, c)
76}
77
78// Load user settings.
79// todo make it is more robust, do not silent errors from the one side and

Callers 1

ReadConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected