8000 GitHub - webdylizhi/Sapi
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

webdylizhi/Sapi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

一个开源的微服务框架,功能还在完善中。

 定义服务
 服务文件
 生成服务工具
 https://github.com/protocolbuffers/protobuf/releases

https://www.grpc.io/docs/languages/go/quickstart/
https://developers.google.com/protocol-buffers/docs/reference/go-generated#package
 安装 gRPC
 1.# 下载 protoc 编译器
 wget https://github.com/protocolbuffers/protobuf/releases/download/v3.10.1/protoc-3.10.1-linux-x86_64.zip
 2.# 安装 protoc go 插件
 go get -u github.com/golang/protobuf/protoc-gen-go


 因为etcd直到3.4.12版本,grpc还是用的v1.26.0版本,所以protoc-gen-go要用低版本,方法如下:https://blog.csdn.net/yzf279533105/article/details/104416459

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 97.6%
  • HCL 1.1%
  • Other 1.3%
0