services

package
v0.0.0-...-f3cad7a Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnrecognizedTemplate = errors.New("unrecognized template")
)

Functions

This section is empty.

Types

type FCM

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

func NewFCM

func NewFCM(messageBuilder FCMMessageBuilder, client *messaging.Client) *FCM

func (*FCM) Send

func (f *FCM) Send(context context.Context, req *notify.Notification) error

type FCMMessageBuilder

type FCMMessageBuilder func(req *notify.Notification) (*messaging.Message, error)

Jump to

Keyboard shortcuts

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