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