Versions in this module Expand all Collapse all v0 v0.2.0 Apr 20, 2023 Changes in this version + const TypeDefault + const TypeSmart + func Load(ctx context.Context, source settings.Source, c *Component) (http.RoundTripper, error) + func New(ctx context.Context, source settings.Source) (http.RoundTripper, error) + type Component struct + Default *DefaultComponent + Smart *SmartComponent + func NewComponent() *Component + func (c *Component) New(ctx context.Context, conf *Config) (http.RoundTripper, error) + func (c *Component) Settings() *Config + type Config struct + Default *DefaultConfig + Smart *SmartConfig + Type string + func (*Config) Name() string + type DefaultComponent struct + func (*DefaultComponent) New(ctx context.Context, conf *DefaultConfig) (http.RoundTripper, error) + func (*DefaultComponent) Settings() *DefaultConfig + type DefaultConfig struct + ContentType string + type RoundTripper = http.RoundTripper + type SmartComponent struct + Plugins []transportd.NewComponent + func (*SmartComponent) Settings() *SmartConfig + func (c *SmartComponent) New(ctx context.Context, conf *SmartConfig) (http.RoundTripper, error) + type SmartConfig struct + OpenAPI string + func (*SmartConfig) Name() string