Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfigGenerator ¶ added in v0.3.0
加载生成器的详细配置
func LoadConfigParser ¶ added in v0.3.0
加载解析器的详细配置
Types ¶
type Config ¶ added in v0.3.0
type Config struct { ParserName string `json:"parserName,omitempty"` ParserData interface{} `json:"parserData,omitempty"` Language string `json:"language,omitempty"` Protocol string `json:"protocol,omitempty"` GeneratorData interface{} `json:"generatorData,omitempty"` Template *generator.TemplateConfig `json:"template,omitempty"` }
var GlobalCFG *Config
func LoadConfigHeader ¶ added in v0.3.0
加载配置信息, 但不解析解析器和生成器的详细配置
Click to show internal directories.
Click to hide internal directories.