Commit Graph

106 Commits

Author SHA1 Message Date
Doug Fawley c6264a9f90
examples: add an example of flow control behavior (#6648) 2023-09-27 08:03:41 -07:00
Doug Fawley fbff2abb0f
*: update `interface{}` to `any` and `go.mod` version to `go 1.19` (#6544) 2023-08-14 09:04:46 -07:00
Doug Fawley 03d32b9c9d
orca: update example and interop to use StateListener (#6529) 2023-08-11 10:22:25 -07:00
Easwar Swaminathan d7f45cdf9a
xds/server: create the xDS client when the xDS enabled gRPC server is created (#6446) 2023-07-20 17:29:12 -07:00
Easwar Swaminathan d524b40946
multiple: update dependencies after 1.57 branch cut (#6452) 2023-07-18 14:09:46 -07:00
Chris Smith c9d3ea5673
deps: google.golang.org/genproto to latest in all modules (#6319) 2023-06-02 10:38:02 -07:00
Doug Fawley 417d4b6895
examples: add error_handling example; move errors to error_details (#6293) 2023-05-17 14:57:56 -07:00
Doug Fawley 7d6134424a
examples: fix authz example to receive streaming error properly (#6270) 2023-05-11 09:24:03 -07:00
Doug Fawley add90153d4
orca: allow a ServerMetricsProvider to be passed to the ORCA service and ServerOption (#6223) 2023-05-02 15:04:33 -07:00
Zach Reyes 875c97a94d
examples/features/observability: use observability module v1.0.0 (#6210) 2023-04-18 14:13:24 -04:00
Zach Reyes c2899dddf5
examples/features/observability: Point o11y example to latest gcp/observability module (#6162) 2023-03-30 20:46:44 -04:00
Easwar Swaminathan 415ccdf154
go.mod: update all dependencies after 1.54 branch cut (#6132) 2023-03-28 16:03:41 -07:00
Zach Reyes c018273e53
examples: Add observability example (#6149) 2023-03-23 19:57:26 -04:00
Doug Fawley 16c3b7df7f
examples: add example for ORCA load reporting (#6114) 2023-03-14 14:01:16 -07:00
Doug Fawley 558e1b6f7f
examples/authz: add token package docstring (#6095) 2023-03-07 14:50:03 -08:00
Borja Lazaro Toralles 20141c2596
examples: add an example to illustrate authorization (authz) support (#5920) 2023-03-02 09:17:20 -08:00
Arvind Bright 8ba23be961
cmd/protoc-gen-go-grpc: bump -version to 1.3.0 for release (#6064) 2023-03-01 09:58:20 -08:00
Borja Lazaro Toralles 3151e834fa
cmd/protoc-gen-go-grpc: export consts for full method names (#5886) 2023-02-01 13:20:35 -08:00
Kyle J. Burda 3930549b38
resolver: replace resolver.Target.Endpoint field with Endpoint() method (#5852)
Fixes https://github.com/grpc/grpc-go/issues/5796
2023-01-24 12:03:56 -08:00
Mikhail Mazurskiy 379a2f676c
*: add missing colon to errorf messages to improve readability (#5911) 2023-01-17 16:11:47 -08:00
Theodore Salvo f2fbb0e07e
Deprecate use of `ioutil` package (#5906)
Resolves https://github.com/grpc/grpc-go/issues/5897
2023-01-03 11:20:20 -08:00
Theodore Salvo c90744f16a
oauth: mark `NewOauthAccess` as deprecated and update examples to use `TokenSource` (#5882)
* Mark NewOauthAccess as deprecated & change examples

* Fix composite literal uses unkeyed fields for v1.19
2022-12-27 21:06:47 -06:00
richzw a2054471ce
examples: add new example to show updating metadata in interceptors (#5788) 2022-12-06 08:57:50 -08:00
Yash Handa be202a2601
examples: add an example to illustrate the usage of stats handler (#5657) 2022-11-29 10:36:32 -08:00
Doug Fawley 3011eaf70e
test/tools: update staticcheck version to latest (#5806) 2022-11-18 13:51:43 -08:00
Doug Fawley fefb3ec0c0
test/tools: update everything to latest versions except staticcheck (#5805) 2022-11-18 11:26:37 -08:00
Jan Lamecki 54521b22e0
client: remove trailing null from unix abstract socket address (#5678) 2022-09-30 09:34:05 -07:00
RedHawker 182e9df160
Grab comment from proto file, similar to protoc-gen-go (#5540) 2022-09-06 12:35:40 -07:00
mitchsw c402378755
doc: remove comment about obsolete GRPC_GO_RETRY env var (#5495) 2022-07-12 13:36:41 -07:00
Easwar Swaminathan 15739b5c88
health: split imports into healthpb and healthgrpc (#5466) 2022-06-24 13:31:35 -07:00
Shang Jian Ding 328efcc927
example: add mutual TLS example (#5194) 2022-02-24 10:28:58 -08:00
赵延 c44f627fd1
cleanup: replace grpc.WithInsecure with insecure.NewCredentials (#5177) 2022-02-09 11:17:46 -08:00
Doug Fawley c285fc70e0
cmd/protoc-gen-go-grpc: update version for release (#5070) 2021-12-20 15:40:38 -08:00
Hrishi Hiraskar 467630fc24
examples: remove usage of WithBlock in examples (#4858) 2021-11-01 11:06:39 -07:00
Doug Fawley 3b1d3e48c9
examples: update load balancing example to use loadBalancingConfig (#4887) 2021-10-19 16:47:48 -07:00
Easwar Swaminathan ea41fbfa10
examples: unix abstract socket (#4848) 2021-10-11 14:55:45 -07:00
Zeke Lu 50c071e9b5
example: correct the default value for server_host_override (#4407) 2021-05-14 14:09:26 -07:00
Aliaksandr Mianzhynski d6abfb4598
cmd/protoc-gen-go-grpc: add protoc and protoc-gen-go-grpc versions to top comment (#4313) 2021-04-09 16:30:59 -07:00
Easwar Swaminathan 2df4370b33
examples: update xds examples for PSM security (#4256) 2021-04-08 16:02:52 -07:00
Fagner Nunes Carvalho fce74a94bd
cleanup: fix typo in Interceptor README (#4249) 2021-03-08 16:37:15 -08:00
Doug Fawley f005af03c2
examples: delete profiling example since profiling support was rolled back (#4182) 2021-02-03 13:21:42 -08:00
Doug Fawley 938f6e2f75
cmd/protoc-gen-go-grpc: add gRPC-Go version comment and update release version (#4152) 2021-01-14 14:28:25 -08:00
Edmond 8f3cc6cc26
protoc-gen-go-grpc: export grpc.ServiceDesc (#4035) 2020-11-23 14:56:57 -08:00
Timothy Gu 20636e76a9
protobuf: update protoc to latest version (#4038)
Presently, protoc 3.3.0 (released in 2017) is still being used. This
commit updates the vet.sh script as well as existing generated files to
use protoc 3.14.0 instead.

The only concrete change this brings is updated import paths of
Timestamp and Duration types. However, in practice this is a no-op,
since the types themselves are already aliased to the new import path:

- https://pkg.go.dev/github.com/golang/protobuf@v1.4.3/ptypes/duration#Duration
- https://pkg.go.dev/github.com/golang/protobuf@v1.4.3/ptypes/timestamp#Timestamp
2020-11-16 16:59:46 -08:00
Chongyang Shi c6fa12175f
Fix a typo in interceptor example's README.md (#4014) 2020-11-04 09:28:19 -08:00
Doug Fawley 4e8458e5c6
protobuf: update all generated code to google.golang.org/protobuf (#3932) 2020-10-21 16:05:44 -07:00
Doug Fawley 9519efffeb
cmd/protoc-gen-go-grpc: use grpc.ServiceRegistrar instead of *grpc.Server (#3968) 2020-10-20 13:02:25 -07:00
Doug Fawley 02cd07d9bb
cmd/protoc-gen-go-grpc: revert to interface-based service registration (#3911) 2020-09-29 15:17:06 -07:00
Doug Fawley ff9dd65c90
protoc-gen-go-grpc: generate interfaces optionally; remove NewFooService (#3876) 2020-09-16 10:15:56 -07:00
Doug Fawley d31b671000
cmd/protoc-gen-go-grpc: call interceptor even if handler is unset (#3849) 2020-08-26 16:05:36 -07:00