Commit Graph

37 Commits

Author SHA1 Message Date
Marco Ferrer 52d7f6af60
multiple: switch to math/rand/v2 (#7711)
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
2024-10-29 10:43:58 -07:00
Doug Fawley 2f52f9e005
examples: update remaining uses of grpc.Dial to NewClient (#7248) 2024-05-21 14:14:17 -07:00
Mikhail Mazurskiy 379a2f676c
*: add missing colon to errorf messages to improve readability (#5911) 2023-01-17 16:11:47 -08:00
stepbystep2 de73b2b645
examples: improve error messages (#5329) 2022-05-02 12:02:47 -07:00
Tiratom 0145b50cdc
use insecure.NewCredentials() instead of grpc.WithInsecure (#5087) 2022-01-12 14:19:03 -05:00
Hrishi Hiraskar 467630fc24
examples: remove usage of WithBlock in examples (#4858) 2021-11-01 11:06:39 -07:00
Zeke Lu 50c071e9b5
example: correct the default value for server_host_override (#4407) 2021-05-14 14:09:26 -07:00
Doug Fawley 4e8458e5c6
protobuf: update all generated code to google.golang.org/protobuf (#3932) 2020-10-21 16:05:44 -07:00
Easwar Swaminathan fd393c8989
testdata: Update testdata certs. (#3786)
* This will be used in certprovider tests where we would want more than one server and client certs.
* Also, updated existing usages of these certs to point to the new  files.
* Also copy over the required certs/key files. This avoids the example gomodule from depending on gRPC testdata package which should be able to change independently.
* Fix interop test's SAN.
2020-08-05 09:55:07 -07:00
Tariq Ibrahim 8e6052a06f
fix typo in flag description (#3520) 2020-04-13 13:55:48 -07:00
Michael Le 8988da6e70 examples: add examples regression test script (#3118) 2019-10-31 13:11:53 -07:00
Doug Fawley 4ec516e589
interop, examples: use localhost instead of 127.0.0.1 (#3124) 2019-10-28 14:41:46 -07:00
jbpratt f7e18a395d examples: fixed spelling mistake in route_guide client example (#2873) 2019-06-19 10:24:51 -07:00
Doug Fawley 04ea82009c
cleanup: replace "x/net/context" import with "context" (#2439) 2018-11-12 13:30:41 -08:00
Menghan Li f0a1202acd examples: Replace context.Background with context.WithTimeout (#1877) 2018-02-28 15:01:36 -08:00
dfawley 82e9f61ddd
Use keyed fields for struct initializers (#1829) 2018-01-24 10:45:49 -08:00
Menghan Li 98bc2cec5b Use log instead of grpclog in routeguide example (#1395) 2017-07-31 10:40:59 -07:00
Menghan Li 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
Jan Tattermusch ddbf6c46a6 autofix license notice 2017-06-08 14:42:19 +02:00
Steven Santos Erenst 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
Tamir Duberstein ac90a026b6
*: go vet 2016-07-27 23:39:19 -04:00
Menghan Li a6bacfe42c Fix go vet 2016-06-29 13:36:10 -07:00
Menghan Li 59486d9c17 Rename TransportAuthenticator to TransportCredentials 2016-06-08 11:19:25 -07:00
iamqizhao 28d57dd1ec rename proto for route_guide example 2015-08-31 12:54:07 -07:00
iamqizhao 100ca6a0da fix benchmark, interop and examples 2015-08-27 17:32:57 -07:00
Peter Edge 7c025e8694 move log package references to grpclog 2015-05-09 11:43:59 +02:00
Peter Edge 101c1e1935 change log package references to grpc/log 2015-05-09 01:16:40 +02:00
Daniel Wang 9ff931f934 Small fix to client.go 2015-03-04 15:44:58 -08:00
Daniel Wang 84451c554b Sync with upstream 2015-03-01 17:12:39 -08:00
Daniel Wang 46f39d3ebd Cosmetic updates to the route guide example 2015-03-01 17:05:46 -08:00
iamqizhao 2b993cd479 rename the convenience function to set TLS creds 2015-02-25 22:57:07 -08:00
Daniel Wang d58af39ead Change tls_server_name to server_host_override and improve README 2015-02-25 15:43:26 -08:00
Daniel Wang 401343c0dc Fix typos in comments 2015-02-25 15:10:15 -08:00
Daniel Wang 8fd7702f97 Make route guide implementation more go idiomatic 2015-02-25 12:08:12 -08:00
Daniel Wang 7ffe7b2473 Use the golang import path 2015-02-24 12:40:48 -08:00
Daniel Wang 3041c94cd0 Add an implementation of route guide server and client 2015-02-24 12:30:01 -08:00