fcm

package
v0.0.0-...-0250509 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: MIT Imports: 7 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(apiKey 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