MCPcopy
hub / github.com/cloudflare/cloudflared / Proxy

Struct Proxy

proxy/proxy.go:36–42  ·  view source on GitHub ↗

Proxy represents a means to Proxy between cloudflared and the origin services.

Source from the content-addressed store, hash-verified

34
35// Proxy represents a means to Proxy between cloudflared and the origin services.
36type Proxy struct {
37 ingressRules ingress.Ingress
38 originDialer ingress.OriginTCPDialer
39 tags []pogs.Tag
40 flowLimiter cfdflow.Limiter
41 log *zerolog.Logger
42}
43
44// NewOriginProxy returns a new instance of the Proxy struct.
45func NewOriginProxy(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected