Versions in this module Expand all Collapse all v1 v1.0.6 Sep 13, 2015 v1.0.5 Aug 24, 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