Versions in this module Expand all Collapse all v0 v0.1.0 May 8, 2018 Changes in this version + func CheckRelayIP(sender, addr net.IP) error + func IsLAN(ip net.IP) bool + func IsSpecialNetwork(ip net.IP) bool + type DistinctNetSet struct + Limit uint + Subnet uint + func (s *DistinctNetSet) Add(ip net.IP) bool + func (s *DistinctNetSet) Remove(ip net.IP) + func (s DistinctNetSet) Contains(ip net.IP) bool + func (s DistinctNetSet) Len() uint + func (s DistinctNetSet) String() string + type Netlist []net.IPNet + func (l *Netlist) Add(cidr string) + func (l *Netlist) Contains(ip net.IP) bool