MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / NewDefaultConfig

Function NewDefaultConfig

logger/syslog/config.go:35–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33}
34
35func NewDefaultConfig() Config {
36 return Config{
37 Enabled: false,
38 Level: slog.LevelInfo,
39 Tag: "imgproxy",
40 }
41}
42
43func LoadConfigFromEnv(c *Config) (*Config, error) {
44 c = ensure.Ensure(c, NewDefaultConfig)

Callers 1

NewDefaultConfigFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected