Back to godoc.org

Package channel

v0.0.0-...-7f75649
Latest Go to latest

The highest tagged major version is .

Published: Jun 11, 2019 | Licenses: Apache-2.0 , Apache-2.0 | Module: github.com/bsed/trace

Index

type Email

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

Email 邮件

func NewEmail

func NewEmail(l *zap.Logger, addr, centerID, subject string) *Email

NewEmail ...

func (*Email) AlertPush

func (e *Email) AlertPush(msg *alert.Alert) error

AlertPush ...

type Message

type Message struct {
}

Message app消息推送

func NewMessage

func NewMessage() *Message

NewMessage ...

func (*Message) AlertPush

func (m *Message) AlertPush(msg *alert.Alert) error

AlertPush ...

type Mobile

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

Mobile 手机短信

func NewMobile

func NewMobile(l *zap.Logger, addr, centerID string) *Mobile

NewMobile ...

func (*Mobile) AlertPush

func (m *Mobile) AlertPush(msg *alert.Alert) error

AlertPush ...

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier