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

Method Release

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

Release releases a slot for a flow.

()

Source from the content-addressed store, hash-verified

19 Acquire(flowType string) error
20 // Release releases a slot for a flow.
21 Release()
22 // SetLimit allows to hot swap the limit value of the limiter.
23 SetLimit(uint64)
24}

Callers 8

TestFlowLimiter_SetLimitFunction · 0.95
RegisterUdpSessionMethod · 0.65
UnregisterSessionMethod · 0.65
ProxyTCPMethod · 0.65
TestConnectionsFunction · 0.65

Implementers 3

flowLimiterflow/limiter.go
MockLimitermocks/mock_limiter.go
MockLimiterMockRecordermocks/mock_limiter.go

Calls

no outgoing calls