Documentation ¶
Overview ¶
Send message to mobile devices through fcm
Index ¶
Constants ¶
View Source
const ( SbjBitcoinAndroid = "Bitcoin-Android" SbjEthereumAndroid = "Ethereum-Android" MsgTitleEthereum = "Ethereum Confirmation" MsgTitleBitcoin = "Ethereum Confirmation" )
Variables ¶
This section is empty.
Functions ¶
func PublishFirebase ¶
func PublishFirebase(ec *nats.EncodedConn, subject string, symbol shared.Symbol, msgTitle string, deviceID string, nickname string, msg string, value string)
Publish a message to Firebase ids
func PushMessage ¶
func PushMessage(msg *Message)
func SubscribeToChannel ¶
func SubscribeToChannel(ec *nats.EncodedConn, subject string)
Types ¶
Click to show internal directories.
Click to hide internal directories.