outbound

package
v0.0.1-rc5 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertLogger

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

func NewAlertLogger

func NewAlertLogger(logger logrus.FieldLogger) *AlertLogger

func (*AlertLogger) SendMessage

func (al *AlertLogger) SendMessage(to, message string) error

type Sender

type Sender interface {
	SendMessage(to, message string) error
}

func CreateOutbounds

func CreateOutbounds(conf []*config.OutboundConfig, logger *logrus.Logger) []Sender

type Twilio

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

func NewTwilio

func NewTwilio(logger logrus.FieldLogger, configMap map[string]interface{}) (*Twilio, error)

func (*Twilio) SendMessage

func (t *Twilio) SendMessage(to, message string) error

Jump to

Keyboard shortcuts

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