errorinjectors

package
v1.2.9-prerelease2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdminClient

func NewAdminClient(client admin.Client, errorRate float64, logger log.Logger) admin.Client

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

func NewHistoryClient(client history.Client, errorRate float64, logger log.Logger) history.Client

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL