Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Rule ¶
type Rule struct {
Action string `json:"action"`
Method string `json:"method,omitempty"`
Path string `json:"path,omitempty"`
Prefix string `json:"prefix,omitempty"`
Delay string `json:"delay,omitempty"`
ReturnCode int `json:"code,omitempty"`
ReturnBody string `json:"body,omitempty"`
ReturnHeaders map[string]string `json:"headers,omitempty"`
}
type Shaman ¶
type Shaman struct {
// contains filtered or unexported fields
}
func (*Shaman) ReloadConfig ¶
func (*Shaman) WatchConfig ¶
Click to show internal directories.
Click to hide internal directories.