storage

package
v0.0.0-...-f9df55e Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDatabase

func CreateDatabase(name string) error

CreateDatabase creates database storage

func RetrieveDatabaseList

func RetrieveDatabaseList() ([]string, error)

RetrieveDatabaseList retrieve a database list from admin database file

Types

type DbFile

type DbFile struct{}

The DbFile contaions database file information

func OpenDbFile

func OpenDbFile(dbname string, flag int) (*DbFile, error)

OpenDbFile opens database file with given database name

Jump to

Keyboard shortcuts

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