utils

package
v0.0.0-...-45a9176 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 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