Involved Source Filesclient.go Package grpcprocess provides [process.Runner] wrappers for [grpc.ClientConn]
and [grpc.Server].server.go
Package-Level Type Names (total 3, in which 2 are exported)
/* sort exporteds by: | */
ClientConn is a process-managed gRPC client connection. Invoke performs a unary RPC and returns after the response is received
into reply. NewStream begins a streaming RPC. Run executes the process. Callback function is called when the
process has been initialized and began execution. The process is
interrupted if the callback returns or the given context expires.
On termination the context passed to the callback is canceled.
To make debugging easier, callback runs in the same goroutine where
Run was invoked. Note though that this behavior currently is not
supported by all existing Run implementations.
It is safe to assume that callback is called at most once per Run
invocation.
*client
ClientConn : go.pact.im/x/process.Runner
ClientConn : google.golang.org/grpc.ClientConnInterface
func Client(connect ClientFunc) ClientConn
ClientFunc creates a gRPC client connection using the given context.
func Client(connect ClientFunc) ClientConn