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

Function NewDefaultStaticConfig

auximageprovider/static_config.go:26–32  ·  view source on GitHub ↗

NewDefaultStaticConfig creates a new default configuration for the auxiliary image provider

()

Source from the content-addressed store, hash-verified

24
25// NewDefaultStaticConfig creates a new default configuration for the auxiliary image provider
26func NewDefaultStaticConfig() StaticConfig {
27 return StaticConfig{
28 Base64Data: "",
29 Path: "",
30 URL: "",
31 }
32}
33
34// LoadWatermarkStaticConfigFromEnv loads the watermark configuration from the environment
35func LoadWatermarkStaticConfigFromEnv(c *StaticConfig) (*StaticConfig, error) {

Callers 1

NewDefaultConfigFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected