17 lines
237 B
Go
17 lines
237 B
Go
|
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{}
|
||
|
}
|