Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { NodeID string `config:"id"` Dir string `config:"dir"` JoinAddr string `config:"join"` FlushInterval uint64 `config:"flush_interval"` SnapshotInterval int `config:"snapshot_interval"` DefaultDwell uint64 `config:"dwell"` DefaultDwellDeadline uint64 `config:"dwell_deadline"` DefaultMaxDwell uint64 `config:"max_dwell"` MaxHistory int `config:"max_history"` Version string `config:"version"` Commit string `config:"commit"` Date string `config:"date"` EnableFileServer bool RaftAddr string HTTPAddr string RaftListener net.Listener HTTPListener net.Listener }
Config is required for initializing the service
Click to show internal directories.
Click to hide internal directories.