Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option struct { // pb option Protodirs []string // pb import路径 Protofile string // protofile文件 ProtofileAbs string // protofile绝对路径 // template option Assetdir string // 服务模板路径 Protocol string // 协议类型 //HttpOn bool // 生成http相关代码,使用-protocol=http代替-httpon RpcOnly bool // 只生成rpc相关代码,而非完整工程 // gorpc.json GoRPCCfg *config.TemplateCfg // gomod option GoMod string // 当前工程指定的gomod GoModEx string // go.mod中提取出的module // logging option Verbose bool // 输出verbose日志信息 // logging option OutputDir string // 项目输出路径 Force bool // 强制写入 }
Option 命令选项、配置选项
Click to show internal directories.
Click to hide internal directories.