Versions in this module Expand all Collapse all v0 v0.1.0 Jun 28, 2021 Changes in this version + func PathMatch(r *http.Request, p string) bool + func PrefixMatch(r *http.Request, p string) bool + func WatchFile(filename string, c chan bool) + type Config struct + Mode string + Rules []Rule + func (c Config) String() string + type Rule struct + Action string + Delay string + Method string + Path string + Prefix string + ReturnBody string + ReturnCode int + ReturnHeaders map[string]string + type Shaman struct + func NewShaman(backend string) (Shaman, error) + func (shaman *Shaman) ReloadConfig(newconfig Config) + func (shaman *Shaman) WatchConfig(configFile string)