Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeliverPush ¶
func DeliverPush(ctx context.Context, m PubSubMessage) error
DeliverPush consumes a Pub/Sub message and delivers push notification via firebase cloud messaging.
Types ¶
type PubSubMessage ¶
type PubSubMessage struct {
Data []byte `json:"data"`
}
PubSubMessage is the payload of a Pub/Sub event.
Click to show internal directories.
Click to hide internal directories.