link

package
v0.0.0-...-5961e9c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinkInfoAddReq

type LinkInfoAddReq struct {
	g.Meta `path:"/linkInfo/add" tags:"连接信息管理" method:"post" summary:"添加连接信息管理"`
	Name   string `p:"name" v:"required#连接名称不能为空"`
	Mark   string `p:"mark" `
}

LinkInfoAddReq 添加操作请求参数

type LinkInfoAddRes

type LinkInfoAddRes struct {
}

type LinkInfoDeleteReq

type LinkInfoDeleteReq struct {
	g.Meta `path:"/linkInfo/delete" tags:"连接信息管理" method:"delete" summary:"删除连接信息管理"`
	Ids    []int `p:"ids"`
}

type LinkInfoDeleteRes

type LinkInfoDeleteRes struct {
}

type LinkInfoEditReq

type LinkInfoEditReq struct {
	g.Meta `path:"/linkInfo/edit" tags:"连接信息管理" method:"put" summary:"修改连接信息管理"`
	Id     int    `p:"id" v:"required#主键ID不能为空"`
	Name   string `p:"name" v:"required#连接名称不能为空"`
	Mark   string `p:"mark" `
}

LinkInfoEditReq 修改操作请求参数

type LinkInfoEditRes

type LinkInfoEditRes struct {
}

type LinkInfoGetReq

type LinkInfoGetReq struct {
	g.Meta `path:"/linkInfo/get" tags:"连接信息管理" method:"get" summary:"获取连接信息管理数据"`
	Id     int `p:"id"`
}

type LinkInfoGetRes

type LinkInfoGetRes struct {
	g.Meta `mime:"application/json"`
	*entity.LinkInfo
}

type LinkInfoSearchReq

type LinkInfoSearchReq struct {
	g.Meta    `path:"/linkInfo/list" tags:"连接信息管理" method:"get" summary:"连接信息管理列表"`
	Name      string `p:"name"`      //连接名称
	Mark      string `p:"mark"`      //连接标记
	BeginTime string `p:"beginTime"` //开始时间
	EndTime   string `p:"endTime"`   //结束时间
	commonApi.PageReq
}

LinkInfoSearchReq 分页请求参数

type LinkInfoSearchRes

type LinkInfoSearchRes struct {
	g.Meta `mime:"application/json"`
	commonApi.ListRes
	List []*entity.LinkInfo `json:"list"`
}

type LinkNetAddReq

type LinkNetAddReq struct {
	g.Meta     `path:"/linkNet/add" tags:"网络连接信息管理" method:"post" summary:"添加网络连接信息管理"`
	Name       string `p:"name" v:"required#连接名称不能为空"`
	Mark       string `p:"mark" `
	RemoteType int    `p:"remoteType" `
	RemoteAddr string `p:"remoteAddr" `
	RemotePort string `p:"remotePort" `
	Timeout    int    `p:"timeout" `
}

LinkNetAddReq 添加操作请求参数

type LinkNetAddRes

type LinkNetAddRes struct {
}

type LinkNetDeleteReq

type LinkNetDeleteReq struct {
	g.Meta `path:"/linkNet/delete" tags:"网络连接信息管理" method:"delete" summary:"删除网络连接信息管理"`
	Ids    []int `p:"ids"`
}

type LinkNetDeleteRes

type LinkNetDeleteRes struct {
}

type LinkNetEditReq

type LinkNetEditReq struct {
	g.Meta     `path:"/linkNet/edit" tags:"网络连接信息管理" method:"put" summary:"修改网络连接信息管理"`
	Id         int    `p:"id" v:"required#主键ID不能为空"`
	Name       string `p:"name" v:"required#连接名称不能为空"`
	Mark       string `p:"mark" `
	RemoteType int    `p:"remoteType" `
	RemoteAddr string `p:"remoteAddr" `
	RemotePort string `p:"remotePort" `
	Timeout    int    `p:"timeout" `
}

LinkNetEditReq 修改操作请求参数

type LinkNetEditRes

type LinkNetEditRes struct {
}

type LinkNetGetReq

type LinkNetGetReq struct {
	g.Meta `path:"/linkNet/get" tags:"网络连接信息管理" method:"get" summary:"获取网络连接信息管理数据"`
	Id     int `p:"id"`
}

type LinkNetGetRes

