telegram

package
v0.0.0-...-041f5a1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Telegram

type Telegram struct {
	API             string
	Chats           []string `toml:"chats"`
	ResponseTimeout helpers.Duration
	// contains filtered or unexported fields
}

func (*Telegram) Description

func (t *Telegram) Description() string

func (*Telegram) Init

func (t *Telegram) Init() error

func (*Telegram) Notify

func (t *Telegram) Notify(check, time, output, status string) error

func (*Telegram) SampleConfig

func (t *Telegram) SampleConfig() string

func (*Telegram) SubConfig

func (t *Telegram) SubConfig() string

Jump to

Keyboard shortcuts

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