Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Hertz ¶
type Hertz struct { Address string `yaml:"address"` MetricsPort int `yaml:"metrics_port"` EnablePprof bool `yaml:"enable_pprof"` EnableGzip bool `yaml:"enable_gzip"` EnableAccessLog bool `yaml:"enable_access_log"` LogLevel string `yaml:"log_level"` LogFileName string `yaml:"log_file_name"` LogMaxSize int `yaml:"log_max_size"` LogMaxBackups int `yaml:"log_max_backups"` LogMaxAge int `yaml:"log_max_age"` RegistryAddr string `yaml:"registry_addr"` }
Click to show internal directories.
Click to hide internal directories.