Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FCM ¶
type FCM interface {
Send(ctx context.Context, message *messaging.Message) (string, error)
SendDryRun(ctx context.Context, message *messaging.Message) (string, error)
SendAll(ctx context.Context, messages []*messaging.Message) (*messaging.BatchResponse, error)
SendAllDryRun(ctx context.Context, messages []*messaging.Message) (*messaging.BatchResponse, error)
SendMulticast(ctx context.Context, message *messaging.MulticastMessage) (*messaging.BatchResponse, error)
SendMulticastDryRun(ctx context.Context, message *messaging.MulticastMessage) (*messaging.BatchResponse, error)
SubscribeToTopic(ctx context.Context, tokens []string, topic string) (*messaging.TopicManagementResponse, error)
UnsubscribeFromTopic(ctx context.Context, tokens []string, topic string) (*messaging.TopicManagementResponse, error)
}
Click to show internal directories.
Click to hide internal directories.