Documentation ¶
Overview ¶
Package caddy provides ImageProxy as a Caddy module.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageProxy ¶
type ImageProxy struct { Cache string `json:"cache,omitempty"` DefaultBaseURL string `json:"default_base_url,omitempty"` AllowHosts []string `json:"allow_hosts,omitempty"` DenyHosts []string `json:"deny_hosts,omitempty"` Referrers []string `json:"referrers,omitempty"` ContentTypes []string `json:"content_types,omitempty"` SignatureKeys []string `json:"signature_keys,omitempty"` Verbose bool `json:"verbose,omitempty"` // contains filtered or unexported fields }
func (ImageProxy) CaddyModule ¶
func (ImageProxy) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*ImageProxy) ServeHTTP ¶
func (p *ImageProxy) ServeHTTP(w http.ResponseWriter, r *http.Request, _ caddyhttp.Handler) error
Click to show internal directories.
Click to hide internal directories.