mocks

package
v1.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeFCM

type FakeFCM struct {
	mock.Mock
}

func (*FakeFCM) Send

func (f *FakeFCM) Send(_ context.Context, message *messaging.Message) (string, error)

func (*FakeFCM) SendAll

func (f *FakeFCM) SendAll(_ context.Context, messages []*messaging.Message) (*messaging.BatchResponse, error)

func (*FakeFCM) SendAllDryRun

func (f *FakeFCM) SendAllDryRun(_ context.Context, messages []*messaging.Message) (*messaging.BatchResponse, error)

func (*FakeFCM) SendDryRun

func (f *FakeFCM) SendDryRun(_ context.Context, message *messaging.Message) (string, error)

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 (f *FakeFCM) SubscribeToTopic(_ context.Context, tokens []string, topic string) (*messaging.TopicManagementResponse, error)

func (*FakeFCM) UnsubscribeFromTopic

func (f *FakeFCM) UnsubscribeFromTopic(_ context.Context, tokens []string, topic string) (*messaging.TopicManagementResponse, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL