/ninchat-go

Go client library for api.ninchat.com

Primary LanguageGoBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Go client package for the Ninchat API. Compatible with GopherJS (see also ninchat-js). Uses Gorilla WebSocket package with native Go.

The implementation uses few standard packages directly in order to reduce generated JavaScript code size. Subsets of encoding/json, math/rand, net/http and time packages are wrapped for native Go, and reimplemented using web browser APIs for GopherJS.