yunpian

package
v0.0.0-...-7cf99fd Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ApiKey      string `mapstructure:"api_key"`
	TPLRegister string `mapstructure:"tpl_register"`
	TPLLogin    string `mapstructure:"tpl_login"`
	TPLPassword string `mapstructure:"tpl_password"`
}

type SMSYunpian

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

func NewSMSYunpian

func NewSMSYunpian(conf *Config) *SMSYunpian

func (SMSYunpian) SendChangePassword

func (s SMSYunpian) SendChangePassword(mobile, code string) error

func (SMSYunpian) SendLogin

func (s SMSYunpian) SendLogin(mobile, code string) error

func (SMSYunpian) SendRegister

func (s SMSYunpian) SendRegister(mobile, code string) error

Jump to

Keyboard shortcuts

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