2021-03-23 00:55:26 +08:00
|
|
|
/*
|
|
|
|
* @Date: 2021-03-22 09:54:07
|
|
|
|
* @LastEditors: viletyy
|
2021-06-20 19:47:08 +08:00
|
|
|
* @LastEditTime: 2021-06-20 19:45:31
|
2021-03-23 00:55:26 +08:00
|
|
|
* @FilePath: /potato/config/server.go
|
|
|
|
*/
|
|
|
|
package config
|
|
|
|
|
|
|
|
type Server struct {
|
2021-06-20 19:47:08 +08:00
|
|
|
Port int64 `mapstructure:"port" json:"port" yaml:"port"`
|
2021-06-14 21:15:55 +08:00
|
|
|
ReadTimeout int64 `mapstructure:"read_timeout" json:"read_timeout" yaml:"read_timeout"`
|
|
|
|
WriteTimeout int64 `mapstructure:"write_timeout" json:"write_timeout" yaml:"write_timeout"`
|
|
|
|
TracerHostPort string `mapstructure:"tracer_host_port" json:"tracer_host_port" yaml:"tracer_host_port"`
|
2021-03-23 00:55:26 +08:00
|
|
|
}
|