Documentation ¶
Overview ¶
Package portassigner implements a thread safe port assigner in a predefined range
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortAssigner ¶
PortAssigner is the port assigner service. As soon as it's instantiated with New can be used but as soon as it's closed you can no longer call its methods.
func New ¶
func New(minPASVPort, maxPASVPort int) PortAssigner
New creates a new portassigner with a specified port range
Click to show internal directories.
Click to hide internal directories.