Using ably-go with ably.io

Go integration

✓ Official SDK
Install
go get github.com/ably/ably-go
Quick start
import "ably-go"

// Initialize client
client := ably-go.NewClient("YOUR_API_KEY")
Get the service time
curl \
  -u "$API_USER:$API_PASS" \
  https://rest.ably.io/time
Retrieve usage statistics for an application
curl \
  -u "$API_USER:$API_PASS" \
  https://rest.ably.io/stats
Enumerate all active channels of the application
curl \
  -u "$API_USER:$API_PASS" \
  https://rest.ably.io/channels
SDK on GitHub 📄 API Docs
SDK
ably-go
Go
API
ably.io
ably.io:platform
At a glance
Language Go
Endpoints22
Base URLhttps://rest.ably.io
✓ Official