Registry / messaging / appleboy-go-fcm

appleboy-go-fcm

JSON →
library1.2.10gogounverified

Firebase Cloud Messaging (FCM) client for sending push notifications to Android, iOS, and web devices.

go get github.com/appleboy/go-fcm
INSTALL
IMPORT
SIG · APPLEBOY-GO-FCM
A
appleboy-go-fcm
messaginggov1.2.10
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.

fcm
github.com/appleboy/go-fcm

Sends a push notification via FCM

package main import ( "fmt" "github.com/appleboy/go-fcm" ) func main() { client, _ := fcm.NewClient("YOUR_SERVER_KEY") response, _ := client.Send(&fcm.Message{ To: "device_token", Notification: &fcm.Notification{ Title: "Hello", Body: "World", }, }) fmt.Println(response.Success) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.10latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
26
OpenAI (training)
1
Resources
appleboy-go-fcm — go get appleboy-go-fcm · libregistry