source

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 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 DataNodeAddReq

type DataNodeAddReq struct {
	g.Meta `path:"/node/add" method:"post" summary:"添加数据节点" tags:"数据源"`
	*model.DataNodeAddInput
}

type DataNodeAddRes

type DataNodeAddRes struct{}

type DataNodeDelReq

type DataNodeDelReq struct {
	g.Meta `path:"/node/del" method:"delete" summary:"删除数据节点" tags:"数据源"`
	NodeId uint64 `json:"nodeId" dc:"数据节点ID" v:"required#数据节点ID不能为空"`
}

type DataNodeDelRes

type DataNodeDelRes struct{}

type DataNodeEditReq

type DataNodeEditReq struct {
	g.Meta `path:"/node/edit" method:"put" summary:"编辑数据节点" tags:"数据源"`
	*model.DataNodeEditInput
}

type DataNodeEditRes

type DataNodeEditRes struct{}

type DataNodeListReq

type DataNodeListReq struct {
	g.Meta   `path:"/node/list" method:"get" summary:"数据节点列表" tags:"数据源"`
	SourceId uint64 `json:"sourceId" dc:"数据源ID" v:"required#数据源ID不能为空"`
}

type DataNodeListRes

type DataNodeListRes struct {
	List []*model.DataNodeOutput `json:"list" dc:"数据节点列表"`
}

type DataSourceApiAddReq

type DataSourceApiAddReq struct {
	g.Meta `path:"/api/add" method:"post" summary:"添加API数据源" tags:"数据源"`
	*model.DataSourceApiAddInput
}

type DataSourceApiAddRes

type DataSourceApiAddRes struct{}

type DataSourceApiEditReq

type DataSourceApiEditReq struct {
	g.Meta `path:"/api/edit" method:"put" summary:"编辑API数据源" tags:"数据源"`
	*model.DataSourceApiEditInput
}

type DataSourceApiEditRes

type DataSourceApiEditRes struct{}

type DataSourceApiGetReq

type DataSourceApiGetReq struct {
	g.Meta   `path:"/api/get" method:"get" summary:"获取API数据" tags:"数据源"`
	SourceId uint64 `json:"sourceId" dc:"数据源ID" v:"required#数据源ID不能为空"`
}

type DataSourceApiGetRes

type DataSourceApiGetRes struct {
	Data string `json:"data" dc:"api源数据"`
}

type DataSourceCopyReq

type DataSourceCopyReq struct {
	g.Meta   `path:"/copy" method:"post" summary:"复制数据源" tags:"数据源"`
	SourceId uint64 `json:"sourceId" dc:"数据源ID" v:"required#数据源ID不能为空"`
}

type DataSourceCopyRes

type DataSourceCopyRes struct{}

type DataSourceDataReq

type DataSourceDataReq struct {
	g.Meta `path:"/getdata" method:"get" summary:"获取源数据记录" tags:"数据源"`
	*model.DataSourceDataInput
}

type DataSourceDataRes

type DataSourceDataRes struct {
	*model.DataSourceDataOutput
}

type DataSourceDbAddReq

type DataSourceDbAddReq struct {
	g.Meta `path:"/db/add" method:"post" summary:"添加数据库数据源" tags:"数据源"`
	*model.DataSourceDbAddInput
}

type DataSourceDbAddRes

type DataSourceDbAddRes struct{}

type DataSourceDbEditReq

type DataSourceDbEditReq struct {
	g.Meta `path:"/db/edit" method:"put" summary:"编辑数据库数据源" tags:"数据源"`
	*model.DataSourceDbEditInput
}

type DataSourceDbEditRes

type DataSourceDbEditRes struct{}

type DataSourceDbFieldsReq

type DataSourceDbFieldsReq struct {
	g.Meta   `path:"/db/fields" method:"get" summary:"获取数据表字段" tags:"数据源"`
	SourceId uint64 `json:"sourceId" dc:"数据源ID" v:"required#数据源ID不能为空"`
}

type DataSourceDbFieldsRes

type DataSourceDbFieldsRes struct {
	Data g.MapStrAny `json:"data" dc:"数据表字段"`
}

type DataSourceDbGetReq

type DataSourceDbGetReq struct {
	g.Meta   `path:"/db/get" method:"get" summary:"获取数据库数据" tags:"数据源"`
	SourceId uint64 `json:"sourceId" dc:"数据源ID" v:"required#数据源ID不能为空"`
}

type DataSourceDbGetRes

type DataSourceDbGetRes struct {
	Data string `json:"data" dc:"数据库源数据"`
}

type DataSourceDelReq

