push

package
v0.0.0-...-e75800c Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakePushClient

type FakePushClient struct {
}

func NewFakePushClient

func NewFakePushClient() *FakePushClient

func (*FakePushClient) Send

func (p *FakePushClient) Send(ctx context.Context, message *messaging.Message) error

type FcmPushClient

type FcmPushClient struct {
	FcmMessaging *messaging.Client
}

func NewFcmPushClient

func NewFcmPushClient(config *domain.FcmPushConfig) *FcmPushClient

func (*FcmPushClient) Send

func (p *FcmPushClient) Send(ctx context.Context, message *messaging.Message) error

type Pusher

type Pusher interface {
	Send(ctx context.Context, message *messaging.Message) error
}

Jump to

Keyboard shortcuts

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