Skip to content

Stockshat/epoller

 
 

Repository files navigation

epoller

epoll implementation for connections in Linux, MacOS and windows.

GoDoc

Its target is implementing a simple epoll for connection, so you should see it only contains few methods:

type Poller interface {
	Add(conn net.Conn) error
	Remove(conn net.Conn) error
	Wait() ([]net.Conn, error)
	Close() error
}

Welcome any PRs for windows IOCompletePort.

Inspired by 1m-go-websockets.

Thanks @sunnyboy00 for providing windows implementation.

About

epoll implementation for connections in Linux, MacOS and Windows

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 80.6%
  • Go 15.1%
  • C++ 4.3%