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