Documentation
¶
Index ¶
- type IPInfo
- type IPScanner
- type Option
- func WithCidrList(cidrList []netip.Prefix) Option
- func WithIPQueueSize(size int) Option
- func WithIPQueueTTL(ttl time.Duration) Option
- func WithLogger(logger *slog.Logger) Option
- func WithMaxDesirableRTT(threshold time.Duration) Option
- func WithUseIPv4(useIPv4 bool) Option
- func WithUseIPv6(useIPv6 bool) Option
- func WithWarpPeerPublicKey(peerPublicKey string) Option
- func WithWarpPreSharedKey(presharedKey string) Option
- func WithWarpPrivateKey(privateKey string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPScanner ¶
type IPScanner struct {
// contains filtered or unexported fields
}
func NewScanner ¶
func (*IPScanner) GetAvailableIPs ¶
type Option ¶
type Option func(*IPScanner)
func WithCidrList ¶
func WithIPQueueSize ¶
func WithIPQueueTTL ¶
func WithLogger ¶
func WithMaxDesirableRTT ¶
func WithUseIPv4 ¶
func WithUseIPv6 ¶
func WithWarpPeerPublicKey ¶
func WithWarpPreSharedKey ¶
func WithWarpPrivateKey ¶
Click to show internal directories.
Click to hide internal directories.