utils

package
v1.0.2 Latest Latest
Warning

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

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