nosql

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

README

NoSQL

NoSQL is an abstraction layer for data persistence.

This project is in development, the API is not stable.

Implementations

The current version comes with a few implementations inlcuding Mysql, Badger, and BoltDB, but implementations are on the roadmap.

  • Memory
  • BoltDB etcd fork.
  • Badger
  • MariaDB/MySQL
  • PostgreSQL
  • Cassandra
  • ...

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// WithValueDir is a wrapper over database.WithValueDir.
	WithValueDir = database.WithValueDir
	// WithDatabase is a wrapper over database.WithDatabase.
	WithDatabase = database.WithDatabase
	// IsErrNotFound is a wrapper over database.IsErrNotFound.
	IsErrNotFound = database.IsErrNotFound
	// IsErrOpNotSupported is a wrapper over database.IsErrOpNotSupported.
	IsErrOpNotSupported = database.IsErrOpNotSupported
)

Functions

func New

func New(driver, dataSourceName string, opt ...Option) (db database.DB, err error)

New returns a database with the given driver.

Types

type DB

type DB = database.DB

DB is just a wrapper over database.DB.

type Option

type Option = database.Option

Option is just a wrapper over database.Option.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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