notifier

package
v0.0.0-...-37aa375 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	NotificationMaxQueueSize = 100
	NotificationWorkers      = 10
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

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

func NewNotifier

func NewNotifier(notificationPrefixURL string, maxQueueSize int, workers int, tlsOptions *coretls.ClientTLSOptions) *Notifier

func (Notifier) Notify

func (n Notifier) Notify(apiID uint, notif notifications.APIClarityNotification) error

func (Notifier) Start

func (n Notifier) Start(ctx context.Context)

func (Notifier) Stop

func (n Notifier) Stop()

Jump to

Keyboard shortcuts

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