Documentation ¶
Index ¶
Constants ¶
View Source
const (
Name = "data_transform"
)
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 { RequestTransform bool `json:"request_transform" label:"请求转换"` ResponseTransform bool `json:"response_transform" label:"响应转换"` XMLRootTag string `json:"xml_root_tag" label:"XML根标签"` XMLDeclaration map[string]string `json:"xml_declaration" label:"XML声明"` ErrorType string `json:"error_type" label:"报错数据类型" default:"json" enum:"json,xml"` }
Click to show internal directories.
Click to hide internal directories.