7
0
gaore-common-sdk-go/sdk/request/request.go
2020-08-03 21:00:41 +08:00

18 lines
310 B
Go

package request
import "time"
type AcsRequest interface {
GetReadTimeout() time.Duration
GetConnectTimeout() time.Duration
SetReadTimeout(readTimeOut time.Duration)
SetConnectTimeout(connectTimeOut time.Duration)
}
type baseRequest struct {
Scheme string
Method string
Host string
Domain string
}