Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
35
func
NewDefaultConfig() Config {
36
return
Config{
37
Enabled: false,
38
Level: slog.LevelInfo,
39
Tag:
"imgproxy"
,
40
}
41
}
42
43
func
LoadConfigFromEnv(c *Config) (*Config, error) {
44
c = ensure.Ensure(c, NewDefaultConfig)
Callers
1
NewDefaultConfig
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected