Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportRules ¶ added in v2.8.0
Types ¶
type Rule ¶
type Rule struct {
ID string `json:"id"`
Name string `json:"name,omitempty"`
Method string `json:"method,omitempty"`
URLPattern string `json:"url_pattern"`
BodyMatch string `json:"body_match,omitempty"`
Status int `json:"status"`
Headers map[string]string `json:"headers,omitempty"`
Body string `json:"body,omitempty"`
ContentType string `json:"content_type,omitempty"`
Delay time.Duration `json:"delay,omitempty"`
Sequence []SequenceStep `json:"sequence,omitempty"`
}
func ImportRules ¶ added in v2.8.0
type SequenceStep ¶ added in v2.8.0
Click to show internal directories.
Click to hide internal directories.