2022-10-26 20:49:29 +08:00
|
|
|
package entity
|
|
|
|
|
|
|
|
|
|
import "mayfly-go/pkg/model"
|
|
|
|
|
|
|
|
|
|
type RedisQuery struct {
|
|
|
|
|
model.Model
|
|
|
|
|
|
|
|
|
|
Name string `orm:"column(name)" json:"name"`
|
|
|
|
|
Host string `orm:"column(host)" json:"host"`
|
|
|
|
|
Mode string `json:"mode"`
|
|
|
|
|
Password string `orm:"column(password)" json:"-"`
|
|
|
|
|
Db string `orm:"column(database)" json:"db"`
|
2023-03-06 16:59:57 +08:00
|
|
|
SshTunnelMachineId int `orm:"column(ssh_tunnel_machine_id)" json:"sshTunnelMachineId"` // ssh隧道机器id
|
2022-10-26 20:49:29 +08:00
|
|
|
Remark string
|
|
|
|
|
|
2023-12-05 23:03:51 +08:00
|
|
|
Codes []string
|
2023-07-08 20:05:55 +08:00
|
|
|
TagPath string `form:"tagPath"`
|
2022-10-26 20:49:29 +08:00
|
|
|
}
|