Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // ShardID is the shard ID of the node ShardID sharding.ID // NumOfShards is the total number of running shards NumOfShards uint64 // NumOfLocalShards is the number of shards managed using local resources NumOfLocalShards uint64 // NATSAddresses contains addresses of NATS cluster NATSAddresses []string // VerboseLogging turns on verbose logging VerboseLogging bool }
Config stores configuration
func NewConfigFromCLI ¶
func NewConfigFromCLI() Config
NewConfigFromCLI creates new config based on CLI flags
Click to show internal directories.
Click to hide internal directories.