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

Struct flowLimiter

flow/limiter.go:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26type flowLimiter struct {
27 limiterLock sync.Mutex
28 activeFlowsCounter uint64
29 maxActiveFlows uint64
30 unlimited bool
31}
32
33func NewLimiter(maxActiveFlows uint64) Limiter {
34 flowLimiter := &flowLimiter{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected