Help us shape the future of Go! Take the 2026 Go Developer Survey

notifier

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: MIT Imports: 5 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 {
	// contains filtered or unexported fields
}

func New

func New(enabled bool) *Notifier

func (*Notifier) IsEnabled

func (n *Notifier) IsEnabled() bool

func (*Notifier) SendBulkNotification

func (n *Notifier) SendBulkNotification(entries []cache.CacheEntry) error

func (*Notifier) SendNotification

func (n *Notifier) SendNotification(entry cache.CacheEntry) error

func (*Notifier) SendStarNotifications added in v1.1.0

func (n *Notifier) SendStarNotifications(starEvents []cache.StarEvent) error

SendStarNotifications sends notifications for new star events

func (*Notifier) SetEnabled

func (n *Notifier) SetEnabled(enabled bool)

Jump to

Keyboard shortcuts

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