sms

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	Type                string `yaml:"type"`
	AccessKey           string `yaml:"access_key"`
	SecretKey           string `yaml:"secret_key"`
	SignName            string `yaml:"sign_name"`
	TemplateCode        string `yaml:"template_code"`
	ForeignTemplateCode string `yaml:"foreign_template_code"`
}

func FromEnv

func FromEnv() Conf

type SMS

type SMS interface {
	SendSms(phoneNumbers, captcha string) (smsResp map[string]interface{}, err error)
}

Directories

Path Synopsis
impl

Jump to

Keyboard shortcuts

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