package
Version:
v0.0.0-...-473e0bf
Opens a new window with list of versions in this module.
Published: Jun 10, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ConvertIP 将网络字节序的IP地址转换成人可识别的IP地址
ConvertToHex 将IP地址转换为十六进制数据
例如将 127.0.0.1 转换为 7F 00 00 01
GetFreePort 获取当前空闲的端口
##### Example
```go
port, err := GetFreePort()
```
Source Files
¶
Click to show internal directories.
Click to hide internal directories.