notifier

package
v1.0.0-develop.3 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2018 License: GPL-3.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mail

type Mail struct {
	To, Subject, Body, Lang string
}

func (Mail) Send

func (mail Mail) Send()

type Notifier

type Notifier struct {
	Messages []interface{}
}

func (Notifier) Run

func (notifier Notifier) Run()

type Telegram

type Telegram struct {
	ID   string
	Text string
}

func (Telegram) Send

func (telegram Telegram) Send()

type TelegramErrorResponse

type TelegramErrorResponse struct {
	Ok          bool   `json:"ok"`
	ErrorCode   int    `json:"error_code"`
	Description string `json:"description"`
}

Jump to

Keyboard shortcuts

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