7
0
gaore-common-sdk-go/sdk/config.go

17 lines
237 B
Go
Raw Normal View History

2020-08-03 20:48:58 +08:00
package sdk
import (
"net/http"
"time"
)
type Config struct {
Timeout time.Duration
HttpTransport *http.Transport `default:""`
Transport http.RoundTripper `default:""`
}
func NewConfig() *Config {
return &Config{}
}