Versions in this module Expand all Collapse all v1 v1.11.1 Jul 29, 2026 Changes in this version + type CreateModelGroupReq struct + Name string + type CreateModelRelationReq struct + Mapping string + RelationTypeUID string + SourceModelUID string + TargetModelUID string + type CreateModelReq struct + GroupId int64 + Icon string + Name string + UID string + type DeleteModelByUidReq struct + ModelUid string + type DeleteModelGroup struct + ID int64 + type DeleteModelRelationReq struct + Id int64 + type DetailModelReq struct + ID int64 + type GetByUidsReq struct + Uids []string + type Handler struct + RMSvc relationservice.RelationModelService + func NewHandler(svc modelservice.Service, mgSvc modelservice.MGService, ...) *Handler + func (h *Handler) CreateModel(ctx *gin.Context, req CreateModelReq) (ginx.Result, error) + func (h *Handler) CreateModelGroup(ctx *gin.Context, req CreateModelGroupReq) (ginx.Result, error) + func (h *Handler) CreateModelRelation(ctx *gin.Context, req CreateModelRelationReq) (ginx.Result, error) + func (h *Handler) DeleteModelByUid(ctx *gin.Context, req DeleteModelByUidReq) (ginx.Result, error) + func (h *Handler) DeleteModelGroup(ctx *gin.Context, req DeleteModelGroup) (ginx.Result, error) + func (h *Handler) DeleteModelRelation(ctx *gin.Context, req DeleteModelRelationReq) (ginx.Result, error) + func (h *Handler) DetailModel(ctx *gin.Context) (ginx.Result, error) + func (h *Handler) FindModelsGraph(ctx *gin.Context, req Page) (ginx.Result, error) + func (h *Handler) GetByUids(ctx *gin.Context, req GetByUidsReq) (ginx.Result, error) + func (h *Handler) ListModelGroups(ctx *gin.Context, req Page) (ginx.Result, error) + func (h *Handler) ListModelUIDRelation(ctx *gin.Context, req ListModelRelationReq) (ginx.Result, error) + func (h *Handler) ListModels(ctx *gin.Context, req Page) (ginx.Result, error) + func (h *Handler) ListModelsByGroup(ctx *gin.Context, req Page) (ginx.Result, error) + func (h *Handler) PrivateRoutes(server *gin.Engine) + func (h *Handler) RenameModelGroup(ctx *gin.Context, req RenameModelGroupReq) (ginx.Result, error) + func (h *Handler) UpdateModelRelation(ctx *gin.Context, req UpdateModelRelationReq) (ginx.Result, error) + type ListModelRelationReq struct + ModelUid string + type Model struct + Builtin bool + Ctime string + Icon string + Id int64 + Name string + Total int + UID string + Utime string + type ModelGroup struct + Id int64 + Name string + type ModelGroupItem struct + GroupID int64 + GroupName string + ModelUIDs []string + type ModelLine struct + From string + Text string + To string + type ModelNode struct + Data map[string]string + ID string + Text string + type ModelRelation struct + ID int64 + Mapping string + RelationName string + RelationTypeUID string + SourceModelUID string + TargetModelUID string + type ModelSummaryVO struct + Builtin bool + GroupID int64 + ID int64 + Icon string + Name string + ResourceCount int + UID string + type Page struct + Limit int64 + Offset int64 + type RenameModelGroupReq struct + ID int64 + Name string + type RetrieveModelGroupedListResp struct + Groups []ModelGroupItem + Models []ModelSummaryVO + Total int64 + type RetrieveModelGroupsListResp struct + Mgs []ModelGroup + Total int64 + type RetrieveModelsListResp struct + Models []Model + Total int64 + type RetrieveRelationModelGraph struct + Lines []ModelLine + Nodes []ModelNode + RootId string + type RetrieveRelationModels struct + ModelRelations []ModelRelation + Total int64 + type UpdateModelRelationReq struct + ID int64 + Mapping string + RelationTypeUID string + SourceModelUID string + TargetModelUID string