Documentation
¶
Overview ¶
This package contains the nonodo run function. This is separate from the main package to facilitate testing.
Index ¶
Constants ¶
View Source
const DefaultHttpPort = 8080
View Source
const HttpTimeout = 10 * time.Second
Variables ¶
This section is empty.
Functions ¶
func NewSupervisor ¶
func NewSupervisor(opts NonodoOpts) supervisor.SupervisorWorker
Create the nonodo supervisor.
Types ¶
type NonodoOpts ¶
type NonodoOpts struct { AnvilPort int AnvilVerbose bool HttpAddress string HttpPort int InputBoxAddress string InputBoxBlock uint64 ApplicationAddress string // If RpcUrl is set, connect to it instead of anvil. RpcUrl string // If set, start echo dapp. EnableEcho bool // If set, start application. ApplicationArgs []string }
Options to nonodo.
Click to show internal directories.
Click to hide internal directories.