mssql

package
v0.0.0-...-1489327 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2022 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountMssql

func CountMssql(condArr map[string]string) int64

统计数量

Types

type Mssql

type Mssql struct {
	Id                int    `orm:"pk;column(id);"`
	Db_Id             int    `orm:"column(db_id);"`
	Host              string `orm:"column(host);"`
	Port              string `orm:"column(port);"`
	Alias             string `orm:"column(alias);"`
	Connect           int    `orm:"column(connect);"`
	Role              string `orm:"column(role);"`
	Uptime            string `orm:"column(uptime);"`
	Version           string `orm:"column(version);"`
	Lock_timeout      string `orm:"column(lock_timeout);"`
	Trancount         string `orm:"column(trancount);"`
	Max_Connections   string `orm:"column(max_connections);"`
	Processes         string `orm:"column(processes);"`
	Processes_Running string `orm:"column(processes_running);"`
	Processes_Waits   string `orm:"column(processes_waits);"`
	Created           int64  `orm:"column(created);"`
}

func ListMssqlStatus

func ListMssqlStatus(condArr map[string]string, page int, offset int) (num int64, err error, mssql []Mssql)

获取sqlserver状态列表

func (*Mssql) TableName

func (this *Mssql) TableName() string

Jump to

Keyboard shortcuts

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