Documentation
¶
Index ¶
- Variables
- func Dial(network string, address string) (net.Conn, error)
- func DialContext(ctx context.Context, network string, address string) (net.Conn, error)
- func DialTimeout(network string, address string, timeout time.Duration) (net.Conn, error)
- func Listen(network string, addr string) (net.Listener, error)
- func ListenPacket(network string, addr string) (net.PacketConn, error)
- func Pin() error
- func Unpin() error
- func UseCPUAffinity(use bool)
- func UseEntries(entries int)
- func UseFeatures(feats uint32)
- func UseFlags(flags uint32)
- func UseLoadBalancer(lb aio.LoadBalancer)
- func UsePreformMode()
- func UsePrepareBatchSize(size uint32)
- func UseProcessPriority(level process.PriorityLevel)
- func UseVortexNum(n int)
- func UseWaitTransmissionBuilder(builder aio.TransmissionBuilder)
- type Dialer
- type IPConn
- type TCPConn
- type TCPListener
- type UDPConn
- type UnixConn
- type UnixListener
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultDialer = Dialer{}
)
Functions ¶
func DialContext ¶
func DialTimeout ¶
func ListenPacket ¶
func ListenPacket(network string, addr string) (net.PacketConn, error)
func UseCPUAffinity ¶ added in v0.9.0
func UseCPUAffinity(use bool)
func UseEntries ¶ added in v0.9.0
func UseEntries(entries int)
func UseFeatures ¶ added in v0.9.0
func UseFeatures(feats uint32)
func UseLoadBalancer ¶ added in v0.9.0
func UseLoadBalancer(lb aio.LoadBalancer)
func UsePreformMode ¶ added in v0.9.0
func UsePreformMode()
func UsePrepareBatchSize ¶ added in v0.9.0
func UsePrepareBatchSize(size uint32)
func UseProcessPriority ¶
func UseProcessPriority(level process.PriorityLevel)
func UseVortexNum ¶ added in v0.9.0
func UseVortexNum(n int)
func UseWaitTransmissionBuilder ¶ added in v0.9.0
func UseWaitTransmissionBuilder(builder aio.TransmissionBuilder)
Types ¶
type Dialer ¶
func (*Dialer) SetFastOpen ¶
type TCPListener ¶
type TCPListener struct {
*net.TCPListener
}
type UDPConn ¶
func ListenMulticastUDP ¶
type UnixListener ¶
type UnixListener struct {
*net.UnixListener
}
func ListenUnix ¶
func ListenUnix(network string, addr *net.UnixAddr) (*UnixListener, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.