option.go 178 B

1234567891011121314
  1. package db
  2. import (
  3. "time"
  4. )
  5. // Option option
  6. type Option struct {
  7. Driver string
  8. DNS string
  9. MaxOpenConns int
  10. MaxIdle int
  11. MaxLifetime time.Duration
  12. }