database

package
v0.0.0-...-0a9cbe0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEmptyConfigStruct = errors.New("empty config structure")

Functions

func Connect

func Connect(conf map[string]string) (drivers.DataStore, error)

func New

func New(conf map[string]string) (drivers.DataStore, error)

func Register

func Register(name string, factory DataStoreFactory)

Types

type DataStoreFactory

type DataStoreFactory func(conf map[string]string) (drivers.DataStore, error)

type ErrInvalidDatastoreName

type ErrInvalidDatastoreName []string

func (ErrInvalidDatastoreName) Error

func (ds ErrInvalidDatastoreName) Error() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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