package
Version:
v0.4.1
Opens a new window with list of versions in this module.
Published: Feb 11, 2022
License: BlueOak-1.0.0
Opens a new window with license information.
Imports: 29
Opens a new window with list of imports.
Imported by: 5
Opens a new window with list of known importers.
Documentation
¶
Package rpcserver provides a JSON RPC to communicate with the client core.
ListCommands prints a short usage string for every route available to the
rpcserver.
SetLogger sets the logger for the RPCServer package.
type Config struct {
Core clientCore
Addr, User, Pass, Cert, Key string
CertHosts []string
}
Config holds variables neede to create a new RPC Server.
type RPCServer struct {
}
RPCServer is a single-client http and websocket server enabling a JSON
interface to the DEX client.
New is the constructor for an RPCServer.
Connect starts the RPC server. Satisfies the dex.Connector interface.
RawParams is used for all server requests.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.