Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LogLevel utils.LogLevel `mapstructure:"log-level"` HTTP bool `mapstructure:"http"` HTTPHost string `mapstructure:"http-host"` HTTPPort uint16 `mapstructure:"http-port"` Websocket bool `mapstructure:"ws"` WebsocketHost string `mapstructure:"ws-host"` WebsocketPort uint16 `mapstructure:"ws-port"` GRPC bool `mapstructure:"grpc"` GRPCHost string `mapstructure:"grpc-host"` GRPCPort uint16 `mapstructure:"grpc-port"` DatabasePath string `mapstructure:"db-path"` Network utils.Network `mapstructure:"network"` EthNode string `mapstructure:"eth-node"` Pprof bool `mapstructure:"pprof"` PprofHost string `mapstructure:"pprof-host"` PprofPort uint16 `mapstructure:"pprof-port"` Colour bool `mapstructure:"colour"` PendingPollInterval time.Duration `mapstructure:"pending-poll-interval"` Metrics bool `mapstructure:"metrics"` MetricsHost string `mapstructure:"metrics-host"` MetricsPort uint16 `mapstructure:"metrics-port"` P2P bool `mapstructure:"p2p"` P2PAddr string `mapstructure:"p2p-addr"` P2PBootPeers string `mapstructure:"p2p-boot-peers"` }
Config is the top-level juno configuration.
Click to show internal directories.
Click to hide internal directories.