package v1 import "github.com/gogf/gf/v2/frame/g" type NodeConfigReq struct { g.Meta `path:"/add" tags:"add" method:"get" summary:"添加节点SSH配置"` ServerId int `p:"serverid"` SshCom string `p:"sshcom"` SshPass string `p:"sshpass"` SshUser string `p:"sshuser"` } type NodeConfigRes struct { } type NodeConfigEditReq struct { g.Meta `path:"/edit" tags:"edit" method:"get" summary:"编辑节点SSH配置"` ServerId int `p:"serverid"` SshCom string `p:"sshcom"` SshPass string `p:"sshpass"` SshUser string `p:"sshuser"` } type NodeConfigEditRes struct { } type NodeConfigDeleteReq struct { g.Meta `path:"/delete" tags:"delete" method:"get" summary:"删除SSH配置"` ServerId int `p:"serverid"` } type NodeConfigDeleteRes struct { }