msg

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package msg is used to send messages vi Twillio, SMTP, etc

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Twilio added in v0.0.23

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

Twilio can be used to send messages through Twilio

func NewTwilio added in v0.0.23

func NewTwilio(twilioSid, twilioAuth, smsFrom string) *Twilio

NewTwilio creates a new messenger object

func (*Twilio) SendSMS added in v0.0.23

func (m *Twilio) SendSMS(to, msg string) error

SendSMS sends a sms message

Jump to

Keyboard shortcuts

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