Documentation ¶
Overview ¶
Package grpcclient implements a simple gRPC client that demonstrates how to use gRPC-Go libraries to perform unary, client streaming, server streaming and full duplex RPCs.
It interacts with the route guide service whose definition can be found in routeguide/route_guide.proto.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Ping ¶
func Ping(opts ...PingOption) error
Types ¶
type PingOption ¶
type PingOption func(*pingOpts)
func WithSSL ¶
func WithSSL() PingOption
func WithServerAddr ¶
func WithServerAddr(addr string) PingOption
Click to show internal directories.
Click to hide internal directories.