// New returns a new Hetzner Robot API client instance.
New returns a new Hetzner Robot API client instance.
// New returns a new Hetzner Robot API client instance .
func New(username, password string, httpClient *http.Client, opts ...ClientOpt) (*Client, error) {
	c := NewClient(username, password, httpClient)
	for _, opt := range opts {
		if err := opt(c); err != nil {
			return nil, err
		}
	}
	return c, nil
}
func New ( username , password string , httpClient * http . Client , opts ... ClientOpt ) ( * Client , error ) { c := NewClient ( username , password , httpClient ) for _ , opt := range opts { if err := opt ( c ) ; err != nil { return nil , err } } return c , nil }
New returns a new Hetzner Robot API client instance.
New returns a new Hetzner Robot API client instance .