github.com/caddyserver/caddy/v2/modules/internal/network
No package summary is available.
Package
Files: 1. Third party imports: 1. Imports from organisation: 0. Tests: 0. Benchmarks: 0.
Vars
Types
ProxyFromNone
The "none" proxy source module disables the use of network proxy.
ProxyFromURL
The "url" proxy source uses the defined URL as the proxy
Field name | Field type | Comment |
---|---|---|
URL |
|
No comment on field. |
ctx |
|
No comment on field. |
logger |
|
No comment on field. |
Functions
func (*ProxyFromURL) Provision
func (*ProxyFromURL) UnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
func (ProxyFromNone) CaddyModule
func (ProxyFromNone) ProxyFunc
ProxyFunc implements ProxyFuncProducer.
func (ProxyFromNone) UnmarshalCaddyfile
UnmarshalCaddyfile implements caddyfile.Unmarshaler.
func (ProxyFromURL) CaddyModule
CaddyModule implements Module.
func (ProxyFromURL) ProxyFunc
ProxyFunc implements ProxyFuncProducer.
Uses: errors.New, http.Request, strings.Contains, strings.Split, url.Parse, url.URL, zap.String.func (ProxyFromURL) Validate
Validate implements Validator.
Uses: url.Parse.