3 Star 4 Fork 1

donnie4w/tldb

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
bean.go 2.62 KB
一键复制 编辑 原始数据 按行查看 历史
donnie4w 提交于 1年前 . Update bean.go
// Copyright (c) 2023, donnie <donnie4w@gmail.com>
// All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
// github.com/donnie4w/tldb
//
package tc
import (
"github.com/donnie4w/tldb/stub"
)
type SysVar struct {
StartTime string
LocalTime string
Time string
UUID int64
RUNUUIDS string
STAT string
TIME_DEVIATION string
ADDR string
STORENODENUM string
CLUSTER_NUM string
MQADDR string
CLIADDR string
ADMINADDR string
CCPUT int64
CCGET int64
COUNTPUT int64
COUNTGET int64
SyncCount int64
}
type SysVarView struct {
Stat bool
Show string
SYS *SysVar
RN []*stub.RemoteNode
}
/**********************************************************************************/
type AdminView struct {
Show string
AdminUser map[string]string
CliUser []string
MqUser []string
Stat bool
Init bool
ShowCreate bool
}
/**********************************************************************************/
type Tables struct {
Name string
Columns []string
Idxs []string
Seq int64
Sub int64
}
type TData struct {
Name string
Id int64
Columns map[string]string
}
type SelectBean struct {
Name string
Id string
ColumnName string
ColumnValue string
StartId string
Limit string
}
type DataView struct {
Tb []*Tables
Tds []*TData
ColName map[string][]byte
Sb *SelectBean
Stat bool
}
/**********************************************************************************/
type SysParam struct {
DBFILEDIR string
MQTLS bool
ADMINTLS bool
CLITLS bool
CLICRT string
CLIKEY string
MQCRT string
MQKEY string
ADMINCRT string
ADMINKEY string
COCURRENT_PUT int64
COCURRENT_GET int64
DBMode int
NAMESPACE string
VERSION string
BINLOGSIZE int64
ADDR string
CLIADDR string
MQADDR string
WEBADMINADDR string
CLUSTER_NUM int
PWD string
PUBLICKEY string
PRIVATEKEY string
CLUSTER_NUM_FINAL bool
}
type SysParamView struct {
SYS *SysParam
Stat bool
}
/**********************************************************************************/
type AlterTable struct {
TableName string
ID int64
Columns map[string]*FieldInfo
ColumnValue map[string]string
}
type FieldInfo struct {
Idx bool
Type string
Tname string
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/donnie4w/tldb.git
git@gitee.com:donnie4w/tldb.git
donnie4w
tldb
tldb
main

搜索帮助

371d5123 14472233 46e8bd33 14472233