notify

package
v0.0.0-...-73876c2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCLI

func RegisterCLI() *cli.Command

Types

type NotifyBatchConsumer

type NotifyBatchConsumer struct {
	PushManager *PushManager
}

func NewNotifyBatchConsumer

func NewNotifyBatchConsumer(pushManager *PushManager) *NotifyBatchConsumer

func (*NotifyBatchConsumer) Consume

func (c *NotifyBatchConsumer) Consume(batch rmq.Deliveries)

type PushManager

type PushManager struct {
	FirebaseApp *firebase.App
}

func (*PushManager) SendPush

func (m *PushManager) SendPush(notification ctdf.Notification) error

func (*PushManager) Setup

func (m *PushManager) Setup() error

Jump to

Keyboard shortcuts

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