caddy

package module
v0.0.0-...-9a0fc21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

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) Provision

func (p *ImageProxy) Provision(ctx caddy.Context) error

func (*ImageProxy) ServeHTTP

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL