Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownNetwork = errors.New("unknown network")
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Verbosity string `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)
Click to show internal directories.
Click to hide internal directories.