//
pkg.gl
Category
github.com/scalarorg/go-electrum
jsonrpc
test
package
0.1.1
Repository:
https://github.com/scalarorg/go-electrum.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
9
Dependents
0
Files
132 SLOC
#
Functions
NewServer
NewServer creates a test server on an arbitrary unused port.
NewServerUsingPort
NewServerUsingPort creates a mock server on the given port.
ToResult
ToResult JSON-marshals the resul.
Write
Write writes the `response` to the socket.
#
Structs
AtomicVal
No description provided by the author
Server
Server is a TCP server useful for mocking a JSON RPC server.