Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToMphIndexMatcher ¶
func ToMphIndexMatcher(domainMatchings []*commongeo.Domain, opts ...strmatcher.MphIndexMatcherOption) (strmatcher.IndexMatcher, error)
func ToStrMatcher ¶
func ToStrMatcher(d *commongeo.Domain) (strmatcher.Matcher, error)
Types ¶
type IPMatcher ¶
type IPMatcher struct {
ReverseMatch bool //return the opposite result
// contains filtered or unexported fields
}
a geoIPMathcer corr to one country's IP
Click to show internal directories.
Click to hide internal directories.