Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseConfig ¶
type BaseConfig struct { sync.RWMutex Database string `json:"database"` CenterAddr string `json:"center_addr"` DfsPort string `json:"dfs_port"` StreamPort string `json:"stream_port"` MqUserName string `json:"mq_user_name"` MqPassword string `json:"mq_password"` Redis string `json:"redis"` TracingAddr string `json:"tracing_addr"` RedisPassword string `json:"redis_password"` UdpPort int32 `json:"udp_port"` }
type Config ¶
type Config struct { Name string `json:"name"` Version string `json:"version"` Host string `json:"host"` DataRoot string `json:"data_root"` RelativeShutdownInfoFilePath string `json:"relative_shutdown_info_file_path"` RelativeLogPath string `json:"relative_log_path"` Env string `json:"env"` Server string `json:"server"` Jwt *jwtx.JwtMould }
func (*Config) WriteShutdownPort ¶
Click to show internal directories.
Click to hide internal directories.