Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FirebaseKeyPath string
FirebaseKeyPath determine the location where the firebase admin key is stored
Functions ¶
func SendMessageToDevice ¶
SendToToken send a message to a specified device
func SendMessageToDevices ¶
func SendMessageToDevices(message *messaging.MulticastMessage)
SendMessageToDevices send a multicast message to specified devices
func Setup ¶ added in v1.0.5
func Setup() (e error)
Setup prepare the application for working with firebase service.
func SetupWithPath ¶ added in v1.0.5
SetupWithPath set the FilebaseKeyPath by specified path then run Setup
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.