Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConcurrencyLimiter ¶
ConcurrencyLimiter is an autogenerated mock type for the ConcurrencyLimiter type
func (*ConcurrencyLimiter) Acquire ¶
func (_m *ConcurrencyLimiter) Acquire() bool
Acquire provides a mock function with given fields:
func (*ConcurrencyLimiter) Release ¶
func (_m *ConcurrencyLimiter) Release()
Release provides a mock function with given fields:
func (*ConcurrencyLimiter) Status ¶
func (_m *ConcurrencyLimiter) Status() (int, int)
Status provides a mock function with given fields:
type LimitReporter ¶
LimitReporter is an autogenerated mock type for the LimitReporter type
func (*LimitReporter) ConnOverloadReport ¶
func (_m *LimitReporter) ConnOverloadReport()
ConnOverloadReport provides a mock function with given fields:
func (*LimitReporter) QPSOverloadReport ¶
func (_m *LimitReporter) QPSOverloadReport()
QPSOverloadReport provides a mock function with given fields:
type RateLimiter ¶
RateLimiter is an autogenerated mock type for the RateLimiter type
func (*RateLimiter) Acquire ¶
func (_m *RateLimiter) Acquire() bool
Acquire provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.