add variable and method comments
This commit is contained in:
@@ -14,12 +14,14 @@ const (
|
||||
defaultHTTPTimeout = 5 * time.Second
|
||||
)
|
||||
|
||||
// DefaultHTTPClient is the default http client used if no client is provided.
|
||||
var DefaultHTTPClient = &http.Client{
|
||||
Timeout: defaultHTTPTimeout,
|
||||
}
|
||||
|
||||
var _ providers.Provider = &Client{}
|
||||
|
||||
// Client is the client to interact with the equinix metal graphql service.
|
||||
type Client struct {
|
||||
logger *zap.SugaredLogger
|
||||
httpClient *http.Client
|
||||
|
||||
Reference in New Issue
Block a user