Documentation ¶ Index ¶ func Suggest() (port int, resolvedHost string, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Suggest ¶ func Suggest() (port int, resolvedHost string, err error) Suggest suggests an address a process can listen on. It returns a tuple consisting of a free port and the hostname resolved to its IP. It makes sure that new port allocated does not conflict with old ports allocated within 1 minute. Types ¶ This section is empty. Source Files ¶ View all Source files manager.go Click to show internal directories. Click to hide internal directories.