wepoll

package
v0.0.0-...-a1fa948 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Epoll

type Epoll struct {
	// contains filtered or unexported fields
}

func NewPoller

func NewPoller() (*Epoll, error)

func NewPollerWithBuffer

func NewPollerWithBuffer(count int) (*Epoll, error)

func (*Epoll) Add

func (e *Epoll) Add(conn net.Conn, f uint64) error

func (*Epoll) Close

func (e *Epoll) Close() error

func (*Epoll) Remove

func (e *Epoll) Remove(f uint64) error

func (*Epoll) Wait

func (e *Epoll) Wait(count int) ([]net.Conn, error)

func (*Epoll) WaitChan

func (e *Epoll) WaitChan(count int) <-chan []net.Conn

func (*Epoll) WaitWithBuffer

func (e *Epoll) WaitWithBuffer() ([]net.Conn, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL