rdb

package
v0.0.0-...-9babf30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2021 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UnsupportDriver = errors.New("unsupport driver")
)

Functions

func NewDB

func NewDB(driver DriverType, dsn string, opts ...kvdb.DBOption) (kvdb.KVDB, error)

Types

type DriverType

type DriverType int
const (
	DriverSqlite3 DriverType = iota
	DriverMySQL
	DriverPostgres
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL