This is an automated email from the ASF dual-hosted git repository.

alexstocks pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu-samples.git

commit 920ae55d885b28a9951ed116e0a42cfb03271090
Merge: be8948f 58066c2
Author: Xin.Zh <[email protected]>
AuthorDate: Sun Jul 20 12:28:52 2025 +0800

    Merge pull request #78 from Similarityoung/grpc_stream
    
    Feat: Add grpc stream samples

 dubbogo/simple/jaeger/test/pixiu_test.go          |   2 +-
 go.mod                                            |  41 +-
 go.sum                                            |  86 ++--
 grpc/{ => deprecated}/pixiu/conf.yaml             |  20 +-
 grpc/{ => deprecated}/proto/hello_grpc.pb.go      |   0
 grpc/{ => deprecated}/proto/hello_grpc.proto      |   0
 grpc/{ => deprecated}/proto/hello_grpc_grpc.pb.go |   0
 grpc/{ => deprecated}/server/app/server.go        |   0
 grpc/{ => deprecated}/test/pixiu_test.go          |   2 +-
 grpc/simple/README.md                             |  62 +++
 grpc/simple/README_CN.md                          |  62 +++
 grpc/simple/client/client.go                      | 183 +++++++
 grpc/{ => simple}/pixiu/conf.yaml                 |  14 +-
 grpc/simple/routeguide/route_guide.pb.go          | 465 +++++++++++++++++
 grpc/simple/routeguide/route_guide.proto          | 113 ++++
 grpc/simple/routeguide/route_guide_grpc.pb.go     | 285 ++++++++++
 grpc/simple/server/route_guide_db.json            | 601 ++++++++++++++++++++++
 grpc/simple/server/server.go                      | 221 ++++++++
 grpc/simple/test/simple_test.go                   | 193 +++++++
 shutdown/http2/server/app/server.go               |   2 +-
 shutdown/http2/test/pixiu_test.go                 |   4 +-
 21 files changed, 2282 insertions(+), 74 deletions(-)

diff --cc go.mod
index ceaea77,210d0ed..a93e850
--- a/go.mod
+++ b/go.mod
@@@ -14,13 -14,12 +14,13 @@@ require 
        github.com/gin-gonic/gin v1.9.1
        github.com/gogo/protobuf v1.3.2
        github.com/joho/godotenv v1.3.0
 +      github.com/openai/openai-go v1.8.2
        github.com/spf13/cobra v1.6.0
-       github.com/stretchr/testify v1.8.4
+       github.com/stretchr/testify v1.10.0
        github.com/uber/jaeger-client-go v2.29.1+incompatible
-       google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1
-       google.golang.org/grpc v1.56.3
-       google.golang.org/protobuf v1.30.0
+       google.golang.org/genproto/googleapis/api 
v0.0.0-20240528184218-531527333157
+       google.golang.org/grpc v1.65.1
+       google.golang.org/protobuf v1.36.6
  )
  
  require (
diff --cc go.sum
index 7d6ccd5,cc5f667..1bf98c2
--- a/go.sum
+++ b/go.sum
@@@ -1262,20 -1271,10 +1273,20 @@@ github.com/stretchr/testify v1.8.0/go.m
  github.com/stretchr/testify v1.8.1/go.mod 
h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
  github.com/stretchr/testify v1.8.2/go.mod 
h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
  github.com/stretchr/testify v1.8.3/go.mod 
h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
- github.com/stretchr/testify v1.8.4 
h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
- github.com/stretchr/testify v1.8.4/go.mod 
h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
+ github.com/stretchr/testify v1.10.0 
h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
+ github.com/stretchr/testify v1.10.0/go.mod 
h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
  github.com/subosito/gotenv v1.2.0/go.mod 
h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
  github.com/tebeka/strftime v0.1.3/go.mod 
h1:7wJm3dZlpr4l/oVK0t1HYIc4rMzQ2XJlOMIUJUJH6XQ=
 +github.com/tidwall/gjson v1.14.2/go.mod 
h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
 +github.com/tidwall/gjson v1.14.4 
h1:uo0p8EbA09J7RQaflQ1aBRffTR7xedD2bcIVSYxLnkM=
 +github.com/tidwall/gjson v1.14.4/go.mod 
h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
 +github.com/tidwall/match v1.1.1 
h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA=
 +github.com/tidwall/match v1.1.1/go.mod 
h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM=
 +github.com/tidwall/pretty v1.2.0/go.mod 
h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
 +github.com/tidwall/pretty v1.2.1 
h1:qjsOFOWWQl+N3RsoF5/ssm1pHmJJwhjlSbZ51I6wMl4=
 +github.com/tidwall/pretty v1.2.1/go.mod 
h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU=
 +github.com/tidwall/sjson v1.2.5 
h1:kLy8mja+1c9jlljvWTlSazM7cKDRfJuR/bOJhcY5NcY=
 +github.com/tidwall/sjson v1.2.5/go.mod 
h1:Fvgq9kS/6ociJEDnK0Fk1cpYF4FIW6ZF7LAe+6jwd28=
  github.com/tklauser/go-sysconf v0.3.6/go.mod 
h1:MkWzOF4RMCshBAMXuhXJs64Rte09mITnppBXY/rYEFI=
  github.com/tklauser/go-sysconf v0.3.9/go.mod 
h1:11DU/5sG7UexIrp/O6g35hrWzu0JxlwQ3LSFUzyeuhs=
  github.com/tklauser/go-sysconf v0.3.10 
h1:IJ1AZGZRWbY8T5Vfk04D9WOA5WSejdflXxP03OUqALw=

Reply via email to