code: func createClient(ctx context.Context, config tenantConfig, options ...configuration.HTTPClientOption) (*tenant.Client, error) {
  	u, err := url.Parse(config.GetTenantServiceURL())
  	if err != nil {
  		return nil, err
  	}
  	httpClient := http.DefaultClient
  	// apply options
  	for _, opt := range options {
  		opt(httpClient)
  	}
  	c := tenant.New(goaclient.HTTPClientDoer(httpClient))
  	c.Host = u.Host
  	c.Scheme = u.Scheme
  	c.SetJWTSigner(goasupport.NewForwardSigner(ctx))
  	return c, nil
  }
docs: // createClient creates a client to the tenant service with the given configuration and options for the underlying HTTP client