69 Commits

Author SHA1 Message Date
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
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
0ff1b76450 routeguide: reimplement distance calculation 2018-03-22 12:52:22 +01: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
faebfcb7bf Remove single-entry var blocks (#1589) 2017-10-18 09:59:23 -07:00
1ea63c9e71 Fix to avoid annoying firewall dialog on macOS (#1499)
macOS throws up an annoying firewall dialog with the following
question every time you start the route_guide/server:

Do you want the application “server” to accept incoming network connections?

This simple fix of actually typing out `localhost` seems to fix
this problem.
2017-08-31 10:24:01 -07:00
25b4a426b4 go-generate pb.go files and check in Travis to make sure they don't change (#1426) 2017-08-17 16:00:51 -07:00
98bc2cec5b Use log instead of grpclog in routeguide example (#1395) 2017-07-31 10:40:59 -07:00
b31f0c6036 Assign testdata path to correct variable (#1397) 2017-07-27 16:02:51 -07:00
e64ff5d75c Do not call testdata.Path when defining flags (#1394) 2017-07-27 14:00:18 -07:00
ca9e0c3458 Add testdata package and unify testdata to only one dir (#1297) 2017-07-25 10:24:45 -07:00
93166a0b0b Canonicalize https://grpc.io as the preferred URL prefix 2017-07-10 16:28:39 -07:00
a94a7ac054 add license for some files (#1296) 2017-06-12 18:10:06 -07:00
ddbf6c46a6 autofix license notice 2017-06-08 14:42:19 +02:00
a113590521 Update references to route_guide.proto to use new directory name (#1270)
route_guide.proto used to be in a directory called proto. It was renamed
to routeguide but the code/README still referred to the previous
directory name.

Signed-off-by: Steven Erenst <stevenerenst@gmail.com>
2017-05-31 14:16:25 -07:00
074dbfbc52 Add doc and example for mocking streaming RPCs (#1230)
* Example code for mocking streams
* Added another expectation on the stream
* Documentation for mocking streaming RPCs
2017-05-19 13:36:45 -07:00
883bfc7bc8 pb.go file update 2016-10-28 12:37:56 -07:00
727a60e4d1 update server reflection code to comply with the change to the grpc generator 2016-10-21 18:06:55 -07:00
ac90a026b6 *: go vet 2016-07-27 23:39:19 -04:00
a6bacfe42c Fix go vet 2016-06-29 13:36:10 -07:00
abe672d5ed Update generated files 2016-06-10 14:20:04 -07:00
88aeffff97 Merge pull request #720 from menghanl/update_generated_files
Update generated proto files and Makefile
2016-06-10 11:45:47 -07:00
0da018f37e Update generated files 2016-06-09 15:02:17 -07:00
59486d9c17 Rename TransportAuthenticator to TransportCredentials 2016-06-08 11:19:25 -07:00
b4ad52a6ec Comment typo 2016-04-24 16:01:42 +07:00
61e92eacc3 Phase 1 to add the server interceptor 2016-04-18 16:18:34 -07:00
accbf4c185 make proto 2016-02-04 17:35:04 -05:00
d3c0f79fa5 Sync example protos from main repository
grpc/grpc-java#1381
2016-02-03 10:14:35 -08:00
cbff74bfce Patching the rest of the test certs in the repo. 2015-11-11 15:27:42 -08:00
bf42086a4b regenerated the code for route_guide.proto 2015-10-29 14:26:16 -07:00
a15e3b9562 decodeFunc -> dec 2015-10-01 16:26:00 -07:00
1d81cf4f22 fix all the generated code 2015-10-01 14:35:07 -07:00
535f5d0f45 fixed broken link to old tutorial location 2015-09-08 14:23:55 +01:00
28d57dd1ec rename proto for route_guide example 2015-08-31 12:54:07 -07:00
158260f5a2 Merge pull request #308 from stanley-cheung/move_grpc_common_examples
Move grpc common examples
2015-08-27 19:12:35 -07:00
100ca6a0da fix benchmark, interop and examples 2015-08-27 17:32:57 -07:00
8740786e5b change all references of grpc-common to examples 2015-08-27 15:55:36 -07:00
e4a76146b2 Remove unnecessary import rename of the proto support package. 2015-06-24 11:36:31 +10:00
3617cd5ab3 revert handshaker changes 2015-05-12 17:59:20 -07:00
7c025e8694 move log package references to grpclog 2015-05-09 11:43:59 +02:00
101c1e1935 change log package references to grpc/log 2015-05-09 01:16:40 +02:00
0f85408fd4 Eliminate proto.Unmarshal in the generated code 2015-04-27 14:47:09 -07:00
2d13f82261 fix a typo 2015-03-25 15:29:01 -07:00