Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Verbosity utils.LogLevel `mapstructure:"verbosity"`
RpcPort uint16 `mapstructure:"rpc-port"`
Metrics bool `mapstructure:"metrics"`
DatabasePath string `mapstructure:"db-path"`
Network utils.Network `mapstructure:"network"`
EthNode string `mapstructure:"eth-node"`
}
Config is the top-level juno configuration.
type NewStarknetNodeFn ¶
type NewStarknetNodeFn func(cfg *Config) (StarknetNode, error)
type StarknetNode ¶
func New ¶
func New(cfg *Config) (StarknetNode, error)
Click to show internal directories.
Click to hide internal directories.