package
0.0.5
Repository: https://github.com/dynata/go-dbmutex.git
Documentation: pkg.go.dev

# Functions

ResolveDriver attempts to inspect db and determine which Driver should be used.

# Constants

Max length of hostname.
Max length of locker id.
Max length of a named mutex.

# Structs

MysqlDriver is the mysql specific Driver implementation.
PostgresDriver is the postgres specific Driver implementation.

# Interfaces

Driver is the interface that must be implemented by the database-based locker.
Execer is the contract used when executing statements against the DB.
Execer is the contract used when querying against the DB.
QueryExecer is both an Execer and a Queryer.