sms

package
v1.0.63 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package sms provides helpers to work with sms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SMS added in v1.0.30

type SMS struct {
	Host       string   // sms server hostname or ip
	Port       string   // sms server port number
	Sender     string   // sms sender
	Content    string   // sms content
	Recipients []string // list of sms recipients
	UseHTTPS   bool     // use https?
}

SMS implements various information needed for the SMS type.

func (*SMS) SendSMS added in v1.0.30

func (s *SMS) SendSMS() error

SendSMS sends sms text message via the configured SMS gateway.}

Jump to

Keyboard shortcuts

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