16 lines
280 B
Go
16 lines
280 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
|
|
}
|