db

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.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"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MenuConfigDB struct {
	*gorm.DB
}
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"`
}

func (TmcIni) TableName

func (TmcIni) TableName() string

Jump to

Keyboard shortcuts

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