package
0.0.0-20220218190644-4958d6d39439
Repository: https://github.com/jhump/golang-x-tools.git
Documentation: pkg.go.dev
# Functions
NewPipeServer returns a test server that can be connected to via io.Pipes.
NewTCPServer returns a new test server listening on local tcp port and serving incoming jsonrpc2 streams using the provided stream server.
# Structs
PipeServer is a test server that handles connections over io.Pipes.
TCPServer is a helper for executing tests against a remote jsonrpc2 connection.
# Interfaces
Connector is the interface used to connect to a server.