sms

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: MIT Imports: 5 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 NewSMS added in v0.3.0

func NewSMS(sigName string, templateCode string, accessKeyID string, accessKeySecret string, endpoint string) *SMS

func (*SMS) SendSMS

func (s *SMS) SendSMS(phone, code string) (*dysmsapi.SendSmsResponse, error)

type TemplateParam

type TemplateParam struct {
	Code string `json:"code"`
}

func (TemplateParam) String

func (t TemplateParam) String() string

Jump to

Keyboard shortcuts

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