Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Topic string `json:"topic" yaml:"topic" label:"topic"` Address []string `json:"address" yaml:"address" label:"请求地址"` AuthSecret string `json:"auth_secret" yaml:"auth_secret" label:"鉴权secret"` ClientConf map[string]interface{} `json:"nsq_conf" yaml:"nsq_conf" skip:""` Type string `json:"type" yaml:"type" enum:"json,line" label:"输出格式"` Formatter eosc.FormatterConfig `json:"formatter" yaml:"formatter" label:"格式化配置"` }
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) ConfigType ¶
type Factory ¶
type Factory struct { }
func NewFactory ¶
func NewFactory() *Factory
Source Files ¶
Click to show internal directories.
Click to hide internal directories.