| 1 | package push |
| 2 | |
| 3 | import "github.com/denverdino/aliyungo/common" |
| 4 | |
| 5 | const ( |
| 6 | PushEndPoint = "https://cloudpush.aliyuncs.com/" |
| 7 | Push = "Push" |
| 8 | PushAPIVersion = "2016-08-01" |
| 9 | ) |
| 10 | |
| 11 | type Client struct { |
| 12 | common.Client |
| 13 | } |
| 14 | |
| 15 | func NewClient(accessKeyId, accessKeySecret string) *Client { |
| 16 | client := new(Client) |
| 17 | client.Init(PushEndPoint, PushAPIVersion, accessKeyId, accessKeySecret) |
| 18 | return client |
| 19 | } |