grpcclient

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

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 Debug

func Debug(processTime time.Duration, forceFail bool, opts ...PingOption) error

func List added in v0.2.0

func List(opts ...PingOption) error

func Ping

func Ping(opts ...PingOption) error

func PingCtx added in v1.5.0

func PingCtx(ctx context.Context, opts ...PingOption) error

Types

type PingOption

type PingOption func(*pingOpts)

func WithSSL

func WithSSL() PingOption

func WithServerAddr

func WithServerAddr(addr string) PingOption

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL