Skip to content

Commit

Permalink
add doc and vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
g4zhuj committed Apr 20, 2018
1 parent 370cd44 commit 1ba659a
Show file tree
Hide file tree
Showing 87 changed files with 8,995 additions and 247 deletions.
39 changes: 35 additions & 4 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,23 @@
# grpc-wrapper
wrapper of grpc

grpc的封装扩展,集成通用的组件,形成一个微服务通讯框架.

## 支持的扩展

* 服务注册与发现<br>
etcd [OK] <br>
zookeeper [TODO]<br>

* 结构化日志 <br>
zap [OK] <br>

* 服务调用链追踪<br>
zipkin [TODO] <br>
jaeger [TODO] <br>

* 服务指标监控<br>
falcon-plus [TODO] <br>


## 实例
使用示例见examples
2 changes: 2 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import (

//CliConfiguration config of client
type CliConfiguration struct {
regCfg *RegistryConfig `yaml:"registry_config"`
logCfg *LoggerConfig `yaml:"logger_config"`
}

//RegistryConfig configures the etcd cluster.
Expand Down
1 change: 1 addition & 0 deletions vendor/github.com/gogo/protobuf/CONTRIBUTORS

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/github.com/gogo/protobuf/gogoproto/Makefile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

155 changes: 78 additions & 77 deletions vendor/github.com/gogo/protobuf/gogoproto/gogo.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions vendor/github.com/gogo/protobuf/gogoproto/gogo.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1ba659a

Please sign in to comment.