Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultRateLimit ¶
type DefaultRateLimit struct { Limit int // contains filtered or unexported fields }
func (*DefaultRateLimit) Init ¶
func (r *DefaultRateLimit) Init()
func (*DefaultRateLimit) Take ¶
func (r *DefaultRateLimit) Take() bool
type FakeRateLimit ¶
type FakeRateLimit struct { }
func (*FakeRateLimit) Init ¶
func (r *FakeRateLimit) Init()
func (*FakeRateLimit) Take ¶
func (r *FakeRateLimit) Take() bool
Click to show internal directories.
Click to hide internal directories.