mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-15 05:09:55 +00:00
12 lines
165 B
Go
12 lines
165 B
Go
package rest
|
|
|
|
import "net/http"
|
|
|
|
type option func(*Client)
|
|
|
|
func WithHttpClient(client *http.Client) option {
|
|
return func(c *Client) {
|
|
c.httpClient = client
|
|
}
|
|
}
|