style: 接口/包注释
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
type ConnTelnet struct {
|
||||
User string `json:"user"` // 主机用户名
|
||||
Addr string `json:"addr"` // 主机地址
|
||||
Port int `json:"port"` // telnet端口
|
||||
Port int64 `json:"port"` // telnet端口
|
||||
Password string `json:"password"` // 认证密码
|
||||
|
||||
DialTimeOut time.Duration `json:"dialTimeOut"` // 连接超时断开
|
||||
|
||||
@@ -22,7 +22,7 @@ var NewNeAction = &NeActionController{
|
||||
|
||||
// 网元处理请求
|
||||
//
|
||||
// PATH /
|
||||
// PATH /action
|
||||
type NeActionController struct {
|
||||
// 网元信息服务
|
||||
neInfoService neService.INeInfo
|
||||
@@ -66,7 +66,7 @@ func (s *NeActionController) PushFile(c *gin.Context) {
|
||||
c.JSON(200, result.OkData(filepath.ToSlash(neFilePath)))
|
||||
}
|
||||
|
||||
// 从网元端获取文件
|
||||
// 获取文件从网元到本地
|
||||
//
|
||||
// GET /pullFile
|
||||
func (s *NeActionController) PullFile(c *gin.Context) {
|
||||
|
||||
Reference in New Issue
Block a user