notifier

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_TELEGRAM_ENDPOINT = "api.telegram.org"

Variables

This section is empty.

Functions

func Failure

func Failure(model config.ModelConfig, reason string)

func Success

func Success(model config.ModelConfig)

Types

type Base

type Base struct {
	Name string
	// contains filtered or unexported fields
}

type Mail

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

func NewMail

func NewMail(base *Base) (*Mail, error)

type Notifier

type Notifier interface {
	// contains filtered or unexported methods
}

type Webhook

type Webhook struct {
	Base

	Service string
	// contains filtered or unexported fields
}

func NewTelegram

func NewTelegram(base *Base) *Webhook

func NewWebhook

func NewWebhook(base *Base) *Webhook

Jump to

Keyboard shortcuts

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