utils

package
v0.0.0-...-17b02d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseIPZone

func ParseIPZone(s string) (net.IP, string)

func SplitHostPort

func SplitHostPort(hostport string) (string, uint16, error)

Types

type PacketDialer

type PacketDialer interface {
	ListenPacket(rAddr net.Addr) (net.PacketConn, error)
	Context() context.Context
	RemoteAddr(host string) (net.Addr, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL