Documentation ¶
Overview ¶
Package console provides JavaScript-enabled console environment for interacting with the client. It includes pre-loaded methods that access the node's RPC interface allowing access to the state and condition of the client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompleterManager ¶
type CompleterManager struct {
// contains filtered or unexported fields
}
CompleterManager manages suggestions
type Console ¶
Console defines functionalities for create and using an interactive JavaScript console to perform and query the system.
func (*Console) OnStop ¶
func (c *Console) OnStop(f func())
OnStop sets a function that is called when the console is stopped
func (*Console) Run ¶
Run the console. If execCode is set, it is executed after context is prepared.
func (*Console) SetModulesHub ¶
func (c *Console) SetModulesHub(hub types.ModulesHub)
SetModulesHub sets the system modules hub
Click to show internal directories.
Click to hide internal directories.