source: code/trunk/go.mod@ 334

Last change on this file since 334 was 323, checked in by contact, 5 years ago

Add support for WebSocket connections

WebSocket connections allow web-based clients to connect to IRC. This
commit implements the WebSocket sub-protocol as specified by the pending
IRCv3 proposal [1].

WebSocket listeners can now be set up via a "wss" protocol in the
listen directive. The new http-origin directive allows the CORS
allowed origins to be configured.

[1]: https://github.com/ircv3/ircv3-specifications/pull/342

File size: 400 bytes
RevLine 
[98]1module git.sr.ht/~emersion/soju
[1]2
3go 1.13
4
[77]5require (
[95]6 github.com/emersion/go-sasl v0.0.0-20191210011802-430746ea8b9b
[117]7 github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
[77]8 github.com/mattn/go-sqlite3 v2.0.3+incompatible
[125]9 golang.org/x/crypto v0.0.0-20200317142112-1b76d66859c6
10 golang.org/x/sys v0.0.0-20200317113312-5766fd39f98d // indirect
11 gopkg.in/irc.v3 v3.1.2
[323]12 nhooyr.io/websocket v1.8.5
[77]13)
Note: See TracBrowser for help on using the repository browser.