channel

package
v0.0.0-...-d050cfb Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 ...

Jump to

Keyboard shortcuts

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