standard

package
v0.0.0-...-3ada85e Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Response

type Response struct {
	AliSmsResponse *dysmsapi.SendSmsResponse
	TenSmsResponse *sms.SendSmsResponse
}

Unified SMS Response

func RespAli

func RespAli(ali *dysmsapi.SendSmsResponse) *Response

Set AliYun SMS Response

func RespTen

func RespTen(ten *sms.SendSmsResponse) *Response

Set Tencent SMS Response

type Sms

type Sms interface {
	Send(map[string]string) (*Response, error)
}

Custom sms interface

Jump to

Keyboard shortcuts

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