Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database interface { // Init initializes the db connection Init(opts Options) error // Options Returns the db options Options() Options // Address Returns the db bind interface Address() string // Connect connects to the db Connect(handlers ...Handler) error // Disconnect disconnects from the db Disconnect(handlers ...Handler) error // Handle returns the raw connection handle to the db Handle() interface{} }
Database defines the interface for connection with database
Click to show internal directories.
Click to hide internal directories.