Documentation ¶
Index ¶
Constants ¶
View Source
const ( Json bodyType = "json" FormData bodyType = "form-data" Form bodyType = "form" Raw bodyType = "raw" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertConfig ¶
type FormDataBody ¶
type LikConfig ¶
type LikConfig struct { Env []EnvConfig `json:"env" yaml:"env"` Config []NamespaceConfig `json:"config" yaml:"config"` Request RequestConfig `json:"request" yaml:"request"` Response ResponseConfig `json:"response" yaml:"response"` }
type NamespaceConfig ¶
type NamespaceConfig struct { Namespace string `json:"namespace" yaml:"namespace"` Request RequestConfig `json:"request" yaml:"request"` Response ResponseConfig `json:"response" yaml:"response"` }
type Request ¶
type Request struct { Namespace string `json:"namespace" yaml:"namespace"` Name string `json:"name" yaml:"name"` Method string `json:"method" yaml:"method"` Url string `json:"url" yaml:"url"` // Username basic header username Username string `json:"username" yaml:"username"` // Password basic header password Password string `json:"password" yaml:"password"` Repeat int `json:"repeat" yaml:"repeat"` Headers http.Header `json:"headers" yaml:"headers"` Queries url.Values `json:"queries" yaml:"queries"` Body Body `json:"body" yaml:"body"` Timeout string `json:"timeout" yaml:"timeout"` Skip bool `json:"skip" yaml:"skip"` ExitOnFailure bool `json:"exitOnFailure" yaml:"exitOnFailure"` Response response `json:"response" yaml:"response"` CertConfig `json:"inline" yaml:"inline"` // contains filtered or unexported fields }
func (*Request) ShouldRequest ¶
type RequestConfig ¶
type RequestConfig struct {
Timeout string `json:"timeout" yaml:"timeout"`
}
type RequestManager ¶
type RequestManager struct {
// contains filtered or unexported fields
}
RequestManager request manager
func NewRequestManager ¶
func (*RequestManager) Run ¶
func (r *RequestManager) Run() error
type ResponseConfig ¶
type ResponseConfig struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.