Documentation ¶
Index ¶
- func SetKeepAlive(fd, secs int) error
- func SockaddrToAddr(sa syscall.Sockaddr) net.Addr
- type Action
- type Conn
- type Listener
- type Loop
- type Poll
- func (p *Poll[T]) AddRead(fd int, data *T) error
- func (p *Poll[T]) AddReadWrite(fd int, data *T) error
- func (p *Poll[T]) Close() error
- func (p *Poll[T]) ModDetach(fd int, data *T) error
- func (p *Poll[T]) ModRead(fd int, data *T) error
- func (p *Poll[T]) ModReadWrite(fd int, data *T) error
- func (p *Poll[T]) Wait(timeout time.Duration, ...) error
- func (p *Poll[T]) Wake() error
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetKeepAlive ¶
Types ¶
type Poll ¶
type Poll[T any] struct { // contains filtered or unexported fields }
Poll ...
func (*Poll[T]) AddReadWrite ¶
AddReadWrite ...
func (*Poll[T]) ModReadWrite ¶
ModReadWrite ...
Click to show internal directories.
Click to hide internal directories.