Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() eosc.IExtenderDriverFactory
Types ¶
type Config ¶
type Config struct {
Url string `json:"url" yaml:"url" label:"请求地址"`
Method string `json:"method" label:"请求方法" enum:"POST,PUT" default:"POST"`
Scopes []string `json:"scopes" label:"作用域"`
Headers map[string]string `json:"headers" yaml:"headers" label:"请求头"`
Labels map[string]string `json:"labels" label:"标签"`
Type string `json:"type" yaml:"type" enum:"json,line" label:"输出格式"`
Formatter eosc.FormatterConfig `json:"formatter" yaml:"formatter" label:"格式化配置"`
}
type Output ¶
type Output struct {
drivers.WorkerBase
// contains filtered or unexported fields
}
func (*Output) CheckSkill ¶
Click to show internal directories.
Click to hide internal directories.