Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SentinelCliCfg ¶
type SentinelCliCfg struct { Port uint `json:"port"` Addr string `json:"address"` ServerAddr string `json:"server_addr"` ServerProtocol string `json:"server_protocol"` ServerTcpPort uint `json:"server_tcp_port"` LogLvl uint `json:"log_level"` NoDiscovery bool `json:"no_discovery"` LocalDiscovery bool `json:"local_discovery"` Bootnodes []string `json:"bootnodes"` StaticPeers []string `json:"static_peers"` }
func SetupSentinelCli ¶
func SetupSentinelCli(ctx *cli.Context) (*SentinelCliCfg, error)
Click to show internal directories.
Click to hide internal directories.