db

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exit

func Exit(db *Database)

func Init

func Init(db *Database)

Init function can perform some initialization work of different databases.

Types

type DBAdapter

type DBAdapter interface {
	GetJobStatus(jobID string) string
	UpdateJob(job *model.Job) error
	GetBackendByName(name string) (*backend.Backend, error)
}
var DbAdapter DBAdapter

C is a global variable that controls database module.

Directories

Path Synopsis
drivers

Jump to

Keyboard shortcuts

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