7
0
gaore-common-sdk-go/sdk/requests/http_request.go

30 lines
559 B
Go
Raw Normal View History

2020-08-04 00:51:19 +08:00
package requests
type HttpRequest struct {
*baseRequest
}
2020-08-04 11:22:37 +08:00
2020-08-04 12:23:34 +08:00
func (request *HttpRequest) init() {
request.baseRequest = defaultBaseRequest()
request.Method = POST
}
2020-08-04 11:22:37 +08:00
func (request *HttpRequest) BuildUrl() string {
return ""
}
func (request *HttpRequest) BuildQueries() string {
return ""
}
2020-08-04 12:23:34 +08:00
func (request *HttpRequest) GetActionName() string {
return request.actionName
}
func (request *HttpRequest) InitWithApiInfo(product, version, action string) {
request.init()
request.product = product
request.version = version
request.actionName = action
}