tc

package
v0.0.0-...-36249bc Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: BSD-3-Clause Imports: 25 Imported by: 0

Documentation

Overview

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/tim

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminView

type AdminView struct {
	Show       string
	AdminUser  map[string]string
	Init       bool
	ShowCreate bool
}

type AlterTable

type AlterTable struct {
	TableName   string
	ID          int64
	Columns     map[string]*FieldInfo
	ColumnValue map[string]string
}

********************************************************************************

type Cpu

type Cpu struct {
	Cpus  []float64
	Cores int
}

type DataView

type DataView struct {
	Tb      []*Tables
	Tds     []*TData
	ColName map[string][]byte
	Sb      *SelectBean
	Stat    bool
}

type Disk

type Disk struct {
	UsedGB  uint64
	TotalGB uint64
}

type FieldInfo

type FieldInfo struct {
	Idx   bool
	Type  string
	Tname string
}

type LANG

type LANG int
const (
	ZH LANG = 0
	EN LANG = 1
)

type Ram

type Ram struct {
	UsedMB  uint64
	TotalMB uint64
}

type SelectBean

type SelectBean struct {
	Name        string
	Id          string
	ColumnName  string
	ColumnValue string
	StartId     string
	Limit       string
}

type SysParam

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

type SysParamView struct {
	SYS  *SysParam
	Stat bool
}

type SysVar

type SysVar struct {
	StartTime string
	Time      string
	UUID      int64
	CSNUM     int32
	ALLUUIDS  string
	ADDR      string
	ADMINADDR string
}

type SysVarView

type SysVarView struct {
	Show string
	SYS  *SysVar
	RN   []*sys.RemoteNode
}

type TData

type TData struct {
	Name    string
	Id      int64
	Columns map[string]string
}

type TXTYPE

type TXTYPE int
const (
	LOGIN TXTYPE
	INIT
	SYSVAR
	DATA
	MONITOR
)

type Tables

type Tables struct {
	Name    string
	Columns []string
	Idxs    []string
	Seq     int64
	Sub     int64
}

Jump to

Keyboard shortcuts

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