sms

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthToken

func AuthToken(client *httpclient.ReqClient) (s string, e error)

func Bind

func Bind(s Sms)

func Send

func Send(client *httpclient.ReqClient, token string, smsParam map[string]string, phone ...string) (e error)

Types

type Sms

type Sms interface {
	AuthToken(client *httpclient.ReqClient) (string, error)
	Send(client *httpclient.ReqClient, token string, smsParam map[string]string, phone ...string) error
}

Jump to

Keyboard shortcuts

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