2017-09-19 08:22:14 +00:00
|
|
|
package config
|
|
|
|
|
|
|
|
import "time"
|
|
|
|
|
|
|
|
type Pool struct {
|
2017-11-09 07:52:39 +00:00
|
|
|
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"`
|
2017-09-19 08:22:14 +00:00
|
|
|
}
|