database

package
v0.0.0-alpha7 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database interface {
	IsReady(ctx context.Context) (bool, error)
	GetEngineType() string
	Close()
}

Database -

type Engine

type Engine string

Engine -

const (
	POSTGRES Engine = "postgres"
	MONGO    Engine = "mongo"
	MEMORY   Engine = "memory"
)

func (Engine) String

func (c Engine) String() string

String -

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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