telegram

package
v0.0.0-...-3dc5789 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

type Notifier interface {
	Notify(message string, level string) error
}

type Telegram

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

Telegram

func New

func New(conf config.Config) *Telegram

func (*Telegram) Notify

func (t *Telegram) Notify(n notify.Notification) error

Jump to

Keyboard shortcuts

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