Registry / messaging / pusher-pusher-http-go

pusher-pusher-http-go

JSON →
library4.0.1+incompatiblegogounverified

Golang library for interacting with the Pusher HTTP API to trigger events, query channels, and authenticate webhooks.

go get github.com/pusher/pusher-http-go
INSTALL
IMPORT
SIG · PUSHER-PUSHER-HTTP
P
pusher-pusher-http-go
messaginggov4.0.1+incompatible
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pusher
github.com/pusher/pusher-http-go

Create a Pusher client and trigger an event.

import "github.com/pusher/pusher-http-go" func main() { client := pusher.Client{ AppID: "your-app-id", Key: "your-key", Secret: "your-secret", Cluster: "us2", } client.Trigger("my-channel", "my-event", map[string]string{"message": "hello"}) }
Debug
Known issues
breakingVersion 4.0.1+incompatible uses a different import path than earlier versions.
fix
Use the correct import path for your version: github.com/pusher/pusher-http-go for v4+.
affects: >=4.0.0
Upgrade
Version history
4.0.1+incompatiblelatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
20
Amazon
1
Resources
pusher-pusher-http-go — go get pusher-pusher-http-go · libregistry