MCPcopy
hub / github.com/caddyserver/caddy / ProxyFromURL

Struct ProxyFromURL

modules/internal/network/networkproxy.go:21–26  ·  view source on GitHub ↗

The "url" proxy source uses the defined URL as the proxy

Source from the content-addressed store, hash-verified

19
20// The "url" proxy source uses the defined URL as the proxy
21type ProxyFromURL struct {
22 URL string `json:"url"`
23
24 ctx caddy.Context
25 logger *zap.Logger
26}
27
28// CaddyModule implements Module.
29func (p ProxyFromURL) CaddyModule() caddy.ModuleInfo {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected