grpcclient

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, args []string, inReader io.ReadCloser, outWriter, errWriter io.WriteCloser) (retErr error)

Run runs the client according to a client config read from the 'in' reader. The result of the run is written to the 'out' writer, including any errors encountered during the actual run. Any error returned from this function is indicative of an issue with the reader or writer and should not be related to the actual run.

func RunWithTrace

func RunWithTrace(ctx context.Context, args []string, inReader io.ReadCloser, outWriter, _ io.WriteCloser, trace *tracer.Tracer) (retErr error)

RunWithTrace is just like Run above, but it will collect request traces and send them to the given tracer if it is not nil.

Types

This section is empty.

Jump to

Keyboard shortcuts

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