Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleLimiter ¶
type SimpleLimiter interface {
Allow() bool
}
type SimpleLimiterAdapter ¶
type SimpleLimiterAdapter struct {
SimpleLimiter
}
func NewSimpleLimiterAdapter ¶
func NewSimpleLimiterAdapter(l SimpleLimiter) *SimpleLimiterAdapter
func (SimpleLimiterAdapter) Allow ¶
func (s SimpleLimiterAdapter) Allow() (bool, error)
Click to show internal directories.
Click to hide internal directories.