Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProxyFromNone ¶
type ProxyFromNone struct{}
The "none" proxy source module disables the use of network proxy.
func (ProxyFromNone) CaddyModule ¶
func (p ProxyFromNone) CaddyModule() caddy.ModuleInfo
func (ProxyFromNone) UnmarshalCaddyfile ¶
func (p ProxyFromNone) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
type ProxyFromURL ¶
type ProxyFromURL struct {
URL string `json:"url"`
// contains filtered or unexported fields
}
The "url" proxy source uses the defined URL as the proxy
func (ProxyFromURL) CaddyModule ¶
func (p ProxyFromURL) CaddyModule() caddy.ModuleInfo
CaddyModule implements Module.
func (*ProxyFromURL) UnmarshalCaddyfile ¶
func (p *ProxyFromURL) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
func (ProxyFromURL) Validate ¶
func (p ProxyFromURL) Validate() error
Validate implements Validator.
Click to show internal directories.
Click to hide internal directories.