Documentation
¶
Index ¶
- Constants
- func Join(ctx context.Context, 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 FileServer
Constants ¶
View Source
const ( MinBackoff time.Duration = 10 * time.Millisecond MaxBackoff time.Duration = 15 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func Join ¶
func Join(ctx context.Context, l io.ReadWriteCloser, r io.ReadWriteCloser) error
func LocalAddrs ¶
Types ¶
type FileServer ¶ added in v0.5.0
Click to show internal directories.
Click to hide internal directories.