fault

package
v0.0.0-...-456d83e Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FaultClient

func FaultClient(optFuncs ...CallOption) grpc.UnaryClientInterceptor

func FaultServer

func FaultServer(optFuncs ...CallOption) grpc.UnaryServerInterceptor

Types

type CallOption

type CallOption struct {
	grpc.EmptyCallOption // make sure we implement private after() and before() fields so we don't panic.
	// contains filtered or unexported fields
}

func WithAbortProbability

func WithAbortProbability(probability float64) CallOption

Jump to

Keyboard shortcuts

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