-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathamazonpa.go
More file actions
29 lines (26 loc) · 763 Bytes
/
amazonpa.go
File metadata and controls
29 lines (26 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package amazonpa
// Endpoints are the Amazon API endpoints by region
var Endpoints = map[string]string{
"BR": "webservices.amazon.com.br",
"CA": "webservices.amazon.ca",
"CN": "webservices.amazon.cn",
"DE": "webservices.amazon.de",
"ES": "webservices.amazon.es",
"FR": "webservices.amazon.fr",
"IN": "webservices.amazon.in",
"IT": "webservices.amazon.it",
"JP": "webservices.amazon.co.jp",
"MX": "webservices.amazon.com.mx",
"UK": "webservices.amazon.co.uk",
"US": "webservices.amazon.com",
}
// EndpointURI is the fixed request URI of the API
const EndpointURI = "/onca/xml"
// Config describes the service configuration
type Config struct {
AccessKey string
AccessSecret string
AssociateTag string
Region string
Secure bool
}