@@ -10,27 +10,27 @@ import (
1010)
1111
1212type HTTP struct {
13- Title string `json:"title,omitempty" yaml:"title,omitempty"`
14- Meta meta `json:"meta,omitempty" yaml:"meta,omitempty"`
15- id string `json:"-" yaml:"-"`
16- URL string `json:"url,omitempty" yaml:"url,omitempty"`
17- Method string `json:"method,omitempty" yaml:"method,omitempty"`
18- Status matcher `json:"status" yaml:"status"`
19- AllowInsecure bool `json:"allow-insecure" yaml:"allow-insecure"`
20- NoFollowRedirects bool `json:"no-follow-redirects" yaml:"no-follow-redirects"`
21- Timeout int `json:"timeout,omitempty" yaml:"timeout,omitempty"`
22- RequestHeader []string `json:"request-headers,omitempty" yaml:"request-headers,omitempty"`
23- RequestBody string `json:"request-body,omitempty" yaml:"request-body,omitempty"`
24- RequestQueryParams map [string ]string `json:"request-query-params,omitempty" yaml:"request-query-params,omitempty"`
25- Headers matcher `json:"headers,omitempty" yaml:"headers,omitempty"`
26- Body matcher `json:"body,omitempty" yaml:"body,omitempty"`
27- Username string `json:"username,omitempty" yaml:"username,omitempty"`
28- Password string `json:"password,omitempty" yaml:"password,omitempty"`
29- CAFile string `json:"ca-file,omitempty" yaml:"ca-file,omitempty"`
30- CertFile string `json:"cert-file,omitempty" yaml:"cert-file,omitempty"`
31- KeyFile string `json:"key-file,omitempty" yaml:"key-file,omitempty"`
32- Skip bool `json:"skip,omitempty" yaml:"skip,omitempty"`
33- Proxy string `json:"proxy,omitempty" yaml:"proxy,omitempty"`
13+ Title string `json:"title,omitempty" yaml:"title,omitempty"`
14+ Meta meta `json:"meta,omitempty" yaml:"meta,omitempty"`
15+ id string `json:"-" yaml:"-"`
16+ URL string `json:"url,omitempty" yaml:"url,omitempty"`
17+ Method string `json:"method,omitempty" yaml:"method,omitempty"`
18+ Status matcher `json:"status" yaml:"status"`
19+ AllowInsecure bool `json:"allow-insecure" yaml:"allow-insecure"`
20+ NoFollowRedirects bool `json:"no-follow-redirects" yaml:"no-follow-redirects"`
21+ Timeout int `json:"timeout,omitempty" yaml:"timeout,omitempty"`
22+ RequestHeader []string `json:"request-headers,omitempty" yaml:"request-headers,omitempty"`
23+ RequestBody string `json:"request-body,omitempty" yaml:"request-body,omitempty"`
24+ RequestQueryParams map [string ][] string `json:"request-query-params,omitempty" yaml:"request-query-params,omitempty"`
25+ Headers matcher `json:"headers,omitempty" yaml:"headers,omitempty"`
26+ Body matcher `json:"body,omitempty" yaml:"body,omitempty"`
27+ Username string `json:"username,omitempty" yaml:"username,omitempty"`
28+ Password string `json:"password,omitempty" yaml:"password,omitempty"`
29+ CAFile string `json:"ca-file,omitempty" yaml:"ca-file,omitempty"`
30+ CertFile string `json:"cert-file,omitempty" yaml:"cert-file,omitempty"`
31+ KeyFile string `json:"key-file,omitempty" yaml:"key-file,omitempty"`
32+ Skip bool `json:"skip,omitempty" yaml:"skip,omitempty"`
33+ Proxy string `json:"proxy,omitempty" yaml:"proxy,omitempty"`
3434}
3535
3636const (
0 commit comments