notice

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: MIT Imports: 2 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 interface {
	Notice(content string)
}

func NewSlackWebhookMsg

func NewSlackWebhookMsg(webhookurl string) Notifier

func NewWechatWebhookMsg

func NewWechatWebhookMsg(webhookurl string) Notifier

type SlackWebhookMsg

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

func (SlackWebhookMsg) Notice

func (wm SlackWebhookMsg) Notice(content string)

type WechatWebhookMsg

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

func (WechatWebhookMsg) Notice

func (wm WechatWebhookMsg) Notice(content string)

Jump to

Keyboard shortcuts

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