deprecated_overflow_gateway.../server.go

13 lines
528 B
Go
Raw Normal View History

2017-09-19 08:22:14 +00:00
package config
2017-11-09 10:56:11 +00:00
import "time"
2017-09-19 08:22:14 +00:00
type Server struct {
2017-11-09 10:56:11 +00:00
Name string `json:"name" yaml:"name" toml:"name"`
Network string `json:"network" yaml:"network" toml:"network"`
Addr string `json:"addr" yaml:"addr" toml:"addr"`
TLS bool `json:"tls" yaml:"tls" toml:"tls"`
Concurrency int `json:"concurrency" yaml:"concurrency" toml:"concurrency"`
MaxStopWaitTime time.Duration `json:"maxStopWaitTime" yaml:"maxStopWaitTime" toml:"maxStopWaitTime"`
2017-09-19 08:22:14 +00:00
}