Versions in this module Expand all Collapse all v1 v1.2.0 Dec 24, 2023 v1.1.0 Oct 7, 2023 Changes in this version + type ConnImpl struct + func (c ConnImpl) GetFD() int v1.0.0 Aug 5, 2023 Changes in this version + type Epoll = wepoll.Epoll — windows/amd64 + type Epoll struct — darwin/amd64, linux/amd64 + func NewPoller() (*Epoll, error) + func NewPollerWithBuffer(count int) (*Epoll, error) + func (e *Epoll) Add(conn net.Conn) error + func (e *Epoll) Close(closeConns bool) error + func (e *Epoll) Remove(conn net.Conn) error + func (e *Epoll) Wait(count int) ([]net.Conn, error) + func (e *Epoll) WaitChan(count, chanBuffer int) <-chan []net.Conn + func (e *Epoll) WaitWithBuffer() ([]net.Conn, error) + type Poller interface + Add func(conn net.Conn) error + Close func(closeConns bool) error + Remove func(conn net.Conn) error + Wait func(count int) ([]net.Conn, error) + WaitChan func(count, chanBuffer int) <-chan []net.Conn + WaitWithBuffer func() ([]net.Conn, error)