id

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateAddrId

func GenerateAddrId(addr net.Addr) string

func GenerateIpAddrId

func GenerateIpAddrId(addr *net.IPAddr) string

func GenerateIpNetId

func GenerateIpNetId(ipNet *net.IPNet) string

func GeneratePairTcpAddrId

func GeneratePairTcpAddrId(localAddr, remoteAddr *net.TCPAddr) string

func GeneratePairUdpAddrId

func GeneratePairUdpAddrId(localAddr, remoteAddr *net.UDPAddr) string

func GenerateTcpAddrId

func GenerateTcpAddrId(addr *net.TCPAddr) string

func GenerateTcpConnId

func GenerateTcpConnId(conn *net.TCPConn) string

func GenerateUdpAddrId

func GenerateUdpAddrId(addr *net.UDPAddr) string

func GenerateUdpConnId

func GenerateUdpConnId(conn *net.UDPConn) string

func GenerateUnixAddrId

func GenerateUnixAddrId(addr *net.UnixAddr) string

func Uint64Id

func Uint64Id(context *uint64) uint64

Types

This section is empty.

Jump to

Keyboard shortcuts

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