//
pkg.gl
Category
github.com/omni-network/omni
lib
chaos
package
0.11.0
Repository:
https://github.com/omni-network/omni.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
6
Dependents
1
Files
44 SLOC
#
Functions
MaybeError
MaybeError sometimes returns an error based on the probability set in the context.
WithErrProbability
WithErrProbability sets the chaos error probability for the given network in the context.
#
Variables
ErrChaos
ErrChaos is the error returned my MaybeError.