command
module
Version:
v1.0.5
Opens a new window with list of versions in this module.
Published: Mar 1, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
rigger
Very convenient scaffold components, support Gaea, Odin framework code generation, support process management, support code management
安装
go get github.com/qunxu/rigger
命令介绍
build
clean
example
genc
flag说明
* -b, --basepath string service BasePath (default "xes_xueyan_hudong")
* -i, --importpath string service proto import path (default "git.100tal.com/wangxiao_xueyan_hudong/common")
* -p, --projectpath string your project path
```
BasePath为在注册中心中注册服务的前缀,可区分服务组,-b 参数修改默认值
Importpath是sdk内引用服务公共代码,参数结构体proto路径,如图,为importpath/[servicename]/proto,-i 参数修改默认值
projectpath为指定Micro服务端项目路径,默认值为$GOPATH/[servicename],如不在此路径下,需通过-p 参数指定
```
gens
help
new
start
-
用途:
启动项目
-
命令:
rigger start
-
说明:
status
stop
restart
tag
fswatch
frame
-
用途:
gaea&odin 启动项插件化管理,命令添加可选插件
-
命令:
rigger frame [Plugin|Middleware] (pprof/perf/expvar/maxfd|perf/trace)
-
说明:
支持gaea&odin的启动插件,以及gaea框架中的http中间件
插件包括pprof性能分析插件、perf耗时打点插件、expvr内存分析插件、maxfd最大文件打开数管理
reverse
tree
-
用途:
查看golang生态组件
-
命令:
rigger tree
rigger trem [name]
-
说明:
rigger tree命令查看所有golang组件
rigger tree 组件名,可查看组件详情并下载组件
联系我们
(微信扫一扫,申请加入开发讨论微信群)
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.