dblayer

package
v0.0.0-...-84d5eb4 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStore

func NewStore(options DBTYPE, connAddr string) (store.EventReadWriter, error)

NewStore creates a new store (db layer)

Types

type DBTYPE

type DBTYPE string

DBTYPE defines supported database type

const (
	// MONGODB represents mongodb
	MONGODB DBTYPE = "mongodb"

	// DYNAMODB represents dynamodb
	DYNAMODB DBTYPE = "dynamodb"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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