type LinkNetGetRes struct {
	g.Meta `mime:"application/json"`
	*entity.LinkNet
}

type LinkNetSearchReq

type LinkNetSearchReq struct {
	g.Meta     `path:"/linkNet/list" tags:"网络连接信息管理" method:"get" summary:"网络连接信息管理列表"`
	Name       string `p:"name"`       //连接名称
	Mark       string `p:"mark"`       //串口标记
	RemoteType string `p:"remoteType"` //远程类型
	RemoteAddr string `p:"remoteAddr"` //远程地址
	RemotePort string `p:"remotePort"` //远程端口号
	Timeout    string `p:"timeout"`    //超时时间
	BeginTime  string `p:"beginTime"`  //开始时间
	EndTime    string `p:"endTime"`    //结束时间
	commonApi.PageReq
}

LinkNetSearchReq 分页请求参数

type LinkNetSearchRes

type LinkNetSearchRes struct {
	g.Meta `mime:"application/json"`
	commonApi.ListRes
	List []*entity.LinkNet `json:"list"`
}

type LinkSerialAddReq

type LinkSerialAddReq struct {
	g.Meta       `path:"/linkSerial/add" tags:"串口连接信息管理" method:"post" summary:"添加串口连接信息管理"`
	Name         string `p:"name" v:"required#连接名称不能为空"`
	Mark         string `p:"mark" `
	SerialName   string `p:"serialName" v:"required#串口号不能为空"`
	SerialBaund  int    `p:"serialBaund" `
	SerialParity int    `p:"serialParity" `
	SerialData   int    `p:"serialData" `
	SerialStop   int    `p:"serialStop" `
}

LinkSerialAddReq 添加操作请求参数

type LinkSerialAddRes

type LinkSerialAddRes struct {
}

type LinkSerialDeleteReq

type LinkSerialDeleteReq struct {
	g.Meta `path:"/linkSerial/delete" tags:"串口连接信息管理" method:"delete" summary:"删除串口连接信息管理"`
	Ids    []int `p:"ids"`
}

type LinkSerialDeleteRes

type LinkSerialDeleteRes struct {
}

type LinkSerialEditReq

type LinkSerialEditReq struct {
	g.Meta       `path:"/linkSerial/edit" tags:"串口连接信息管理" method:"put" summary:"修改串口连接信息管理"`
	Id           int    `p:"id" v:"required#主键ID不能为空"`
	Name         string `p:"name" v:"required#连接名称不能为空"`
	Mark         string `p:"mark" `
	SerialName   string `p:"serialName" v:"required#串口号不能为空"`
	SerialBaund  int    `p:"serialBaund" `
	SerialParity int    `p:"serialParity" `
	SerialData   int    `p:"serialData" `
	SerialStop   int    `p:"serialStop" `
}

LinkSerialEditReq 修改操作请求参数

type LinkSerialEditRes

type LinkSerialEditRes struct {
}

type LinkSerialGetReq

type LinkSerialGetReq struct {
	g.Meta `path:"/linkSerial/get" tags:"串口连接信息管理" method:"get" summary:"获取串口连接信息管理数据"`
	Id     int `p:"id"`
}

type LinkSerialGetRes

type LinkSerialGetRes struct {
	g.Meta `mime:"application/json"`
	*entity.LinkSerial
}

type LinkSerialSearchReq

type LinkSerialSearchReq struct {
	g.Meta       `path:"/linkSerial/list" tags:"串口连接信息管理" method:"get" summary:"串口连接信息管理列表"`
	Name         string `p:"name"`         //连接名称
	Mark         string `p:"mark"`         //串口标记
	SerialName   string `p:"serialName"`   //串口号
	SerialBaund  string `p:"serialBaund"`  //串口波特率
	SerialParity string `p:"serialParity"` //串口校验位
	SerialData   string `p:"serialData"`   //串口数据位
	SerialStop   string `p:"serialStop"`   //串口停止位
	BeginTime    string `p:"beginTime"`    //开始时间
	EndTime      string `p:"endTime"`      //结束时间
	commonApi.PageReq
}

LinkSerialSearchReq 分页请求参数

type LinkSerialSearchRes

type LinkSerialSearchRes struct {
	g.Meta `mime:"application/json"`
	commonApi.ListRes
	List []*entity.LinkSerial `json:"list"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL