Documentation
¶
Index ¶
Constants ¶
View Source
const (
TELEGRAM = "TELEGRAM"
)
View Source
const TELEGRAM_MAXLEN = 4096
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alert ¶
type Alert interface {
SendMessage(log AlertInfo) error
Initialize(log AlertProps) error
}
func New ¶
func New(logger string, props AlertProps) Alert
type TelegramSDK ¶
type TelegramSDK struct {
// contains filtered or unexported fields
}
func (*TelegramSDK) Initialize ¶
func (obj *TelegramSDK) Initialize(props AlertProps) error
func (TelegramSDK) SendMessage ¶
func (obj TelegramSDK) SendMessage(log AlertInfo) error
Click to show internal directories.
Click to hide internal directories.