notify

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddNotifiers

func AddNotifiers(channel ...Notifier)

func InitDingTalkNotifier

func InitDingTalkNotifier()

func InitEmailNotifier

func InitEmailNotifier()

func InitLarkNotifier

func InitLarkNotifier()

func InitNotifier

func InitNotifier()

func InitPushdeerNotifier

func InitPushdeerNotifier()

func InitTelegramNotifier

func InitTelegramNotifier()

func InitWeComNotifier

func InitWeComNotifier()

func Send

func Send(title, message string)

Types

type Notifier

type Notifier interface {
	Send(context.Context, string, string) error
	Name() string
}

type Notify

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

func New

func New() *Notify

func (*Notify) Send

func (n *Notify) Send(ctx context.Context, title, message string)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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