alerting

package
v0.0.0-...-344a3b9 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTelegramAlerter

func NewTelegramAlerter() *telegramAlert

NewTelegramAlerter returns a new instance for telegramAlert

Types

type TelegramAlerter

type TelegramAlerter interface {
	Send(msgText, botToken string, alerthnatID int64) error
}

TelegramAlerter is an interface definition for telegram related actions like Send telegram alert

Jump to

Keyboard shortcuts

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