Commit Graph

6 Commits

Author SHA1 Message Date
Josh Baker dd88755b17 Added multithreaded support
It's now possible to fire up multiple event loops in separate
goroutines. All that's needed is to set the `events.NumLoops` options
before calling `Serve`.

There are a few breaking API changes.

- The events pass an evio.Conn param that represents the unique
incoming socket connection.
- Prewrite and Postwrite events have been removed.
- Wake and Dial functions have been removed.
- The Transform utility has been removed.

The older version has been tagged as `v0.1.0` for vendoring purposes.
2018-05-23 16:49:45 -07:00
Josh Baker cf82b88f7c SO_REUSEPORT
Just add "reuseport=true" to an address:

evio.Serve(events, "tcp://0.0.0.0:1234?reuseport=true")
2018-03-19 12:47:53 -07:00
Josh Baker 1ef371695f packet conn close 2017-11-14 11:43:15 -07:00
Josh Baker 48141e04ce fix #11 2017-11-13 05:44:48 -07:00
Josh Baker 99cbc8cb19 license message 2017-11-02 08:08:18 -07:00
Josh Baker 74c1ecc501 rename 2017-10-28 14:58:59 -07:00