Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexEnsurer ¶
type SQLEnsurer ¶
type SQLEnsurer interface {
IndexEnsurer
SchemaEnsurer
// Close closes database connection held by client.
Close() error
Ping() error
}
func NewMySQLEnsurer ¶
func NewMySQLEnsurer(url, database, usernameFile, passwordFile string, logger *zap.Logger) (SQLEnsurer, error)
type SchemaEnsurer ¶
Click to show internal directories.
Click to hide internal directories.