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
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.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.