database

package
v0.0.0-...-449a115 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: MIT Imports: 0 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 {
	ListDatabaseNames() ([]string, error)
	ListCollections(db string) ([]string, error)
	ListViews(db string) ([]string, error)
	ListUsers(db string) ([]string, error)
	RunCommand(db string, command string) string
}

type Service

type Service struct {
	Client Database
}

func New

func New(database Database) *Service

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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