Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Service kitex_conf.Service `json:"service" yaml:"service"` Server kitex_conf.Server `json:"server" yaml:"server"` Logger log.Config `json:"logger" yaml:"logger"` GeoOption GeoOption `json:"geo_option" yaml:"geo_option"` }
type GeoOption ¶
type GeoOption struct { Language string `json:"language" yaml:"language"` Ip2RegionPath string `json:"ip2_region_path" yaml:"ip2_region_path"` GeoIPCityPath string `json:"geoip_city_path" yaml:"geoip_city_path"` GeoIPIspPath string `json:"geoip_isp_path" yaml:"geoip_isp_path"` CacheSize int `json:"cache_size" yaml:"cache_size"` }
Click to show internal directories.
Click to hide internal directories.