ggservice

package
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

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

func SendMessageToDevice(message *messaging.Message)

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

func SetupWithPath(path string) (e error)

SetupWithPath set the FilebaseKeyPath by specified path then run Setup

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL