Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RulesService ¶
type RulesService struct {
// contains filtered or unexported fields
}
func NewRuleService ¶
func NewRuleService(file string) (*RulesService, error)
func (*RulesService) GetRatelimitRule ¶
func (rs *RulesService) GetRatelimitRule(domain string, rateLimitDescriptor *rl.RateLimitDescriptor) (*limiter.Rule, error)
Click to show internal directories.
Click to hide internal directories.