Documentation
¶
Index ¶
Constants ¶
View Source
const ( IP_SPLIT = "." // IP_SPLIT use split the ip v4 address. IP_SPLIT_TAG = "-" // IP_SPLIT_TAG use to split the ip v4 interval IP_MASK_SPLIT_TAG = "/" // IP_MASK_SPLIT_TAG use to split subnet ip and mask bit MAX_MASK_BIT = 32 // MAX_MASK_BIT the maximum value of the mask bit )
Variables ¶
This section is empty.
Functions ¶
func GetMaskByMaskBit ¶
GetMaskByMaskBit Get the mask by the mask bit.
func GetMaskI64ByMaskBit ¶
GetMaskI64ByMaskBit Gets the subnet mask in integer form by mask bit.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.