Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeServiceFcm ¶
type FakeServiceFcm struct { PushFn func( ctx context.Context, sender string, payload firebasetools.SendNotificationPayload, ) error }
FakeServiceFcm simulates the behavior of our FCM push implementation
func (*FakeServiceFcm) Push ¶
func (f *FakeServiceFcm) Push( ctx context.Context, sender string, payload firebasetools.SendNotificationPayload, ) error
Push instructs a remote FCM service to send a push notification.
This is done over Google Cloud Pub-Sub.
Click to show internal directories.
Click to hide internal directories.