package
Version:
v0.0.0-...-96c172f
Opens a new window with list of versions in this module.
Published: Dec 8, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Config contains the basic DB configuration params.
type RedisConfig struct {
Host string
Port int
}
RedisConfig contains the configuration to access a
Redis instance.
Address returns the address for a redis instance.
type SQLDB interface {
Master() *sqlx.DB
Close()
}
SQLDB contains the connection to a master
database and a way to shutdown the connection
using Close
NewSQLDB creates a connection to a database.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.