msg

package
v0.0.0-...-94bc3c9 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 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

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

Twilio can be used to send messages through Twilio

func NewTwilio

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

NewTwilio creates a new messenger object

func (*Twilio) SendSMS

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