mysql

package
v0.0.0-...-83cae81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsLockWaitTimeout

func IsLockWaitTimeout(err error) bool

func NewFactory

func NewFactory(ctx context.Context, config Config) (persistence.DBFactory, error)

Types

type Config

type Config struct {
	DSNUser     string
	DSNPassword string
	DSNHost     string
	DSNPort     int
	DSNParams   string

	DatabaseName string

	RunCreateStmts  bool
	CreateErrorIsOk bool
}

func GetTestConfig

func GetTestConfig() Config

func GetTestConfigForLocal

func GetTestConfigForLocal() Config

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL