source: code/trunk/go.mod@ 403

Last change on this file since 403 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
Line 
1module git.sr.ht/~emersion/soju
2
3go 1.13
4
5require (
6 github.com/emersion/go-sasl v0.0.0-20191210011802-430746ea8b9b
7 github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
8 github.com/mattn/go-sqlite3 v2.0.3+incompatible
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
12 nhooyr.io/websocket v1.8.5
13)
Note: See TracBrowser for help on using the repository browser.