25 lines
494 B
Go
25 lines
494 B
Go
package jedi
|
|
|
|
import "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk"
|
|
|
|
const (
|
|
PRODUCT = "jedi"
|
|
VERSION = "2020-08-04"
|
|
)
|
|
|
|
type Client struct {
|
|
sdk.Client
|
|
}
|
|
|
|
func (c *Client) SendSms(req *SendSmsRequest) (response *SendSmsResponse, err error) {
|
|
response = CreateSendSmsResponse()
|
|
err = c.DoAction(req, response)
|
|
return
|
|
}
|
|
|
|
func NewClientWithAccessKey(accesskey, secrect, source string) (client *Client, err error) {
|
|
client = &Client{}
|
|
err = client.InitWithOptions("", nil, "")
|
|
return
|
|
}
|