Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RPCNode string `toml:"rpc_node"` ClientNode string `toml:"client_node"` DB DatabaseConfig `toml:"database"` }
Config defines all necessary juno configuration parameters.
func ParseConfig ¶
ParseConfig attempts to read and parse a Juno config from the given file path. An error reading or parsing the config results in a panic.
Click to show internal directories.
Click to hide internal directories.