Documentation
¶
Index ¶
Constants ¶
View Source
const ProtocolVersion = 2
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server exposes the Whodis engine to a desktop frontend over JSON-RPC.
func NewServerWithEngine ¶ added in v1.0.0
func NewServerWithEngine(version string, client batchClient, engine engineRunner, input io.Reader, output, logs io.Writer) *Server
NewServerWithEngine constructs a protocol-v2 server with an explicitly injected operation engine. It is primarily useful to native frontends and deterministic contract tests.
Click to show internal directories.
Click to hide internal directories.