Documentation
¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Matcher ¶
type Matcher struct {
// contains filtered or unexported fields
}
Matcher provides fast IPv4 address matching
func NewMatcher ¶
NewMatcher creates a Matcher with the ip ranges. IP range expression should be one of following formats:
- CIDR(ex. "10.0.0.0/8")
- raw IP(ex. "127.0.0.1")
- IP range(ex. "192.168.1.1 - 192.168.1.100")
Click to show internal directories.
Click to hide internal directories.