noticeutils

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MIT, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTask

func AddTask(level notices.NoticeLevel, receivers []*notices.NoticeReceiver, subject string, message string)

添加任务

func RunTasks

func RunTasks()

运行任务

Types

type PushTask

type PushTask struct {
	Level     notices.NoticeLevel
	Receivers []*notices.NoticeReceiver
	Subject   string
	Message   string
}

发送任务

Jump to

Keyboard shortcuts

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