Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyServerAddressList = errors.New("empty server address list specified")
ErrEmptyServerAddressList indicates there are no servers to get response from
Functions ¶
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool hands out ports for service use
func NewFixedRangePool ¶
NewFixedRangePool creates a fixed size pool from port.Range
type Range ¶
type Range struct {
Start, End int
}
Range represents a networking port range
func ParseRange ¶
ParseRange parses port range expression, e.g. "1000:1200" into Range struct
Click to show internal directories.
Click to hide internal directories.