Skip to content
Go client library for api.ninchat.com
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
c
include
mobile
ninchatapi
ninchatmessage
src/github.com/ninchat
vendor/sort
webhook
.gitignore
LICENSE
Makefile
README.md
api.go
api_go.go
api_js.go
backoff.go
call.go
call_test.go
data_go.go
data_js.go
error_js.go
go.mod
go.sum
http.go
http_go.go
http_js.go
jitter.go
json_go.go
json_js.go
longpoll_go.go
longpoll_js.go
longpolltransport.go
rand_go.go
rand_js.go
session.go
session_test.go
time_go.go
time_js.go
websocket_go.go
websocket_js.go
websockettransport.go

README.md

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.

You can’t perform that action at this time.