Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Connection types REDIX string = "redix" )
db-wide constants
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedixConnector ¶
RedixConnector ...
func NewRedixConnection ¶
func NewRedixConnection(cfg *config.Config) (*RedixConnector, error)
NewRedixConnection is for use with unit tests
func (*RedixConnector) Close ¶
func (c *RedixConnector) Close() error
Close closes the connection to the database
func (*RedixConnector) DBType ¶
func (c *RedixConnector) DBType() string
DBType returns the database type
Click to show internal directories.
Click to hide internal directories.