testserver

command
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MIT Imports: 15 Imported by: 0

README

testserver

The testserver program is a simple server that can be used for testing RPC clients such as grpcurl. It implements an RPC interface that is defined in grpcurl's testing package and also exposes the implementation that is defined in that same package. This is the same test interface and implementation that is used in unit tests for grpcurl.

For a possibly more interesting test server, take a look at bankdemo, which is a demo gRPC app that provides a more concrete RPC interface, including full-duplex bidirectional streaming methods, plus an example implementation.

Documentation

Overview

Command testserver spins up a test GRPC server.

Jump to

Keyboard shortcuts

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