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