notice

package
v0.0.0-...-b81b3d3 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateMessage

func GenerateMessage(ctx *common.Context, task *models.Task) *Message

Types

type Notice

type Notice interface {
	// Send 发送通知
	Send(*common.Context, *Message) error

	// Test 通知测试
	Test(*common.Context, string) error
}

func NewDriver

func NewDriver(c *models.Config) Notice

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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