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