This package implements a Pusher websocket client. It is based on the official Pusher JavaScript client libary as well as go-pusher.
$ go get github.com/goguardian/pusher-ws-go
- Connect to app
- Custom cluster
- Insecure connection
- Subscribe to channel
- Auth for private and presence channels
- Custom auth parameters
- Custom auth headers
- Unsubscribe from channel
- Bind to events
- Bind at app level
- Bind at channel level
- Bind global at app level
- Bind global at channel level
- Unbind events
- Presence channel member data
- Cancel subscribing
- Handle pong timeout/reconnect