simple (yet powerful) websocket server implementation using channels and goroutines
Go to file
xdrm-brackets 5fcdc9ca70 do not return Sec-WebSocket-Accept in response if upgrade error (not read yet from Request) + StatusCode getter 2018-04-28 16:23:07 +02:00
cmd updated controller implementation (use channels) 2018-04-28 16:06:46 +02:00
internal do not return Sec-WebSocket-Accept in response if upgrade error (not read yet from Request) + StatusCode getter 2018-04-28 16:23:07 +02:00
upgrader added visibility for upgrade Request/Response 2018-04-26 23:26:39 +02:00
ws added 'chan *Frame' and channel principle to build the Controller implementation on 2018-04-28 16:04:05 +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 added frame layout in draft 2018-04-25 21:56:58 +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