exotel

package
v0.0.0-...-65fcbcb Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: BSD-2-Clause Imports: 6 Imported by: 2

Documentation

Index

Constants

View Source
const ExotelRequestTimeout = time.Second * 20

ExotelRequestTimeout is the timeout for http request to exotel.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	AccountSID string `yaml:"account_sid"`
	AuthToken  string `yaml:"auth_token"`
}

Config configuration struct for exotel Client.

type Exotel

type Exotel struct {
	AccountSid string
	Token      string
}

Exotel is the exte Exotel.

func NewExotel

func NewExotel(config Config) *Exotel

NewExotel creates a new.

func (*Exotel) Send

func (c *Exotel) Send(message sachet.Message) (err error)

Send send sms to n number of people using bulk sms api.

Jump to

Keyboard shortcuts

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