grpc-go/examples
Matthew Stevenson 907bdaa1eb
alts: Read max number of concurrent ALTS handshakes from environment variable. (#6267)
* Read max number of concurrent ALTS handshakes from environment variable.

* Refactor to use new envconfig file.

* Remove impossible if condition in acquire().

* Use weighted semaphore.

* Add e2e test for concurrent ALTS handshakes.

* Separate into client and server semaphores.

* Use TryAcquire instead of Acquire.

* Attempt to fix go.sum error.

* Run go mod tidy compat=1.17.

* Update go.mod for examples subdirectory.

* Run go mod tidy -compat=1.17 on examples subdirectory.

* Update go.mod in subdirectories.

* Update go.mod in security/advancedtls/examples.

* Missed another go.mod update.

* Do not upgrade glog because it requires Golang 1.19.

* Fix glog version in examples/go.sum.

* More glog cleanup.

* Fix glog issue in gcp/observability/go.sum.

* Move ALTS env var into envconfig.go.

* Fix go.mod files.

* Revert go.sum files.

* Revert interop/observability/go.mod change.

* Run go mod tidy -compat=1.17 on examples/.

* Run gofmt.

* Add comment describing test init function.
2023-06-07 18:54:06 -07:00
..
data examples: regenerate certs to use SHA256 signing algorithm (#5256) 2022-03-21 10:41:21 -07:00
features deps: google.golang.org/genproto to latest in all modules (#6319) 2023-06-02 10:38:02 -07:00
helloworld go.mod: update all dependencies after 1.54 branch cut (#6132) 2023-03-28 16:03:41 -07:00
route_guide go.mod: update all dependencies after 1.54 branch cut (#6132) 2023-03-28 16:03:41 -07:00
README.md examples: organize READMEs better (#6121) 2023-03-21 13:19:15 -07:00
examples_test.sh examples: add error_handling example; move errors to error_details (#6293) 2023-05-17 14:57:56 -07:00
go.mod alts: Read max number of concurrent ALTS handshakes from environment variable. (#6267) 2023-06-07 18:54:06 -07:00
go.sum alts: Read max number of concurrent ALTS handshakes from environment variable. (#6267) 2023-06-07 18:54:06 -07:00
gotutorial.md cmd/protoc-gen-go-grpc: revert to interface-based service registration (#3911) 2020-09-29 15:17:06 -07:00

README.md

Examples

The following examples are provided to help users get started with gRPC-Go. They are arranged as follows:

  • helloworld - a simple example showing a basic client and server
  • routeguide - a more complicated example showing different types of streaming RPCs
  • features - a collection of examples, each focused on a single gRPC feature

data is a directory containing data used by the examples, e.g. TLS certificates.