Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBClient ¶
DBClient represents the structure to hold DB Client object required to create DB session and query and fetch results.
type DBClientOpts ¶ added in v0.8.2
DBClientOpts represents additional options to use for DB Client
type Manager ¶
Manager represents the set of methods used to interact with the db.
func NewDBClient ¶
func NewDBClient(db string, dsn string, opts *DBClientOpts) (Manager, error)
NewDBClient initializes a connection object with the databse.
func NewManager ¶
NewManager instantiates an object of Manager based on the params
Click to show internal directories.
Click to hide internal directories.