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

Function NewDefaultConfig

clientfeatures/config.go:33–35  ·  view source on GitHub ↗

NewDefaultConfig returns a new Config instance with default values.

()

Source from the content-addressed store, hash-verified

31
32// NewDefaultConfig returns a new Config instance with default values.
33func NewDefaultConfig() Config {
34 return Config{} // All features disabled by default
35}
36
37// LoadConfigFromEnv overrides configuration variables from environment
38func LoadConfigFromEnv(c *Config) (*Config, error) {

Callers 1

NewDefaultConfigFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected