devfaults

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package devfaults injects synthetic transport faults. This is the ordinary build, in which it injects nothing and carries no injection code at all: the faulting implementation is behind the devfaults build tag, so a release binary provably cannot reach it.

Index

Constants

View Source
const Header = "X-Tessera-Dev-Fault"

Variables

View Source
var Available = []string{}

Functions

func BackupRecovery

func BackupRecovery(string) error

func Enabled

func Enabled() bool

func Wrap

func Wrap(next http.Handler, _ bool) http.Handler

Wrap returns the handler unchanged. The enabled argument is accepted so that a composition reads the same in both builds.

Types

This section is empty.

Jump to

Keyboard shortcuts

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