Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/kavu/go_reuseport
/ functions
Functions
23 in github.com/kavu/go_reuseport
⨍
Functions
23
◇
Types & classes
0
↓ 14 callers
Function
NewReusablePortListener
NewReusablePortListener returns net.FileListener that created from a file discriptor for a socket with SO_REUSEPORT option.
tcp.go:96
↓ 6 callers
Function
Listen
Listen function is an alias for NewReusablePortListener.
reuseport.go:43
↓ 6 callers
Function
ListenPacket
ListenPacket is an alias for NewReusablePortPacketConn.
reuseport.go:48
↓ 5 callers
Function
NewReusablePortPacketConn
NewReusablePortPacketConn returns net.FilePacketConn that created from a file discriptor for a socket with SO_REUSEPORT option.
udp.go:93
↓ 2 callers
Function
NewHTTPServer
(resp string)
tcp_test.go:31
↓ 2 callers
Function
getSockaddr
getSockaddr parses protocol and address and returns implementor of syscall.Sockaddr: syscall.SockaddrInet4 or syscall.SockaddrInet6.
reuseport.go:27
↓ 2 callers
Function
getSocketFileName
(proto, addr string)
reuseport.go:38
↓ 1 callers
Function
determineTCPProto
(proto string, ip *net.TCPAddr)
tcp.go:73
↓ 1 callers
Function
determineUDPProto
(proto string, ip *net.UDPAddr)
udp.go:70
↓ 1 callers
Function
getTCPSockaddr
(proto, addr string)
tcp.go:23
↓ 1 callers
Function
getUDPSockaddr
(proto, addr string)
udp.go:20
↓ 1 callers
Function
maxListenerBacklog
()
reuseport_bsd.go:18
Function
BenchmarkNewReusablePortListener
(b *testing.B)
tcp_test.go:192
Function
BenchmarkNewReusableUDPPortListener
(b *testing.B)
udp_test.go:89
Function
ExampleNewReusablePortListener
()
tcp_test.go:204
Function
NewReusablePortListener
(proto, addr string)
reuseport_windows.go:13
Function
NewReusablePortPacketConn
(proto, addr string)
reuseport_windows.go:17
Function
TestListen
(t *testing.T)
tcp_test.go:74
Function
TestListenPacket
(t *testing.T)
udp_test.go:51
Function
TestNewReusablePortListener
(t *testing.T)
tcp_test.go:36
Function
TestNewReusablePortPacketConn
(t *testing.T)
udp_test.go:13
Function
TestNewReusablePortServers
(t *testing.T)
tcp_test.go:112
Function
maxListenerBacklog
()
reuseport_linux.go:21