grpcurl/testing/cmd/testserver
Joshua Humphries 6198551381
add bankdemo, from Gophercon 2018 demo (#45)
2018-09-07 18:21:02 -04:00
..
README.md add bankdemo, from Gophercon 2018 demo (#45) 2018-09-07 18:21:02 -04:00
testserver.go add bankdemo, from Gophercon 2018 demo (#45) 2018-09-07 18:21:02 -04:00
unix.go add bankdemo, from Gophercon 2018 demo (#45) 2018-09-07 18:21:02 -04:00

README.md

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.