Versions in this module Expand all Collapse all v1 v1.11.1 Jul 29, 2026 Changes in this version + type CreateRelationTypeReq struct + Name string + SourceDescribe string + TargetDescribe string + UID string + type DeleteRelationTypeReq struct + Id int64 + type Page struct + Limit int64 + Offset int64 + type RelationType struct + ID int64 + Name string + SourceDescribe string + TargetDescribe string + UID string + type RelationTypeHandler struct + func NewRelationTypeHandler(svc service.RelationTypeService) *RelationTypeHandler + func (h *RelationTypeHandler) Create(ctx *gin.Context, req CreateRelationTypeReq) (ginx.Result, error) + func (h *RelationTypeHandler) Delete(ctx *gin.Context, req DeleteRelationTypeReq) (ginx.Result, error) + func (h *RelationTypeHandler) List(ctx *gin.Context, req Page) (ginx.Result, error) + func (h *RelationTypeHandler) PrivateRoute(server *gin.Engine) + func (h *RelationTypeHandler) Update(ctx *gin.Context, req UpdateRelationTypeReq) (ginx.Result, error) + type RetrieveRelationType struct + RelationTypes []RelationType + Total int64 + type UpdateRelationTypeReq struct + ID int64 + Name string + SourceDescribe string + TargetDescribe string