{"repo":"appleboy/go-fcm","free":true,"listed":false,"github":"https://github.com/appleboy/go-fcm","clone":"git clone https://github.com/appleboy/go-fcm.git","description":"Firebase Cloud Messaging Library for Golang","language":"Go","stars":330,"topics":["firebase","android","notification"],"license":"MIT","category":"mobile-apps","readme_excerpt":"go-fcm English 繁體中文 简体中文 Forked from github.com/edganiukov/fcm Firebase Cloud Messaging Official Documentation --- Table of Contents - go-fcm - Table of Contents - Features - Supported Message Types - Quick Start - Authentication and Credentials - Usage Example - Advanced Configuration - Custom HTTP Client - Proxy Support - Unit Testing and Mock - Best Practices - Troubleshooting - Architecture Diagram - FAQ - License --- Features Feature Supported Description ------------------------- :-------: ------------------------------------------- Single Device Messaging ✅ Send messages to a single device Multiple Device Messaging ✅ Send messages to multiple devices Topic Messaging ✅ Send messages to a specific topic Condition Messaging ✅ Support for FCM condition syntax Custom HTTP Client ✅ Custom timeout, proxy, and transport config Multiple Message Formats ✅ Data, Notification, Multicast Unit Test & Mock Support ✅ Easy unit testing with mock client --- Supported Message Types Type Description ------------ ------------------------------------------------------- Data Custom data messages, handled by the app Notification System notification messages, shown in notification bar Multicast Send to up to 500 device tokens at once Topic Send to all devices subscribed to a topic Condition Send to devices matching a logical condition --- Quick Start Install go-fcm: --- Authentication and Credentials It is recommended to use Google Application Default Credentials (ADC) for authentication. Down","default_branch":null,"files":null,"tree":[],"storefront":"/r/appleboy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/appleboy/go-fcm/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}