Documentation
¶
Overview ¶
Package internal is the concrete implementation of epoll and kqueue in low-level OpenPoll factory method is package entry.
Index ¶
- func SetKeepAlive(fd, secs int) error
- func SockaddrToAddr(sa syscall.Sockaddr) net.Addr
- type Poll
- func (p *Poll) AddRead(fd int)
- func (p *Poll) AddReadWrite(fd int)
- func (p *Poll) Close() error
- func (p *Poll) End()
- func (p *Poll) ModDetach(fd int)
- func (p *Poll) ModRead(fd int)
- func (p *Poll) ModReadWrite(fd int)
- func (p *Poll) Trigger(note any) error
- func (p *Poll) Wait(iter func(fd int, note any) error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetKeepAlive ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.