7
0
gaore-common-sdk-go/services/jedi/client.go

25 lines
494 B
Go
Raw Normal View History

2020-08-03 20:48:58 +08:00
package jedi
import "golib.gaore.com/GaoreGo/gaore-common-sdk-go/sdk"
2020-08-04 12:23:34 +08:00
const (
PRODUCT = "jedi"
VERSION = "2020-08-04"
)
2020-08-03 20:48:58 +08:00
type Client struct {
sdk.Client
}
2020-08-04 12:23:34 +08:00
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
2020-08-03 20:48:58 +08:00
}