notifier

package
v0.0.0-...-09ea632 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrArgNil error = errors.New("Argument may not be nil.")
)

Functions

This section is empty.

Types

type NotifyAgent

type NotifyAgent struct {
	Sender     string
	Receiver   string
	RestClient *twilio.RestClient
}

func (NotifyAgent) SendMessage

func (n NotifyAgent) SendMessage(msg string) error

func (*NotifyAgent) SetReceiver

func (n *NotifyAgent) SetReceiver(s string) error

func (*NotifyAgent) SetRestClient

func (n *NotifyAgent) SetRestClient(r *twilio.RestClient) error

func (*NotifyAgent) SetSender

func (n *NotifyAgent) SetSender(s string) error

Jump to

Keyboard shortcuts

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