commit | bb5b8a06683c4c1b24dbc47af978a8db302ef601 | [log] [tgz] |
---|---|---|
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | Wed Jul 05 21:27:40 2023 +0000 |
committer | GitHub <noreply@github.com> | Wed Jul 05 21:27:40 2023 +0000 |
tree | 0e2e7cae413d048974ea0f8887e0e2e7cdfec16d | |
parent | e32c3ef7943bb9270e9da08cfc3f03da42eb8e91 [diff] |
Bump google.golang.org/grpc from 1.49.0 to 1.53.0 Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.49.0 to 1.53.0. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.49.0...v1.53.0) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
samples for dubbo-go-pixiu
dubbogo/simple/nacos: http to dubbo with nacos registry
dubbogo/simple/triple: http to triple
dubbogo/simple/jaeger: pixiu with jaeger
dubbogo/simple/direct: http to dubbo with direct generic call
dubbogo/simple/body: http to dubbo with api_config.yaml
dubbogo/simple/resolve: http to dubbo with auto resolve protocol
grpc: grpc proxy
http/grpc: http to grpc transform
http/simple: http proxy
springcloud: http proxy with spring cloud registry
xds: pixiu with xds
cd dubbogo/simple
we can use start.sh to run samples quickly. for more info, execute command as below for more help
./start.sh [action] [project] ./start.sh help
we run body samples below step
prepare command will prepare dubbo-server and pixiu config file and start docker container needed
./start.sh prepare body
if prepare config file manually, notice:
./start.sh startServer body
./start.sh startPixiu body
if run pixiu manually in pixiu project, use command as below.
go run pixiu/*.go gateway start -c /[absolute-path]/dubbo-go-pixiu/samples/dubbogo/simple/body/pixiu/conf.yaml
use curl to send request
curl -X POST 'localhost:8881/api/v1/test-dubbo/user' -d '{"id":"0003","code":3,"name":"dubbogo","age":99}' --header 'Content-Type: application/json'
or just run unit test
./start.sh startTest body
./start.sh clean body