Documentation
¶
Index ¶
Constants ¶
View Source
const (
Name = "http-counter"
)
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() eosc.IExtenderDriverFactory
func Register ¶
func Register(register eosc.IExtenderDriverRegister)
Types ¶
type Config ¶
type Config struct {
Scopes []string `json:"scopes" label:"作用域"`
URI string `json:"uri" label:"地址"`
Method string `json:"method" label:"请求方式" enum:"GET,POST,PUT,PATCH"`
ContentType string `json:"content_type" label:"请求体类型" enum:"json,form-data"`
Headers map[string]string `json:"headers" label:"请求头"`
QueryParam map[string]string `json:"query_param" label:"请求参数"`
BodyParam map[string]string `json:"body_param" label:"请求体参数"`
ResponseJsonPath string `json:"response_json_path" label:"响应体JsonPath路径"`
}
type Executor ¶
type Executor struct {
drivers.WorkerBase
// contains filtered or unexported fields
}
func (*Executor) CheckSkill ¶
Click to show internal directories.
Click to hide internal directories.