没有合适的资源?快使用搜索试试~ 我知道了~
块服务
共38个文件
go:24个
proto:4个
md:4个
需积分: 9 0 下载量 47 浏览量
2021-03-03
11:05:11
上传
评论
收藏 7.2MB ZIP 举报
温馨提示
Kratos布局 安装Kratos go get -u github.com/go-kratos/kratos/cmd/kratos/v2@latest 创建服务 # create a template project kratos new helloworld cd helloworld # Add a proto template kratos proto add api/helloworld/helloworld.proto # Generate the source code of service by proto file kratos proto server api/helloworld/helloworld.proto -t internal/service go generate ./... go build -o ./bin/ ./... ./bin/hellowor
资源推荐
资源详情
资源评论
收起资源包目录
block-service-master.zip (38个子文件)
block-service-master
api
spot
spot.proto 1KB
spot.pb.go 20KB
spot_grpc.pb.go 8KB
spot_http.pb.go 3KB
helloworld
errors
helloworld.proto 427B
helloworld_errors.pb.go 464B
helloworld.pb.go 5KB
v1
greeter_grpc.pb.go 3KB
greeter.pb.go 8KB
greeter_http.pb.go 1KB
greeter.proto 721B
.gitignore 528B
go.mod 702B
LICENSE 1KB
go.sum 44KB
README.md 601B
configs
config.yaml 289B
generate.go 54B
cmd
block-service
wire.go 591B
main.go 2KB
block-service 14.65MB
wire_gen.go 980B
internal
biz
README.md 6B
biz.go 128B
greeter.go 605B
data
README.md 7B
data.go 1KB
greeter.go 480B
server
grpc.go 915B
server.go 148B
http.go 842B
ws.go 1KB
service
README.md 10B
greeter.go 858B
spot.go 916B
service.go 152B
conf
conf.proto 925B
conf.pb.go 22KB
共 38 条
- 1
资源评论
吃肥皂吐泡沫
- 粉丝: 28
- 资源: 4587
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功