MCPcopy
hub / github.com/grafana/dskit / NewNoop

Function NewNoop

gate/gate.go:33–35  ·  view source on GitHub ↗

NewNoop creates a Gate implementation that doesn't enforce any limit.

()

Source from the content-addressed store, hash-verified

31
32// NewNoop creates a Gate implementation that doesn't enforce any limit.
33func NewNoop() Gate {
34 return noopGate{}
35}
36
37type noopGate struct{}
38

Callers 1

TestInstrumentedGateFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestInstrumentedGateFunction · 0.68