Documentation ¶
Index ¶
- func BaseinfoMgr(db *gorm.DB) *_BaseinfoMgr
- func CloseRelated()
- func CphinfoMgr(db *gorm.DB) *_CphinfoMgr
- func CtrlinfoMgr(db *gorm.DB) *_CtrlinfoMgr
- func CtrllistMgr(db *gorm.DB) *_CtrllistMgr
- func FileinfoMgr(db *gorm.DB) *_FileinfoMgr
- func OpenRelated()
- func RedisinfoMgr(db *gorm.DB) *_RedisinfoMgr
- func SensorinfoMgr(db *gorm.DB) *_SensorinfoMgr
- func SensorlistMgr(db *gorm.DB) *_SensorlistMgr
- func ServerMgr(db *gorm.DB) *_ServerMgr
- func SphinfoMgr(db *gorm.DB) *_SphinfoMgr
- type Baseinfo
- type Cphinfo
- type Ctrlinfo
- type Ctrllist
- type Fileinfo
- type Option
- type Redisinfo
- type Sensorinfo
- type Sensorlist
- type Server
- type Sphinfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Baseinfo ¶
type Baseinfo struct { ID uint `gorm:"primary_key;column:id;type:int unsigned;not null"` Name string `gorm:"column:name;type:text"` IP string `gorm:"column:ip;type:text"` Port string `gorm:"column:port;type:text"` User string `gorm:"column:user;type:text"` Pwd string `gorm:"column:pwd;type:text"` Dname string `gorm:"column:dname;type:text"` Createtime time.Time `gorm:"column:createtime;type:datetime"` }
Baseinfo [...]
type Cphinfo ¶
type Cphinfo struct { ID uint `gorm:"primary_key;column:id;type:int unsigned;not null"` Hgp string `gorm:"column:hgp;type:text"` Htp string `gorm:"column:htp;type:text"` Ctrl string `gorm:"column:ctrl;type:text"` Cycle int `gorm:"column:cycle;type:int"` Sw int `gorm:"column:sw;type:int"` Protocolid int `gorm:"column:protocolid;type:int"` Createtime time.Time `gorm:"column:createtime;type:datetime"` Info string `gorm:"column:info;type:text"` }
Cphinfo [...]
type Ctrlinfo ¶
type Ctrlinfo struct { ID uint `gorm:"primary_key;column:id;type:int unsigned;not null"` Sensorlist int `gorm:"column:sensorlist;type:int"` Sensorname string `gorm:"column:sensorname;type:text"` Info string `gorm:"column:info;type:text"` Createtme time.Time `gorm:"column:createtme;type:timestamp"` }
Ctrlinfo [...]
type Ctrllist ¶
type Ctrllist struct { ID uint `gorm:"primary_key;column:id;type:int unsigned;not null"` Createtime time.Time `gorm:"column:createtime;type:timestamp"` Size int `gorm:"column:size;type:int"` Name string `gorm:"column:name;type:text"` }
Ctrllist [...]
type Fileinfo ¶
type Fileinfo struct { ID uint `gorm:"primary_key;column:id;type:int unsigned;not null"` Name string `gorm:"column:name;type:text"` Path string `gorm:"column:path;type:text"` Fname string `gorm:"column:fname;type:text"` Createtime time.Time `gorm:"column:createtime;type:datetime"` }
Fileinfo [...]
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option overrides behavior of Connect.
type Redisinfo ¶
type Redisinfo struct { ID uint `gorm:"primary_key;column:id;type:int unsigned;not null"` Name string `gorm:"column:name;type:text"` IP string `gorm:"column:ip;type:text"` Port string `gorm:"column:port;type:text"` Auth string `gorm:"column:auth;type:text"` Queuename string `gorm:"column:queuename;type:text"` Createtime time.Time `gorm:"column:createtime;type:datetime"` }
Redisinfo [...]
type Sensorinfo ¶
type Sensorinfo struct { ID uint `gorm:"primary_key;column:id;type:int unsigned;not null"` Sensorlist int `gorm:"column:sensorlist;type:int"` Sensorname string `gorm:"column:sensorname;type:text"` Savename string `gorm:"column:savename;type:text"` Transform string `gorm:"column:transform;type:text"` Unit string `gorm:"column:unit;type:text"` Maxv string `gorm:"column:maxv;type:text"` Info string `gorm:"column:info;type:text"` Createtme time.Time `gorm:"column:createtme;type:datetime"` }
Sensorinfo [...]
type Sensorlist ¶
type Sensorlist struct { ID uint `gorm:"primary_key;column:id;type:int unsigned;not null"` Createtime time.Time `gorm:"column:createtime;type:datetime"` Size int `gorm:"column:size;type:int"` Name string `gorm:"column:name;type:text"` Tname string `gorm:"column:tname;type:text"` }
Sensorlist [...]
type Server ¶
type Server struct { Port int `gorm:"column:port;type:int"` Info string `gorm:"column:info;type:text"` }
Server [...]
type Sphinfo ¶
type Sphinfo struct { ID uint `gorm:"primary_key;column:id;type:int unsigned;not null"` Hgp string `gorm:"column:hgp;type:text"` Htp string `gorm:"column:htp;type:text"` Ctrl string `gorm:"column:ctrl;type:text"` Cycle int `gorm:"column:cycle;type:int"` Sw int `gorm:"column:sw;type:int"` Protocolid int `gorm:"column:protocolid;type:int"` Databaseid string `gorm:"column:databaseid;type:text"` Fileid int `gorm:"column:fileid;type:int"` Redisid int `gorm:"column:redisid;type:int"` Createtime time.Time `gorm:"column:createtime;type:datetime"` Info string `gorm:"column:info;type:text"` }
Sphinfo [...]
Click to show internal directories.
Click to hide internal directories.