teamplus

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Every8dQueryResponse added in v1.0.0

type Every8dQueryResponse struct {
	SmsCount uint                        `json:"SMS_COUNT"`
	BatchId  string                      `json:"BID"`
	Data     []Every8dQueryResponse_Data `json:"DATA"`
}

func QuerySMS added in v1.0.0

func QuerySMS(userId string, password string, batchId string) (*Every8dQueryResponse, error)

func (*Every8dQueryResponse) Parse added in v1.0.0

func (eqr *Every8dQueryResponse) Parse(body []byte) error

type Every8dQueryResponse_Data added in v1.0.0

type Every8dQueryResponse_Data struct {
	MR           string `json:"MR"`
	Name         string `json:"NAME"`
	Mobile       string `json:"MOBILE"`
	SendTime     string `json:"SEND_TIME"`
	Cost         string `json:"COST"`
	Status       string `json:"STATUS"`
	RealCost     string `json:"REAL_COST"`
	ReceivedTime string `json:"RECEIVED_TIME"`
}

type Every8dResponse added in v1.0.0

type Every8dResponse struct {
	Credit  string
	Sended  string
	Cost    string
	Unsend  string
	BatchId string
	Status  string
	Message string
}

func SendSMS

func SendSMS(userId string, password string, subject string, mobile string, message string) (*Every8dResponse, error)

func (*Every8dResponse) Parse added in v1.0.0

func (er *Every8dResponse) Parse(body []byte) error

Jump to

Keyboard shortcuts

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