package
0.0.0-20190422025920-beccf3fe4313
Repository: https://github.com/changwh/go-common.git
Documentation: pkg.go.dev
# README
net/rcp/warden
项目简介
来自 bilibili 主站技术部的 RPC 框架,融合主站技术部的核心科技,带来如飞一般的体验。
编译环境
- 请只用 Golang v1.9.x 以上版本编译执行
依赖包
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
DefaultClient returns a new default Client instance with a default client interceptor and default dialoption.
NewClient returns a new blank Client instance with a default client interceptor.
NewConn will create a grpc conn by default config.
NewServer returns a new blank Server instance with a default server interceptor.
# Structs
Client is the framework's client side instance, it contains the ctx, opt and interceptors.
ClientConfig is rpc client conf.
Server is the framework's server side instance, it contains the GrpcServer, interceptor and interceptors.
ServerConfig is rpc server conf.