Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Poller ¶
type Poller interface { Add(conn net.Conn) (int, error) Remove(conn net.Conn) error Wait(count int) ([]net.Conn, error) WaitWithBuffer() ([]net.Conn, error) WaitChan(count int) <-chan []net.Conn GetConnectionByFD(fd int) (net.Conn, error) GetFDByConnection(conn net.Conn) (int, error) Close() error }
func NewPollerWithBuffer ¶
Click to show internal directories.
Click to hide internal directories.