rename rpcx to zrpc

This commit is contained in:
kevin
2020-09-18 11:41:52 +08:00
parent 26e16107ce
commit 0b1ee79d3a
110 changed files with 154 additions and 154 deletions

View File

@@ -284,7 +284,7 @@ And now, lets walk through the complete flow of quickly create a microservice
```go
type Config struct {
rest.RestConf
Transform rpcx.RpcClientConf // manual code
Transform zrpc.RpcClientConf // manual code
}
```
@@ -299,7 +299,7 @@ And now, lets walk through the complete flow of quickly create a microservice
func NewServiceContext(c config.Config) *ServiceContext {
return &ServiceContext{
Config: c,
Transformer: transformer.NewTransformer(rpcx.MustNewClient(c.Transform)), // manual code
Transformer: transformer.NewTransformer(zrpc.MustNewClient(c.Transform)), // manual code
}
}
```
@@ -409,7 +409,7 @@ Till now, weve done the modification of API Gateway. All the manually added c
```go
type Config struct {
rpcx.RpcServerConf
zrpc.RpcServerConf
DataSource string // manual code
Table string // manual code
Cache cache.CacheConf // manual code