fcm

package
v0.0.0-...-8a31c25 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FCM

type FCM struct {
	// contains filtered or unexported fields
}

FCM ...

func NewFCM

func NewFCM(credentialsFile string, log *slog.Logger) (fcm *FCM, err error)

NewFCM ...

func (*FCM) ConvertMessage

func (fcm *FCM) ConvertMessage(data []byte) (smsg services.ServiceMessage, err error)

func (*FCM) ID

func (fcm *FCM) ID() string

ID ...

func (*FCM) Logger

func (fcm *FCM) Logger() *slog.Logger

func (*FCM) NewClient

func (fcm *FCM) NewClient() (services.PumpClient, error)

func (*FCM) PushMessage

func (*FCM) String

func (fcm *FCM) String() string

String ...

func (*FCM) Validate

func (fcm *FCM) Validate(data []byte) error

Validate ...

Jump to

Keyboard shortcuts

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