MCPcopy Index your code
hub / github.com/NdoleStudio/httpsms / FCMClient

Interface FCMClient

api/pkg/services/fcm_client.go:10–13  ·  view source on GitHub ↗

FCMClient is the interface for sending Firebase Cloud Messaging notifications.

Source from the content-addressed store, hash-verified

8
9// FCMClient is the interface for sending Firebase Cloud Messaging notifications.
10type FCMClient interface {
11 // Send sends a message via FCM and returns the message name on success.
12 Send(ctx context.Context, message *messaging.Message) (string, error)
13}
14
15// FirebaseFCMClient wraps the real Firebase messaging.Client.
16type FirebaseFCMClient struct {

Callers 8

SendHeartbeatFCMMethod · 0.65
SendMethod · 0.65
NotifyMessageExpiredMethod · 0.65
NotifyMessageFailedMethod · 0.65
sendUsageAlertMethod · 0.65

Implementers 6

smtpMailerapi/pkg/emails/smtp_mailer_service.go
PhoneNotificationServiceapi/pkg/services/phone_notification_se
Integration3CXServiceapi/pkg/services/integration_3cx_servi
WebhookServiceapi/pkg/services/webhook_service.go
FirebaseFCMClientapi/pkg/services/fcm_client.go
EmulatorFCMClientapi/pkg/services/emulator_fcm_client.g

Calls

no outgoing calls

Tested by

no test coverage detected