db

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataBaseService

type DataBaseService interface {
	GetAllTableInfo(username string, password string, ipPort string, dbName string) ([]pojo.TableInfo, error)
	GetAllDBs(username string, password string, ipPort string) ([]string, error)
}

type MsService

type MsService struct {
}

func (MsService) GetAllDBs

func (receiver MsService) GetAllDBs(username string, password string, ipPort string) ([]string, error)

func (MsService) GetAllTableInfo

func (receiver MsService) GetAllTableInfo(username string, password string, ipPort string, dbName string) ([]pojo.TableInfo, error)

获取数据库的所有表信息

type MysqlService

type MysqlService struct {
}

func (MysqlService) GetAllDBs

func (receiver MysqlService) GetAllDBs(username string, password string, ipPort string) ([]string, error)

func (MysqlService) GetAllTableInfo

func (receiver MysqlService) GetAllTableInfo(username string, password string, ipPort string, dbName string) ([]pojo.TableInfo, error)

Jump to

Keyboard shortcuts

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