Documentation ¶
Index ¶
- Constants
- type Request
- func (r *Request) AccessToken(accessToken string) *Request
- func (r *Request) AddApiParam(key string, val string) *Request
- func (r *Request) AddFileParam(key string, val []byte) *Request
- func (r *Request) ApiPath(path string) *Request
- func (r *Request) Debug(enableDebug bool) *Request
- func (r *Request) Do() (*Response, error)
- func (r *Request) Method(method string) *Request
- type Response
Constants ¶
View Source
const ( Version = "lazop-sdk-go-20180830" ApiGatewaySG = "https://api.lazada.sg/rest" ApiGatewayMY = "https://api.lazada.com.my/rest" ApiGatewayVN = "https://api.lazada.vn/rest" ApiGatewayTH = "https://api.lazada.co.th/rest" ApiGatewayPH = "https://api.lazada.com.ph/rest" ApiGatewayID = "https://api.lazada.co.id/rest" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct {
// contains filtered or unexported fields
}
func NewRequest ¶
func (*Request) AccessToken ¶
Click to show internal directories.
Click to hide internal directories.