notify

package
v1.72.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 31 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 ValidateURL added in v1.71.0

func ValidateURL(rawURL string) (string, error)

ValidateURL parses the raw URL and checks if it uses http or https scheme and has a non-empty host.

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