code: func WithEndpointConfig(endpointConfigs ...interface{}) Option {
  	return func(opts *options) error {
  		c, err := fabImpl.BuildConfigEndpointFromOptions(endpointConfigs...)
  		if err != nil {
  			return err
  		}
  		opts.endpointConfig = c
  		return nil
  	}
  }
docs: // WithEndpointConfig injects a EndpointConfig interface to the SDK
  // it accepts either a full interface of EndpointConfig or a list
  // of sub interfaces each implementing one (or more) function(s) of EndpointConfig