sql.go 1.1 KB
Newer Older
E
eoLinker API Management 已提交
1 2
package entity

Y
Your Name 已提交
3
//Table table
E
eoLinker API Management 已提交
4 5 6 7 8
type Table struct {
	TableName   string   `json:"tableName"`
	TableColumn []string `json:"tableColumn"`
}

Y
Your Name 已提交
9
//TableData tableData
E
eoLinker API Management 已提交
10 11 12 13
type TableData struct {
	Data []map[string]interface{}
}

Y
Your Name 已提交
14
//ColumnInfo column info
E
eoLinker API Management 已提交
15 16 17 18 19 20 21 22 23
type ColumnInfo struct {
	FieldName string
	Type      interface{}
	Null      interface{}
	Key       interface{}
	Default   interface{}
	Extra     interface{}
}

Y
Your Name 已提交
24
//GokuAdmin 网关超级管理员信息
E
eoLinker API Management 已提交
25 26 27 28 29 30 31
type GokuAdmin struct {
	UserID        int    `json:"userID"`
	LoginCall     string `json:"loginCall"`
	LoginPassword string `json:"loginPassword"`
	UserType      int    `json:"userType"`
}

Y
Your Name 已提交
32
//GokuBalance 网关负载
E
eoLinker API Management 已提交
33 34 35 36 37 38 39 40
type GokuBalance struct {
	BalanceID     int    `json:"balanceID"`
	BalanceName   string `json:"balanceName"`
	BalanceConfig string `json:"balanceConfig"`
	CreateTime    string `json:"createTime"`
	UpdateTime    string `json:"updateTime"`
}

Y
Your Name 已提交
41 42
//GokuConnPluginAPI goku conn plgin api
type GokuConnPluginAPI struct {
E
eoLinker API Management 已提交
43
	ConnID int `json:"connID"`
Y
Your Name 已提交
44
	APIID  int `json:"apiID"`
E
eoLinker API Management 已提交
45 46
}

Y
Your Name 已提交
47
//ColumnValue column value
E
eoLinker API Management 已提交
48 49 50
type ColumnValue struct {
	Value interface{}
}