internal

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SMS

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

func InitSMS

func InitSMS(logger *logrus.Logger) *SMS

func (*SMS) SendSMS

func (self *SMS) SendSMS(message *SQSMessageSMSRequest)

type SQS

type SQS struct {
	SQS_URL       string
	SQS_QUEUE_URL string
	SQS_REGION    string
	// contains filtered or unexported fields
}

func InitSQS

func InitSQS(logger *logrus.Logger, sms *SMS) *SQS

func (*SQS) Run

func (self *SQS) Run()

type SQSMessageSMSRequest

type SQSMessageSMSRequest struct {
	Recipient string `json:"recipient"`
	Message   string `json:"message"`
}

Jump to

Keyboard shortcuts

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