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 { Scopes []string `json:"scopes" label:"作用域"` // 所使用的网络协议, 如:tcp,udp,unix Network string `json:"network" yaml:"network" enum:"tcp,udp,unix" label:"网络协议"` Address string `json:"address" yaml:"address" label:"请求地址"` Level string `json:"level" yaml:"level" enum:"error,warn,info,debug,trace" label:"日志等级"` Type string `json:"type" yaml:"type" enum:"line,json" label:"输出格式"` ContentResize []ContentResize `json:"content_resize" yaml:"content_resize" label:"内容截断配置" switch:"type===json"` Formatter eosc.FormatterConfig `json:"formatter" yaml:"formatter" label:"格式化配置"` }
type ContentResize ¶ added in v0.15.1
type Output ¶ added in v0.8.0
type Output struct { drivers.WorkerBase // contains filtered or unexported fields }
func (*Output) CheckSkill ¶ added in v0.8.0
Click to show internal directories.
Click to hide internal directories.