db

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MenuIniName             = "MS_MENU"
	EngineMenuKeyPrefix     = "MK_"
	EngineMenuJumpKeyPrefix = "MK_JUMP_"
)
View Source
const (
	TableTmcIni = "tb_tmc_ini"
)

tables name

Variables

This section is empty.

Functions

This section is empty.

Types

type MenuConfigDB struct {
	*gorm.DB
}

MenuConfig .

func (db *MenuConfigDB) GetMicroServiceEngineJumpKey(engine string) (string, error)

GetMicroServiceEngineJumpKey .

func (db *MenuConfigDB) GetMicroServiceEngineKey(engine string) (string, error)

GetMicroServiceEngineKey .

func (db *MenuConfigDB) GetMicroServiceMenu() (*TmcIni, error)

GetMicroServiceMenu .

type TmcIni

type TmcIni struct {
	ID       int    `gorm:"column:id;primary_key"`
	IniName  string `gorm:"column:ini_name"`
	IniDesc  string `gorm:"column:ini_desc"`
	IniValue string `gorm:"column:ini_value"`

	CreateTime time.Time `gorm:"column:create_time"`
	UpdateTime time.Time `gorm:"column:update_time"`
	IsDeleted  string    `gorm:"column:is_deleted"`
}

TmcIni .

func (TmcIni) TableName

func (TmcIni) TableName() string

TableName .

Jump to

Keyboard shortcuts

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