Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceCreateDTO ¶
type ServiceCreateDTO struct { Version string `gorm:"column:version" json:"Version" form:"Version" comment:"Version"` Name string `gorm:"column:name" json:"Name" form:"Name" comment:"Name"` Host string `gorm:"column:host" json:"Host" form:"Host" comment:"Host"` Port int `gorm:"column:port;default:0" json:"Port" form:"Port" comment:"Port"` Admin string `gorm:"column:admin" json:"Admin" form:"Admin" comment:"Admin"` ExePath string `gorm:"column:exe_path" json:"ExePath" form:"ExePath" comment:"ExePath"` Args string `gorm:"column:args" json:"Args" form:"Args" comment:"Args"` SystemdName string `gorm:"column:systemd_name" json:"SystemdName" form:"SystemdName" comment:"SystemdName"` SystemdStatus string `gorm:"column:systemd_status" json:"SystemdStatus" form:"SystemdStatus" comment:"SystemdStatus"` Status int `gorm:"column:status" json:"Status" form:"Status" comment:"状态"` Mode string `gorm:"column:mode" json:"Mode" form:"Mode" comment:"Mode"` Acl bool `gorm:"column:Acl" json:"Acl" form:"Acl" comment:"Acl"` Acs bool `gorm:"column:Acs" json:"Acs" form:"Acs" comment:"Acs"` Log bool `gorm:"column:Log" json:"Log" form:"Log" comment:"Log"` Cpu int `gorm:"column:Cpu" json:"Cpu" form:"Cpu" comment:"Cpu"` }
type ServiceQueryDTO ¶
type ServiceQueryDTO struct { Id int64 `gorm:"primaryKey;autoIncrement:false" json:"Id,string"` Version string `gorm:"column:version" json:"Version" form:"Version" comment:"Version"` Name string `gorm:"column:name" json:"Name" form:"Name" comment:"Name"` Host string `gorm:"column:host" json:"Host" form:"Host" comment:"Host"` Port int `gorm:"column:port;default:0" json:"Port" form:"Port" comment:"Port"` Admin string `gorm:"column:admin" json:"Admin" form:"Admin" comment:"Admin"` ExePath string `gorm:"column:exe_path" json:"ExePath" form:"ExePath" comment:"ExePath"` Args string `gorm:"column:args" json:"Args" form:"Args" comment:"Args"` SystemdName string `gorm:"column:systemd_name" json:"SystemdName" form:"SystemdName" comment:"SystemdName"` SystemdStatus string `gorm:"column:systemd_status" json:"SystemdStatus" form:"SystemdStatus" comment:"SystemdStatus"` Status int `gorm:"column:status" json:"Status" form:"Status" comment:"状态"` // LastSeen base.ISO8601Time `gorm:"column:last_seen" json:"LastSeen" form:"LastSeen" comment:"LastSeen"` CreatedAt_datege string `gorm:"column:created_at_datege" json:"CreatedAt_datege" form:"CreatedAt_datege" comment:"CreatedAt_datege"` CreatedAt_datele string `gorm:"column:created_at_datele" json:"CreatedAt_datele" form:"CreatedAt_datele" comment:"CreatedAt_datele"` Mode string `gorm:"column:mode" json:"Mode" form:"Mode" comment:"Mode"` Acl bool `gorm:"column:acl" json:"Acl" form:"Acl" comment:"Acl"` Acs bool `gorm:"column:acs" json:"Acs" form:"Acs" comment:"Acs"` Log bool `gorm:"column:log" json:"Log" form:"Log" comment:"Log"` Cpu int `gorm:"column:cpu" json:"Cpu" form:"Cpu" comment:"Cpu"` }
type ServiceVO ¶
type ServiceVO struct { Id int64 `gorm:"primaryKey;autoIncrement:false" json:"Id,string"` Version string `gorm:"column:version" json:"Version" form:"Version" comment:"Version"` Name string `gorm:"column:name" json:"Name" form:"Name" comment:"Name"` Host string `gorm:"column:host" json:"Host" form:"Host" comment:"Host"` Port int `gorm:"column:port;default:0" json:"Port" form:"Port" comment:"Port"` Admin string `gorm:"column:admin" json:"Admin" form:"Admin" comment:"Admin"` ExePath string `gorm:"column:exe_path" json:"ExePath" form:"ExePath" comment:"ExePath"` Args string `gorm:"column:args" json:"Args" form:"Args" comment:"Args"` SystemdName string `gorm:"column:systemd_name" json:"SystemdName" form:"SystemdName" comment:"SystemdName"` SystemdStatus string `gorm:"column:systemd_status" json:"SystemdStatus" form:"SystemdStatus" comment:"SystemdStatus"` Status int `gorm:"column:status" json:"Status" form:"Status" comment:"状态"` // LastSeen base.ISO8601Time `gorm:"column:last_seen" json:"LastSeen" form:"LastSeen" comment:"LastSeen"` CreatedAt base.ISO8601Time UpdatedAt base.ISO8601Time Mode string `gorm:"column:mode" json:"Mode" form:"Mode" comment:"Mode"` Acl bool `gorm:"column:acl" json:"Acl" form:"Acl" comment:"Acl"` Acs bool `gorm:"column:acs" json:"Acs" form:"Acs" comment:"Acs"` Log bool `gorm:"column:log" json:"Log" form:"Log" comment:"Log"` Cpu int `gorm:"column:cpu" json:"Cpu" form:"Cpu" comment:"Cpu"` }
func (ServiceVO) GetDetailVO ¶
func (c ServiceVO) GetDetailVO() interface{}
Click to show internal directories.
Click to hide internal directories.