Documentation
¶
Index ¶
- func NewAdminClient(client admin.Client, errorRate float64, logger log.Logger) admin.Client
- func NewFrontendClient(client frontend.Client, errorRate float64, logger log.Logger) frontend.Client
- func NewHistoryClient(client history.Client, errorRate float64, logger log.Logger) history.Client
- func NewMatchingClient(client matching.Client, errorRate float64, logger log.Logger) matching.Client
- func NewShardDistributorClient(client sharddistributor.Client, errorRate float64, logger log.Logger) sharddistributor.Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAdminClient ¶
NewAdminClient creates a new instance of adminClient that injects error into every call with a given rate.
func NewFrontendClient ¶
func NewFrontendClient(client frontend.Client, errorRate float64, logger log.Logger) frontend.Client
NewFrontendClient creates a new instance of frontendClient that injects error into every call with a given rate.
func NewHistoryClient ¶
NewHistoryClient creates a new instance of historyClient that injects error into every call with a given rate.
func NewMatchingClient ¶
func NewMatchingClient(client matching.Client, errorRate float64, logger log.Logger) matching.Client
NewMatchingClient creates a new instance of matchingClient that injects error into every call with a given rate.
func NewShardDistributorClient ¶ added in v1.2.16
func NewShardDistributorClient(client sharddistributor.Client, errorRate float64, logger log.Logger) sharddistributor.Client
NewShardDistributorClient creates a new instance of sharddistributorClient that injects error into every call with a given rate.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.