143 Commits

Author SHA1 Message Date
712624e686 examples: note about ALTS special access permission on GCP (#2846) 2019-06-20 13:39:07 -07:00
f7e18a395d examples: fixed spelling mistake in route_guide client example (#2873) 2019-06-19 10:24:51 -07:00
289eb50d88 internal: clean up README (#2764) 2019-04-11 10:11:17 -07:00
3910b873d3 bar: add ability to update resolver state atomically and pass directly to the balancer (#2693) 2019-03-22 10:48:55 -07:00
871b88ce2e doc: fix typos (#2655) 2019-02-25 10:31:22 -08:00
9c297a48bb examples: remove duplicated words (#2654) 2019-02-25 10:07:04 -08:00
2773c7bbcf Fix styling (#2647)
Fix styling
2019-02-21 16:37:37 -08:00
ae7b4f21da examples: correct typo in keepalive example (#2645) 2019-02-21 13:09:24 -08:00
b86a9dbd22 documentation: Adds package level comments (#2612)
* ADDED package level comments for: benchmark/, examples/helloworld/

* UPDATED code to run gofmt

* FIXED linter errors

* FIXED spelling error

* FIXED documentation based on feedback

* FIXED comment to add pointer to another file

* ADDED reference to start server

* ADDED fix to include command to start server
2019-02-21 13:05:00 -08:00
29c406a5bd examples: add keepalive example (#2637) 2019-02-14 16:58:00 -08:00
23ef1279c1 doc: fix broken link in auth doc (#2613) 2019-02-07 13:26:12 -08:00
6086f8d68f examples: reflection (#2594) 2019-01-25 15:35:01 -08:00
9572bbe0f9 cleanup: remove unused symbols (#2581) 2019-01-17 10:14:45 -08:00
59acad4c45 cleanup: more simplifications (#2574) 2019-01-16 13:07:56 -08:00
c71aa62423 example: interceptor (#2541)
fix #2483
2019-01-02 10:33:06 -08:00
36f3126920 example: name_resolving (#2514) 2018-12-27 14:30:17 -08:00
2197c7b0de example: load_balancing (#2504) 2018-12-27 14:29:52 -08:00
0a3dc64b95 example: debugging (#2536)
fixes #2491
2018-12-27 14:03:13 -08:00
3961168004 enhance log for hello world SayHello (#2538)
This PR adds a log to `SayHello`. This makes server logic more clear.
2018-12-27 12:40:13 -08:00
25de51fc02 example: errors (#2534)
* Adds readme.

* Fills readme.

* Adds readme.

* Moves error examples.

* Adds port flag.

* Changes the flag for clients.

* Adds package comments.
2018-12-21 16:55:49 -08:00
f286604fb2 example: cancellation (#2525) 2018-12-21 15:45:49 -08:00
2cb2074db0 example: authentication (#2531) 2018-12-21 14:43:20 -08:00
adac1aeabd example: compression (#2527) 2018-12-21 13:55:59 -08:00
30155c0ba1 example: errors (#2521)
* Adds readme.

* Fills readme.

* Adds readme.
2018-12-20 17:55:12 -08:00
463950a151 internal: example flag.Parse() and comments (#2526) 2018-12-20 12:43:38 -08:00
d9bc55b745 example: encryption (#2524)
fixes #2487
2018-12-19 16:45:46 -08:00
42df0c551e examples: deadline (#2494)
* Deadliner service

* Works.

* Uses helloworld.proto.

* Style fix

* Comments

* Uses Echo service and adds streaming example.

* Addresses the comments.

* Adds an error.

* Addresses PR comments.

* Removes port parameter from a function.
2018-12-14 15:36:21 -08:00
b74673af89 examples: wait_for_ready (#2503)
* Working example.

* Uses echo server.

* Style fix.

* Changes client streaming implementation.

* Adds README.

* replaces the use of failfast with waitforready.

* Adds package comment.
2018-12-13 16:13:38 -08:00
39333409e4 internal: copy testdata to routeguide (#2478)
So it's not necessary to set the testdata file as flag.

Without this, using relative directory, the example only works if run in `example/routeguide`.
2018-12-13 14:47:53 -08:00
9d925ce589 examples: metadata (#2500) 2018-12-13 14:45:14 -08:00
a3af876a09 internal: document example/echo proto (#2517) 2018-12-10 14:56:32 -08:00
187e357ac1 examples: multiplex (#2477) 2018-12-06 14:02:16 -08:00
49616eb1a1 examples: add echo proto (#2505) 2018-12-06 10:40:29 -08:00
04ea82009c cleanup: replace "x/net/context" import with "context" (#2439) 2018-11-12 13:30:41 -08:00
39a411827d internal: Update proto generated code (#2133) 2018-06-08 17:54:26 -07:00
f669235193 internal: update proto generated code (#2093) 2018-05-21 09:59:26 -07:00
a36eb4675a regenerate *.pb.go files due to proto-gen-go update (#2070) 2018-05-11 18:57:54 -07:00
e538e04cad proto: update generated code (#2039) 2018-05-01 12:53:20 -07:00
247a5d4487 Fix typos (#2020) 2018-04-24 16:09:35 -07:00
d27df52a27 documentation: add OAuth2 doc and example (#2003) 2018-04-18 11:25:19 -07:00
0ff1b76450 routeguide: reimplement distance calculation 2018-03-22 12:52:22 +01:00
5415d18359 Add documentation and example of adding details to errors (#1915) 2018-03-21 08:56:43 -07:00
f0a1202acd examples: Replace context.Background with context.WithTimeout (#1877) 2018-02-28 15:01:36 -08:00
82e9f61ddd Use keyed fields for struct initializers (#1829) 2018-01-24 10:45:49 -08:00
45088c2971 examples: fix concurrent map accesses in route_guide server (#1752) 2017-12-18 10:21:30 -08:00
580defabfe Fix grpc basics link in route_guide example (#1713) 2017-12-06 15:11:16 -08:00
3790967af4 Add protoc command to example/readme (#1653)
So users can copy the command and try with their own protos.
2017-11-06 14:58:18 -08:00
c91118c8fa Update examples/README.md (#1629) 2017-10-30 10:54:07 -07:00
5c3d956e18 Re-add support for Go1.6 (#1603) 2017-10-20 12:05:20 -07:00
faebfcb7bf Remove single-entry var blocks (#1589) 2017-10-18 09:59:23 -07:00