notify

package
v1.63.0 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2026 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Overview

Package notify : 通知処理

Package notify : 通知処理

Package notify : 通知処理

Package notify : 通知処理

Package notify : 通知処理

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecNotifyCmd added in v1.13.0

func ExecNotifyCmd(cmd string, level int) error

func GetNotifyOAuth2TokenStep1 added in v1.60.0

func GetNotifyOAuth2TokenStep1() (string, error)

func GetNotifyOAuth2TokenStep2 added in v1.60.0

func GetNotifyOAuth2TokenStep2(state, code string) error

func PostWebhook added in v1.58.0

func PostWebhook(url string, j []byte) error

func SendActionMail added in v1.35.0

func SendActionMail(subject, body string)

SendActionMail sends a notification email with the specified subject and body.

func SendChat added in v1.7.0

func SendChat(c *datastore.NotifyConfEnt, title, level, message string) error

func SendNotifyChat added in v1.7.0

func SendNotifyChat(l *datastore.EventLogEnt)

func SendTestMail

func SendTestMail(testConf *datastore.NotifyConfEnt) error

func Start

func Start(ctx context.Context, wg *sync.WaitGroup) error

func WebHookTest added in v1.58.0

func WebHookTest(n *datastore.NotifyConfEnt) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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