Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultFrequency = 1 * time.Minute
DefaultFrequency of the rate limiter
Variables ¶
This section is empty.
Functions ¶
func NewBanHanlder ¶ added in v1.1.0
NewBanHanlder creates banhandler
func NewRateLimiter ¶
NewRateLimiter with defined pattern
Types ¶
type DomainValidator ¶ added in v1.1.0
DomainValidator for the web server
type FormHandler ¶
type FormHandler interface { GET(string, *http.Request) (string, error) POST(string, string, *http.Request) (string, error) }
FormHandler for web server
Click to show internal directories.
Click to hide internal directories.