Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvironmentConfig ¶
type EnvironmentConfig struct { LogLevel string `env:"LOG_LEVEL" envDefault:"info"` HTTPServerPort int `env:"HTTP_SERVER_PORT" envDefault:"8888"` GRPCServerPort int `env:"GRPC_SERVER_PORT" envDefault:"8888"` RaftNodeId string `env:"RAFT_NODE_ID" envDefault:"node_id"` RaftPort int `env:"RAFT_PORT" envDefault:"7777"` RaftVolumeDir string `env:"RAFT_VOLUME_DIR" envDefault:"data"` }
func EnvironmentConfigIns ¶
func EnvironmentConfigIns() *EnvironmentConfig
EnvironmentConfigIns environment config
Click to show internal directories.
Click to hide internal directories.