Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenRPC ¶
func ListenRPC(app *core.App, config StandaloneConfig) error
listenRPC starts the RPC server and listens on config.RPCPort. It blocks until there is an error or the RPC server is closed.
func SetupOrderStream ¶
SetupOrderStream sets up the order stream for a subscription
Types ¶
type StandaloneConfig ¶
type StandaloneConfig struct { // RPCPort is the port to use for the JSON RPC API over WebSockets. By // default, 0x Mesh will let the OS select a randomly available port. RPCPort int `envvar:"RPC_PORT" default:"60557"` }
Click to show internal directories.
Click to hide internal directories.