Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
Database stores database connection.
func NewDB ¶
func NewDB(opt *DatabaseOptions) (d *Database, err error)
NewDB will create a new database connection.
type DatabaseOptions ¶
type DatabaseOptions struct {
Address string
}
DatabaseOptions stores database options.
Click to show internal directories.
Click to hide internal directories.