This commit is contained in:
crusader 2017-11-09 16:52:39 +09:00
parent 1af1662ae2
commit f83dbd31f7

View File

@ -3,8 +3,8 @@ package config
import "time"
type Pool struct {
MaxIdle int `json:"maxIdle" yaml:"maxIdle" toml:"maxIdle"`
IdleTimeout time.Duration `json:"idleTimeout" yaml:"idleTimeout" toml:"idleTimeout"`
MaxCapacity int `json:"maxCapacity" yaml:"maxCapacity" toml:"maxCapacity"`
IncreaseCapacity int `json:"increaseCapacity" yaml:"increaseCapacity" toml:"increaseCapacity"`
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"`
}