Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogicSshWsSession ¶
type LogicSshWsSession struct { IsFlagged bool `comment:"当前session是否包含禁止命令"` // contains filtered or unexported fields }
func NewLogicSshWsSession ¶
func (*LogicSshWsSession) LogString ¶
func (sws *LogicSshWsSession) LogString() string
func (*LogicSshWsSession) Start ¶
func (sws *LogicSshWsSession) Start(quitChan chan bool)
func (*LogicSshWsSession) Wait ¶
func (sws *LogicSshWsSession) Wait(quitChan chan bool)
type SshMachine ¶
type SshMachine struct { Id uint `gorm:"primary_key" json:"id" form:"id"` Name string `json:"name" gorm:"type:varchar(50);unique_index"` Host string `json:"host" gorm:"type:varchar(50)"` Ip string `json:"ip" gorm:"type:varchar(80)"` Port uint `json:"port" gorm:"type:int(6)"` User string `json:"user" gorm:"type:varchar(20)"` Password string `json:"password,omitempty"` Key string `json:"key,omitempty"` Type string `json:"type" gorm:"type:varchar(20)"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
Click to show internal directories.
Click to hide internal directories.