database

package
v0.0.0-...-e270a8f Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SQL_SCHEMA string

Functions

This section is empty.

Types

type Database

type Database struct {
	// contains filtered or unexported fields
}

func New

func New(dbPath string) (*Database, error)

func (*Database) AddNewCollection

func (db *Database) AddNewCollection(name string) error

func (*Database) Close

func (db *Database) Close() error

func (*Database) ListCollections

func (db *Database) ListCollections() ([]*models.Collection, error)

func (*Database) ListEndpoints

func (db *Database) ListEndpoints() ([]*models.Endpoint, error)

Jump to

Keyboard shortcuts

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