Documentation ¶
Index ¶
- type FakeFCM
- func (f *FakeFCM) Send(_ context.Context, message *messaging.Message) (string, error)
- func (f *FakeFCM) SendDryRun(_ context.Context, message *messaging.Message) (string, error)
- func (f *FakeFCM) SendEach(_ context.Context, messages []*messaging.Message) (*messaging.BatchResponse, error)
- func (f *FakeFCM) SendEachDryRun(_ context.Context, messages []*messaging.Message) (*messaging.BatchResponse, error)
- func (f *FakeFCM) SendEachForMulticast(_ context.Context, message *messaging.MulticastMessage) (*messaging.BatchResponse, error)
- func (f *FakeFCM) SendEachForMulticastDryRun(_ 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) SendDryRun ¶
func (*FakeFCM) SendEachDryRun ¶ added in v1.3.172
func (*FakeFCM) SendEachForMulticast ¶ added in v1.3.172
func (f *FakeFCM) SendEachForMulticast(_ context.Context, message *messaging.MulticastMessage) (*messaging.BatchResponse, error)
func (*FakeFCM) SendEachForMulticastDryRun ¶ added in v1.3.172
func (f *FakeFCM) SendEachForMulticastDryRun(_ context.Context, message *messaging.MulticastMessage) (*messaging.BatchResponse, error)
func (*FakeFCM) SubscribeToTopic ¶
func (*FakeFCM) UnsubscribeFromTopic ¶
Click to show internal directories.
Click to hide internal directories.