Versions in this module Expand all Collapse all v0 v0.2.1 Sep 22, 2015 Changes in this version + var ErrSimulatedConnectionResetByPeer = Error + var LogChaos = ChaosNotifier(logChaos{}) + func NewChaosRoundTripper(rt http.RoundTripper, notify ChaosNotifier, c ...Chaos) http.RoundTripper + type Chaos interface + Intercept func(req *http.Request) (bool, *http.Response, error) + type ChaosFunc func(req *http.Request) (bool, *http.Response, error) + func (fn ChaosFunc) Intercept(req *http.Request) (bool, *http.Response, error) + func (fn ChaosFunc) String() string + type ChaosNotifier interface + OnChaos func(req *http.Request, c Chaos) + type Error struct + func (e Error) Intercept(_ *http.Request) (bool, *http.Response, error) + type Seed struct + func NewSeed(seed int64) Seed + func (s Seed) P(p float64, c Chaos) Chaos