dbRead

package
v0.0.0-...-a9e9222 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBReadInterface

type DBReadInterface interface {
	Connect(host, user, pass string) error
	Read(db, table string) (DBTableInfo, error)
	Close()
}

type DBReadSqlite

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

func (*DBReadSqlite) Close

func (s *DBReadSqlite) Close()

func (*DBReadSqlite) Connect

func (s *DBReadSqlite) Connect(host, user, pass string) error

func (*DBReadSqlite) Read

func (s *DBReadSqlite) Read(db, table string) (DBTableInfo, error)

type DBTableInfo

type DBTableInfo struct {
	KeyMap map[string]string
}

Jump to

Keyboard shortcuts

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