Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { LogLevel string `yaml:"log_level"` DryRun bool `yaml:"dry_run"` Metrics MetricsConfig `yaml:"metrics"` Healthz HealthzConfig `yaml:"healthz"` PollInterval time.Duration `yaml:"poll_interval"` NodeStateExpiration time.Duration `yaml:"node_state_expiration"` RPCTimeout time.Duration `yaml:"rpc_timeout"` Nodes map[string]*NodeConfig `yaml:"nodes"` Networks map[string]*NetworkConfig `yaml:"networks"` }
type HealthzConfig ¶
type MetricsConfig ¶
type NetworkConfig ¶
type NetworkConfig struct {
Members []string `yaml:"members"`
}
type NodeConfig ¶
type NodeConfig struct { RPCAddress string `yaml:"rpc_address"` PeerID string `yaml:"peer_id"` // libp2p 54-char PeerID PeerAddress string `yaml:"peer_address"` // libp2p PeerAddress, supports {peer_id} as a placeholder PeerAddressLocal string `yaml:"peer_address_local"` // same as PeerAddress, but used for connecting in the same cluster Cluster string `yaml:"cluster"` PreventInbound bool `yaml:"prevent_inbound"` PreventOutbound bool `yaml:"prevent_outbound"` }
Click to show internal directories.
Click to hide internal directories.