faultinject

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enable     bool          `json:"enable"`
	Delay      time.Duration `json:"delay"`
	Error      string        `json:"error"`
	Percentage uint32        `json:"percentage" default:"100"`
}

func (Config) Build

func (c Config) Build() interceptor.Interceptor

Jump to

Keyboard shortcuts

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