overflow_server_config/pool.go
crusader 79424c10e4 ing
2017-11-23 16:31:28 +09:00

11 lines
379 B
Go

package overflow_server_config
import "time"
type Pool struct {
MaxCapacity int `json:"maxCapacity" yaml:"maxCapacity" toml:"maxCapacity"`
MaxIdle int `json:"maxIdle" yaml:"maxIdle" toml:"maxIdle"`
IdleTimeout time.Duration `json:"idleTimeout" yaml:"idleTimeout" toml:"idleTimeout"`
Wait bool `json:"wait" yaml:"wait" toml:"wait"`
}