Versions in this module Expand all Collapse all v0 v0.8.698 Aug 29, 2017 v0.7.551 Jul 26, 2017 Changes in this version + func ContainsPort(portRanges [][2]int64, port int64) bool + func GetAuthKey(token string, timestamp int64) (key string) + func GetPortRanges(rangeStr string) (portRanges [][2]int64, err error) + func IsPortValid(port int) bool + func IsTCPPortAvailable(port int) bool + func PortRangesCut(portRanges [][2]int64, port int64) [][2]int64 + func RandId() (id string, err error) + func RandIdWithLen(idLen int) (id string, err error) + func RandomTCPPort() int