Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ORDClient ¶
type ORDClient struct {
// contains filtered or unexported fields
}
ORDClient handles the communication with ord aggregator API
func NewORDClient ¶
func NewORDClient(cfg OrdAggregatorClientConfig) *ORDClient
NewORDClient creates new ord aggregator client
func (*ORDClient) SetHTTPClient ¶
SetHTTPClient sets the underlying HTTP client
type OrdAggregatorClientConfig ¶
type OrdAggregatorClientConfig struct { ClientTimeout time.Duration `envconfig:"APP_ORD_AGGREGATOR_CLIENT_TIMEOUT,default=30s"` OrdAggregatorAggregateAPI string `envconfig:"APP_ORD_AGGREGATOR_AGGREGATE_API"` SkipSSLValidation bool `envconfig:"default=false,APP_ORD_AGGREGATOR_SKIP_SSL_VALIDATION"` }
OrdAggregatorClientConfig is the configuration needed for ord aggregator client
Click to show internal directories.
Click to hide internal directories.