notifier

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

type Notifier struct {
	PfdChangeNotifier *PfdChangeNotifier
}

func NewNotifier

func NewNotifier() (*Notifier, error)

type PfdChangeNotifier

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

func NewPfdChangeNotifier

func NewPfdChangeNotifier() (*PfdChangeNotifier, error)

func (*PfdChangeNotifier) AddPfdSub

func (n *PfdChangeNotifier) AddPfdSub(pfdSub *models.PfdSubscription) string

func (*PfdChangeNotifier) DeletePfdSub

func (n *PfdChangeNotifier) DeletePfdSub(subID string) error

func (*PfdChangeNotifier) NewPfdNotifyContext

func (n *PfdChangeNotifier) NewPfdNotifyContext() *PfdNotifyContext

type PfdNotifyContext

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

func (*PfdNotifyContext) AddNotification

func (nc *PfdNotifyContext) AddNotification(appID string, notif *models.PfdChangeNotification)

func (*PfdNotifyContext) FlushNotifications

func (nc *PfdNotifyContext) FlushNotifications()

Jump to

Keyboard shortcuts

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