Commit Graph

64 Commits

Author SHA1 Message Date
Mario Squeo 7c0d9bbba1 Fix typo in event.Tick example 2020-10-31 14:19:30 -04:00
Josh Baker 67a98f8d46
Update README.md 2018-10-28 11:30:18 -07:00
Josh Baker 3db0020933
Update README.md 2018-07-12 11:04:11 -07:00
Josh Baker 0e201dccae
Fixed typos 2018-05-24 15:34:14 -07:00
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 e07d3a91f8
format 2017-11-14 11:56:15 -07:00
Josh Baker b5a75773a4
typo 2017-11-14 11:53:39 -07:00
Josh Baker d99d9b2eb9 udp server bindings 2017-11-14 11:42:15 -07:00
Josh Baker 08622c142f
fixed code format 2017-11-08 17:16:28 -07:00
Josh Baker f416191b31
typo 2017-11-08 16:59:29 -07:00
Josh Baker 7fd6dad933
mention dial feature 2017-11-08 16:57:46 -07:00
Josh Baker 7da2f5a251 Dial outbound connection
It's not possible to dial an outbound connection which connects to the
event loop exactly like inbound connection.
2017-11-07 15:59:24 -07:00
Josh Baker 484881f2cb
perfectly clear 2017-11-04 15:56:58 -07:00
Josh Baker c7f0c1fe8e
quote note 2017-11-04 15:39:13 -07:00
Josh Baker 805f0856e8
important note 2017-11-04 15:34:07 -07:00
Josh Baker bbe6ab48de
removed pl 16 2017-11-03 17:22:01 -07:00
Josh Baker 3139a79b4a
Update README.md 2017-11-03 17:21:19 -07:00
Josh Baker ebb3a2ba7d
benchmarks 2017-11-03 17:20:42 -07:00
Josh Baker 3b33b0c003
Update README.md 2017-11-03 13:11:26 -07:00
Josh Baker 6a86476275 benchmarks 2017-11-02 18:31:36 -07:00
Josh Baker 23d55c2b35 updated parser 2017-11-02 13:29:13 -07:00
Josh Baker ae8de20f45
Update README.md 2017-11-02 08:57:35 -07:00
Josh Baker 99cbc8cb19 license message 2017-11-02 08:08:18 -07:00
Josh Baker 7a9d0ae257
Update README.md 2017-11-02 07:14:39 -07:00
Josh Baker 6f29385f8c
Update README.md 2017-11-02 07:08:14 -07:00
Josh Baker 4579e6b074
Update README.md 2017-11-02 07:06:39 -07:00
Josh Baker 31fa478ae8
Update README.md 2017-11-02 07:06:01 -07:00
Josh Baker 3673bfbc7d
Update README.md 2017-11-02 07:04:57 -07:00
Josh Baker 71b91660ca
Update README.md 2017-11-02 07:02:42 -07:00
Josh Baker fee1e97043
Update README.md 2017-11-02 07:00:47 -07:00
Josh Baker c98dd2afa9
Update README.md 2017-11-02 06:59:04 -07:00
Josh Baker 7233d4a1c0
Update README.md 2017-11-02 06:52:56 -07:00
Josh Baker 34e09c3f3d
Update README.md 2017-11-02 06:52:35 -07:00
Josh Baker e626fe9e15
Update README.md 2017-11-02 06:49:13 -07:00
Josh Baker 2e6264a863
Update README.md 2017-11-02 06:37:39 -07:00
Josh Baker e34ac71661
Update README.md 2017-11-02 06:36:16 -07:00
Josh Baker 9c552353d6
Update README.md 2017-11-02 06:33:27 -07:00
Josh Baker 8cfd53318c
Update README.md 2017-11-02 05:22:44 -07:00
Josh Baker 3634edcbbe
Update README.md 2017-11-01 17:45:16 -07:00
Josh Baker b2bc571190
Update README.md 2017-11-01 17:44:24 -07:00
Josh Baker aa87068c91
Update README.md 2017-11-01 17:41:23 -07:00
Josh Baker 7f2b14fe81 updated stdlib logic 2017-10-30 05:59:57 -07:00
Josh Baker 518cc61caf readme 2017-10-29 12:42:44 -07:00
Josh Baker 5cfee74f12
Update README.md 2017-10-28 16:35:31 -07:00
Josh Baker 9d28df427f
Update README.md 2017-10-28 16:20:47 -07:00
Josh Baker a7f00c2be9
Update README.md 2017-10-28 15:54:58 -07:00
Josh Baker 15bca8fb0a
Update README.md 2017-10-28 15:42:19 -07:00
Josh Baker 744bbcf28c
Update README.md 2017-10-28 15:32:16 -07:00
Josh Baker e051385a79
Update README.md 2017-10-28 15:31:10 -07:00