grpcclient

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2023 License: Apache-2.0 Imports: 11 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 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

Jump to

Keyboard shortcuts

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