type DataSourceDelReq struct {
	g.Meta `path:"/del" method:"delete" summary:"删除数据源" tags:"数据源"`
	Ids    []uint64 `json:"ids" dc:"数据源Ids" v:"required#数据源ID不能为空"`
}

type DataSourceDelRes

type DataSourceDelRes struct{}

type DataSourceDeployReq

type DataSourceDeployReq struct {
	g.Meta   `path:"/deploy" method:"post" summary:"发布" tags:"数据源"`
	SourceId uint64 `json:"sourceId" dc:"数据源ID" v:"required#数据源ID不能为空"`
}

type DataSourceDeployRes

type DataSourceDeployRes struct{}

type DataSourceDeviceAddReq

type DataSourceDeviceAddReq struct {
	g.Meta `path:"/device/add" method:"post" summary:"添加设备数据源" tags:"数据源"`
	*model.DataSourceDeviceAddInput
}

type DataSourceDeviceAddRes

type DataSourceDeviceAddRes struct{}

type DataSourceDeviceEditReq

type DataSourceDeviceEditReq struct {
	g.Meta `path:"/device/edit" method:"put" summary:"编辑设备数据源" tags:"数据源"`
	*model.DataSourceDeviceEditInput
}

type DataSourceDeviceEditRes

type DataSourceDeviceEditRes struct{}

type DataSourceDeviceGetReq

type DataSourceDeviceGetReq struct {
	g.Meta   `path:"/device/get" method:"get" summary:"获取设备数据" tags:"数据源"`
	SourceId uint64 `json:"sourceId" dc:"数据源ID" v:"required#数据源ID不能为空"`
}

type DataSourceDeviceGetRes

type DataSourceDeviceGetRes struct {
	Data string `json:"data" dc:"设备源数据"`
}

type DataSourceListReq

type DataSourceListReq struct {
	g.Meta `path:"/list" method:"get" summary:"数据源列表" tags:"数据源"`
}

type DataSourceListRes

type DataSourceListRes struct {
	List []*entity.DataSource `json:"list" dc:"数据源列表"`
}

type DataSourceReq

type DataSourceReq struct {
	g.Meta   `path:"/detail" method:"get" summary:"数据源详情" tags:"数据源"`
	SourceId uint64 `json:"sourceId" dc:"数据源ID" v:"required#数据源ID不能为空"`
}

type DataSourceRes

type DataSourceRes struct {
	Data *model.DataSourceOutput `json:"data" dc:"数据源详情"`
}

type DataSourceSearchReq

type DataSourceSearchReq struct {
	g.Meta `path:"/search" method:"get" summary:"搜索数据源" tags:"数据源"`
	*model.DataSourceSearchInput
}

type DataSourceSearchRes

type DataSourceSearchRes struct {
	*model.DataSourceSearchOutput
}

type DataSourceUndeployReq

type DataSourceUndeployReq struct {
	g.Meta   `path:"/undeploy" method:"post" summary:"停用" tags:"数据源"`
	SourceId uint64 `json:"sourceId" dc:"数据源ID" v:"required#数据源ID不能为空"`
}

type DataSourceUndeployRes

type DataSourceUndeployRes struct{}

type DataTemplateAddReq

type DataTemplateAddReq struct {
	g.Meta `path:"/template/add" method:"post" summary:"添加数据模型" tags:"数据建模"`
	*model.DataTemplateAddInput
}

type DataTemplateAddRes

type DataTemplateAddRes struct{}

type DataTemplateCheckRelationReq

type DataTemplateCheckRelationReq struct {
	g.Meta `path:"/template/relation_check" method:"get" summary:"检测数据模型是否需要设置关联" tags:"数据建模"`
	Id     uint64 `json:"id" dc:"数据模型ID" v:"required#数据模型ID不能为空"`
}

type DataTemplateCheckRelationRes

type DataTemplateCheckRelationRes struct {
	Yes bool `json:"yes" dc:"是否需要设置关联: true:需要设置, false:不需要"`
}

type DataTemplateCopyReq

type DataTemplateCopyReq struct {
	g.Meta `path:"/template/copy" method:"post" summary:"复制模型" tags:"数据建模"`
	Id     uint64 `json:"id" dc:"数据模型ID" v:"required#数据模型ID不能为空"`
}

type DataTemplateCopyRes

type DataTemplateCopyRes struct{}

type DataTemplateDataReq

type DataTemplateDataReq struct {
	g.Meta `path:"/template/getdata" method:"get" summary:"获取模型数据" tags:"数据建模"`
	*model.DataTemplateDataInput
}

type DataTemplateDataRes

type DataTemplateDataRes struct {
	*model.DataTemplateDataOutput
}

type DataTemplateDelReq

