Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MappedRateLimiter ¶
type MappedRateLimiter struct {
// contains filtered or unexported fields
}
func NewMappedRateLimiter ¶
func NewMappedRateLimiter(c *config.RateLimitConfig) (*MappedRateLimiter, error)
func (*MappedRateLimiter) RateLimit ¶
func (m *MappedRateLimiter) RateLimit(subscriber mangos.Socket, publisher mangos.Socket)
type RateLimiter ¶
type RateLimiter interface {
RateLimit(subscriber mangos.Socket, publisher mangos.Socket)
}
Click to show internal directories.
Click to hide internal directories.