endpoints

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TelegramEndpointName = "telegram"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TelegramEndpoint

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

func InitializeTelegramEndpoint

func InitializeTelegramEndpoint(token string, exitChan <-chan struct{}, database db.Database) (*TelegramEndpoint, error)

func (*TelegramEndpoint) Process

func (e *TelegramEndpoint) Process()

func (*TelegramEndpoint) Send

func (e *TelegramEndpoint) Send(url, filter, message string) error

Jump to

Keyboard shortcuts

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