notify

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPanicHTMLEmail

func NewPanicHTMLEmail(method, host, uri, id string, msg interface{}, stack string) (subject string, body string, err error)

NewPanicHTMLEmail 发送系统异常邮件 html

func OnPanicNotify

func OnPanicNotify(ctx core.Context, err interface{}, stackInfo string)

OnPanicNotify 发生 panic 时进行通知

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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