Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRateLimitRequest ¶
func NewRateLimitRequest(domain string, descriptors [][][2]string, hitsAddend uint32) *pb.RateLimitRequest
func NewRateLimitRequestLegacy ¶ added in v1.1.0
func NewRateLimitRequestLegacy(domain string, descriptors [][][2]string, hitsAddend uint32) *pb_legacy.RateLimitRequest
Types ¶
type TestStatSink ¶ added in v1.4.0
func (*TestStatSink) Clear ¶ added in v1.4.0
func (s *TestStatSink) Clear()
func (*TestStatSink) FlushCounter ¶ added in v1.4.0
func (s *TestStatSink) FlushCounter(name string, value uint64)
func (*TestStatSink) FlushGauge ¶ added in v1.4.0
func (s *TestStatSink) FlushGauge(name string, value uint64)
func (*TestStatSink) FlushTimer ¶ added in v1.4.0
func (s *TestStatSink) FlushTimer(name string, value float64)
Click to show internal directories.
Click to hide internal directories.