Documentation
¶
Index ¶
- Constants
- func GenServerName(prefix string) string
- func Join(l io.ReadWriteCloser, r io.ReadWriteCloser) error
- func LocalAddrs() ([]netip.Addr, error)
- func NextBackoff(d time.Duration) time.Duration
- func NextBackoffCustom(d, jmin, jmax time.Duration) time.Duration
- func ParseCIDR(str string) (netip.Prefix, error)
- func ParseCIDRs(strs []string) ([]netip.Prefix, error)
- type Joiner
- type SpinBackoff
Constants ¶
View Source
const ( MinBackoff time.Duration = 10 * time.Millisecond MaxBackoff time.Duration = 15 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func GenServerName ¶ added in v0.7.0
func Join ¶
func Join(l io.ReadWriteCloser, r io.ReadWriteCloser) error
func LocalAddrs ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.