Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IpNetToString ¶ added in v0.0.4
IpNetToString 将网段对象格式的IP转换为String
func IpRangeToIpNet ¶ added in v0.0.4
func StrToIpNet ¶ added in v0.0.4
StrToIpNet 将String格式的IP转换为网段对象
Types ¶
type IRange ¶
func IpNetToIRange ¶ added in v0.0.4
type IpNetWrapper ¶
func (IpNetWrapper) String ¶
func (r IpNetWrapper) String() string
func (IpNetWrapper) ToIpNets ¶
func (r IpNetWrapper) ToIpNets() []*net.IPNet
func (IpNetWrapper) ToRange ¶
func (r IpNetWrapper) ToRange() *Range
type Range ¶
func IpNetToRange ¶ added in v0.0.4
Click to show internal directories.
Click to hide internal directories.