simple (yet powerful) websocket server implementation using channels and goroutines
Go to file
Adrien Marquès 9e69b66289
fix: use fmt.Errorf() %w verb for error wrapping
2021-06-15 22:13:36 +02:00
cmd/iface refactor: http/upgrade normalise files 2021-05-14 17:19:02 +02:00
internal fix: use fmt.Errorf() %w verb for error wrapping 2021-06-15 22:13:36 +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
client.go fix: use fmt.Errorf() %w verb for error wrapping 2021-06-15 22:13:36 +02:00
controller.go refactor: normalise internal/uri 2021-05-14 17:23:33 +02:00
draft.md added frame layout in draft 2018-04-25 21:56:58 +02:00
go.mod refactor: move to go modules and lint 2021-05-14 16:47:02 +02:00
message.go fix: use fmt.Errorf() %w verb for error wrapping 2021-06-15 22:13:36 +02:00
message_test.go refactor: http/upgrade normalise files 2021-05-14 17:19:02 +02:00
server.go fix: use fmt.Errorf() %w verb for error wrapping 2021-06-15 22:13:36 +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