twiliogw

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTwilioGateway

func NewTwilioGateway(logger l0g.Logger) ports.NotifierGateway

NewTwilioGateway creates a new instance of the Twilio gateway.

Types

type Gateway

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

func (*Gateway) CreateCall

func (t *Gateway) CreateCall(message string) error

CreateCall creates a new call using the Twilio gateway.

func (*Gateway) SendMessage

func (t *Gateway) SendMessage(message string) error

SendMessage sends a message using the Twilio gateway.

Jump to

Keyboard shortcuts

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