Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientLimiter ¶
type ClientLimiter struct {
// contains filtered or unexported fields
}
func NewClientLimiter ¶
func NewClientLimiter(opts ClientLimiterOpts) *ClientLimiter
Creates a ClientLimiter. Note: Call ClientLimiter.Close() to stop its gc goroutine.
func (*ClientLimiter) Close ¶
func (cl *ClientLimiter) Close() error
Stop gc goroutine. Do not use this limiter once it was closed. Always return nil.
Click to show internal directories.
Click to hide internal directories.