simple (yet powerful) websocket server implementation using channels and goroutines
Go to file
xdrm-brackets 3159ffe3eb moved header checks/extracts into single file + added 'checkOriginPolicy' (Host/Origin headers can be read in any order) + added key check+extraction 2018-04-25 17:01:39 +02:00
cmd/gwstester [gwstester] clean 2018-04-25 16:06:14 +02:00
http/upgrade/request moved header checks/extracts into single file + added 'checkOriginPolicy' (Host/Origin headers can be read in any order) + added key check+extraction 2018-04-25 17:01:39 +02:00
internal/http created alias for [][]byte (HeaderValue) for better readability 2018-04-25 17:00:51 +02:00
LICENSE [licence] added specific fields 2018-04-24 17:13:15 +02:00
README.md [readme] first update 2018-04-24 17:25:52 +02:00
draft.md [draft] create 2018-04-24 18:45:11 +02:00

README.md

GWS (Go WebSocket)

author: xdrm-brackets

Websocket implementation in go. It features a server as well as a client.

Key objectives

objective my definition
fast response time less than 1ms at least
reliable gracefully handle usage/network/... errors
secure add available cryptography (stream)
compatible respect RFC-6455 as well as actual browser implementations
generic use golang implicit interfaces to make the code reusable for all (most) cases