chore: formatting
This commit is contained in:
parent
af6421da88
commit
7c4154a459
6 changed files with 9 additions and 9 deletions
|
|
@ -44,4 +44,3 @@ func (c *MasterConfig) Merge(other MasterConfig) {
|
||||||
c.BackoffCount = other.BackoffCount
|
c.BackoffCount = other.BackoffCount
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@ type client struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var defaultClient *client
|
var defaultClient *client
|
||||||
|
|
||||||
const timeout = time.Duration(2) * time.Second
|
const timeout = time.Duration(2) * time.Second
|
||||||
|
|
||||||
func (c *client) makeRequest(method string, host string, path types.Path, data any, out any) error {
|
func (c *client) makeRequest(method string, host string, path types.Path, data any, out any) error {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue