Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNextCIDR ¶
GetNextCIDR 获取下一个网段 172.168.0.0/24 ->172.168.1.0/24
Types ¶
type Range ¶
type Range struct {
// contains filtered or unexported fields
}
func NewRangeWithBlockSize ¶
NewRangeWithBlockSize 创建Range 通过设置总位数 ipv4 32 ipv6 64
func (*Range) StringPrefix ¶
func (*Range) StringSuffix ¶
Click to show internal directories.
Click to hide internal directories.