Versions in this module
v1
Apr 13, 2023
Jul 26, 2022
May 13, 2022
Dec 28, 2021
Dec 9, 2021
Dec 9, 2021
Changes in this version
type Option
—
darwin/amd64, linux/amd64
Dec 6, 2021
Dec 5, 2021
Changes in this version
+
func GetTCPSockAddr(proto, addr string) (sa unix.Sockaddr, family int, tcpAddr *net.TCPAddr, ipv6only bool, err error)
—
darwin/amd64, linux/amd64
+
func GetUDPSockAddr(proto, addr string) (sa unix.Sockaddr, family int, udpAddr *net.UDPAddr, ipv6only bool, err error)
—
darwin/amd64, linux/amd64
+
func GetUnixSockAddr(proto, addr string) (sa unix.Sockaddr, family int, unixAddr *net.UnixAddr, err error)
—
darwin/amd64, linux/amd64
Jul 23, 2021
Jul 19, 2021
Jul 18, 2021
Jul 11, 2021
Jun 28, 2021
May 23, 2021
May 15, 2021
Changes in this version
Apr 7, 2021
Changes in this version
+
func TCPSocket(proto, addr string, sockopts ...Option) (int, net.Addr, error)
—
darwin/amd64, linux/amd64
+
func UDPSocket(proto, addr string, sockopts ...Option) (int, net.Addr, error)
—
darwin/amd64, linux/amd64
+
func UnixSocket(proto, addr string, sockopts ...Option) (int, net.Addr, error)
—
darwin/amd64, linux/amd64