mocks

package
v1.3.173 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 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) SendDryRun

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

func (*FakeFCM) SendEach added in v1.3.172

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

func (*FakeFCM) SendEachDryRun added in v1.3.172

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

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 (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