11 lines
363 B
Go
11 lines
363 B
Go
|
package 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"`
|
||
|
}
|