Package Usage: go: github.com/pusher/pusher-http-go/v5
Package pusher is the Golang library for interacting with the Pusher HTTP API.
This package lets you trigger events to your client and query the state
of your Pusher channels. When used with a server, you can validate Pusher
webhooks and authenticate private- or presence-channels.
In order to use this library, you need to have a free account
on http://pusher.com. After registering, you will need the application
credentials for your app.
To create a new client, pass in your application credentials to a `pusher.Client` struct:
To start triggering events on a channel, we call `pusherClient.Trigger`:
Read on to see what more you can do with this library, such as
authenticating private- and presence-channels, validating Pusher webhooks,
and querying the HTTP API to get information about your channels.
Author: Jamie Patel, Pusher
3 versions
Latest release: over 2 years ago
25 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/pusher/pusher-http-go/v5