func newClient(endpoint string, opts ...Option) *Client {
	client := &Client{
		endpoint: endpoint,
	}

	for _, opt := range opts {
		opt(&client.opts)
	}

	return client
}
// New creates a new Client for a given endpoint that can be configured with
// multiple ClientOption
New creates a new Client for a given endpoint that can be configured with
multiple ClientOption
// New creates a new Client for a given endpoint that can be configured with // multiple ClientOption
func newClient(endpoint string, opts ...Option) *Client {
	client := &Client{
		endpoint: endpoint,
	}
	for _, opt := range opts {
		opt(&client.opts)
	}
	return client
}
func newClient ( endpoint string , opts ... Option ) * Client { client := & Client { endpoint : endpoint , } for _ , opt := range opts { opt ( & client . opts ) } return client }
New creates a new Client for a given endpoint that can be configured with
multiple ClientOption
New creates a new Client for a given endpoint that can be configured with multiple ClientOption