Versions in this module Expand all Collapse all v1 v1.3.3 Dec 17, 2020 Changes in this version + const EVFilterRead — darwin/amd64 + const EVFilterSock — darwin/amd64 + const EVFilterWrite — darwin/amd64 + const ErrEvents — linux/amd64 + const InEvents — linux/amd64 + const InitEvents — darwin/amd64, linux/amd64 + const OutEvents — linux/amd64 + func Dup(fd int) (int, string, error) — darwin/amd64, linux/amd64, windows/amd64 + func SetKeepAlive(fd, secs int) error — darwin/amd64, linux/amd64 + func SockaddrToTCPOrUnixAddr(sa unix.Sockaddr) net.Addr — darwin/amd64, linux/amd64 + func SockaddrToUDPAddr(sa unix.Sockaddr) net.Addr — darwin/amd64, linux/amd64 + type Poller struct — darwin/amd64, linux/amd64 + func OpenPoller() (poller *Poller, err error) + func (p *Poller) AddRead(fd int) error + func (p *Poller) AddReadWrite(fd int) error + func (p *Poller) AddWrite(fd int) error + func (p *Poller) Close() error + func (p *Poller) Delete(fd int) error + func (p *Poller) ModRead(fd int) error + func (p *Poller) ModReadWrite(fd int) error + func (p *Poller) Polling(callback func(fd int, ev uint32) error) error + func (p *Poller) Polling(callback func(fd int, filter int16) error) error + func (p *Poller) Trigger(job internal.Job) (err error)