type DataTemplateDelReq struct {
	g.Meta `path:"/template/del" method:"delete" summary:"删除数据模型" tags:"数据建模"`
	Ids    []uint64 `json:"ids" dc:"数据模型Ids" v:"required#数据模型ID不能为空"`
}

type DataTemplateDelRes

type DataTemplateDelRes struct{}

type DataTemplateDeployReq

type DataTemplateDeployReq struct {
	g.Meta `path:"/template/deploy" method:"post" summary:"发布" tags:"数据建模"`
	Id     uint64 `json:"id" dc:"数据模型ID" v:"required#数据模型ID不能为空"`
}

type DataTemplateDeployRes

type DataTemplateDeployRes struct{}

type DataTemplateEditReq

type DataTemplateEditReq struct {
	g.Meta `path:"/template/edit" method:"put" summary:"编辑数据模型" tags:"数据建模"`
	*model.DataTemplateEditInput
}

type DataTemplateEditRes

type DataTemplateEditRes struct{}

type DataTemplateListReq

type DataTemplateListReq struct {
	g.Meta `path:"/template/list" method:"get" summary:"已发布数据模型列表" tags:"数据建模"`
}

type DataTemplateListRes

type DataTemplateListRes struct {
	List []*entity.DataTemplate `json:"list" dc:"数据模型列表"`
}

type DataTemplateNodeAddReq

type DataTemplateNodeAddReq struct {
	g.Meta `path:"/template/node/add" method:"post" summary:"添加数据模型节点" tags:"数据建模"`
	*model.DataTemplateNodeAddInput
}

type DataTemplateNodeAddRes

type DataTemplateNodeAddRes struct{}

type DataTemplateNodeDelReq

type DataTemplateNodeDelReq struct {
	g.Meta `path:"/template/node/del" method:"delete" summary:"删除数据模型节点" tags:"数据建模"`
	Id     uint64 `json:"id" dc:"数据模型节点ID" v:"required#数据模型节点ID不能为空"`
}

type DataTemplateNodeDelRes

type DataTemplateNodeDelRes struct{}

type DataTemplateNodeEditReq

type DataTemplateNodeEditReq struct {
	g.Meta `path:"/template/node/edit" method:"put" summary:"编辑数据模型节点" tags:"数据建模"`
	*model.DataTemplateNodeEditInput
}

type DataTemplateNodeEditRes

type DataTemplateNodeEditRes struct{}

type DataTemplateNodeListReq

type DataTemplateNodeListReq struct {
	g.Meta `path:"/template/node/list" method:"get" summary:"数据模型节点列表" tags:"数据建模"`
	Tid    uint64 `json:"tid" dc:"数据模型ID" v:"required#数据模型ID不能为空"`
}

type DataTemplateNodeListRes

type DataTemplateNodeListRes struct {
	List []*model.DataTemplateNodeOutput `json:"list" dc:"数据模型节点列表"`
}

type DataTemplateRelationReq

type DataTemplateRelationReq struct {
	g.Meta `path:"/template/relation" method:"post" summary:"设置主源、关联字段" tags:"数据建模"`
	*model.TemplateDataRelationInput
}

type DataTemplateRelationRes

type DataTemplateRelationRes struct{}

type DataTemplateReq

type DataTemplateReq struct {
	g.Meta `path:"/template/detail" method:"get" summary:"数据模型详情" tags:"数据建模"`
	Id     uint64 `json:"id" dc:"数据模型ID" v:"required#数据模型ID不能为空"`
}

type DataTemplateRes

type DataTemplateRes struct {
	Data *model.DataTemplateOutput `json:"data" dc:"数据模型详情"`
}

type DataTemplateSearchReq

type DataTemplateSearchReq struct {
	g.Meta `path:"/template/search" method:"get" summary:"搜索数据模型" tags:"数据建模"`
	*model.DataTemplateSearchInput
}

type DataTemplateSearchRes

type DataTemplateSearchRes struct {
	*model.DataTemplateSearchOutput
}

type DataTemplateUndeployReq

type DataTemplateUndeployReq struct {
	g.Meta `path:"/template/undeploy" method:"post" summary:"停用" tags:"数据建模"`
	Id     uint64 `json:"id" dc:"数据模型ID" v:"required#数据模型ID不能为空"`
}

type DataTemplateUndeployRes

type DataTemplateUndeployRes struct{}

type TemplateSourceListReq

type TemplateSourceListReq struct {
	g.Meta `path:"/template/source_list" method:"get" summary:"数据模型源列表" tags:"数据建模"`
	Id     uint64 `json:"id" dc:"数据模型ID" v:"required#数据模型ID不能为空"`
}

type TemplateSourceListRes

type TemplateSourceListRes struct {
	List []*model.DataSourceOutput
}

Jump to

Keyboard shortcuts

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