Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Blocker ¶
func Blocker() gin.HandlerFunc
Types ¶
type IPList ¶
type IPList struct {
// contains filtered or unexported fields
}
func New ¶
Create a new IP list. The given ranges must already sorted by the lower bound IP in each range. Behaviour is undefined for lists of overlapping ranges.
Click to show internal directories.
Click to hide internal directories.