Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBTable ¶
type DBTable struct {
Name string
// contains filtered or unexported fields
}
func NewDBTable ¶
func NewDBTable() *DBTable
type MySQL ¶
type MySQL struct {
Name string
Host string `conf:"upstream" validate:"@hostname"`
Port int
User string `conf:"env" validate:"@string[1,)"`
Password presets.Password `conf:"env" validate:"@string[1,)"`
Extra string
PoolSize int
ConnMaxLifetime time.Duration
presets.Retry
// contains filtered or unexported fields
}
func (MySQL) DockerDefaults ¶
func (m MySQL) DockerDefaults() conf.DockerDefaults
func (MySQL) GetConnect ¶
func (MySQL) MarshalDefaults ¶
func (m MySQL) MarshalDefaults(v interface{})
Click to show internal directories.
Click to hide internal directories.