aspsms

package
v0.0.0-...-e1b3a39 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AspSms

type AspSms struct {
	Config
	// contains filtered or unexported fields
}

AspSms contains the necessary values for the AspSms provider.

func NewAspSms

func NewAspSms(config Config) *AspSms

NewAspSms creates and returns a new AspSms struct.

func (*AspSms) Send

func (c *AspSms) Send(message sachet.Message) error

Send sends SMS to user registered in configuration.

type Config

type Config struct {
	Username string `yaml:"username"`
	Password string `yaml:"password"`
}

Config is the configuration struct for AspSms provider.

Jump to

Keyboard shortcuts

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