Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MySQL ¶
type MySQL struct {
Charset string
Collation string
InterpolateParams bool `url:",default=true"`
Loc string `url:",defualt=Asia/Shanghai"`
MultiStatements bool `url:",default=true"`
ParseTime bool `url:",default=true"`
Timeout types.Duration `url:",default=2s"`
ReadTimeout types.Duration `url:",default=30s"`
WriteTimeout types.Duration `url:",default=10s"`
TLS string `url:",default=false"`
}
func (*MySQL) SetDefault ¶
func (o *MySQL) SetDefault()
type Overwriter ¶ added in v0.4.7
type Overwriter interface {
Overwrite()
}
type Postgres ¶
type Postgres struct {
}
func (*Postgres) SetDefault ¶
func (o *Postgres) SetDefault()
type TLSConfigPatcher ¶
Click to show internal directories.
Click to hide internal directories.