package
0.0.0-20200317130110-931966b891fe
Repository: https://github.com/eclipse/che-go-jsonrpc.git
Documentation: pkg.go.dev

# Functions

NewConnRecorder returns a new conn recorder.
NewReqRecorder creates a new recorder.
NewTmpTunnel creates a new running jsonrpc.Tunnel based on test connection and test request dispatcher which will be automatically closed after specified timeout.
ReqSent is a predicate that waits until a given method is requested.
ResponseArrivedAtLeast is a predicate that allows to wait until write is called at least given number of times.
WriteCalledAtLeast is a predicate that allows to wait until write is called at least given number of times.

# Structs

ConnRecorder is a fake connection which records all writes and provides functionality to push reads.
ReqRecorder helps to catch/record jsonrpc.Tunnel incoming requests.

# Type aliases

NativeConnWaitPredicate is used to wait on recorder until the condition behind this predicate is met.
ReqRecorderWaitPredicate is used to wait on recorder until the condition behind this predicate is met.