ab35df454d
Removed pre-go1.17 build-tags with go fix; go mod init go fix -mod=readonly ./... rm go.mod Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
12 lines
333 B
Go
12 lines
333 B
Go
//go:build !windows
|
|
|
|
package portallocator
|
|
|
|
const (
|
|
// defaultPortRangeStart indicates the first port in port range
|
|
defaultPortRangeStart = 49153
|
|
// defaultPortRangeEnd indicates the last port in port range
|
|
// consistent with default /proc/sys/net/ipv4/ip_local_port_range
|
|
// upper bound on linux
|
|
defaultPortRangeEnd = 65535
|
|
)
|