web

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2026 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRelationTypeReq

type CreateRelationTypeReq struct {
	Name           string `json:"name"`
	UID            string `json:"uid"`
	SourceDescribe string `json:"source_describe"`
	TargetDescribe string `json:"target_describe"`
}

CreateRelationTypeReq 关联关系类型

type DeleteRelationTypeReq

type DeleteRelationTypeReq struct {
	Id int64 `json:"id"`
}

type Page

type Page struct {
	Offset int64 `json:"offset,omitempty"`
	Limit  int64 `json:"limit,omitempty"`
}

type RelationType

type RelationType struct {
	ID             int64  `json:"id"`
	Name           string `json:"name"`
	UID            string `json:"uid"`
	SourceDescribe string `json:"source_describe"`
	TargetDescribe string `json:"target_describe"`
}

type RelationTypeHandler

type RelationTypeHandler struct {
	capability.IRegistry
	// contains filtered or unexported fields
}

func (*RelationTypeHandler) Create

func (*RelationTypeHandler) Delete

func (*RelationTypeHandler) IdentifyRoutes added in v1.11.2

func (h *RelationTypeHandler) IdentifyRoutes(_ *gin.Engine)

func (*RelationTypeHandler) List

func (h *RelationTypeHandler) List(ctx *ginx.Context, req Page) (ginx.Result, error)

func (*RelationTypeHandler) PrivateRoutes added in v1.11.2

func (h *RelationTypeHandler) PrivateRoutes(server *gin.Engine)

PrivateRoutes 注册关系类型管理需要中心化登录及权限判定(由 EIAM SDK 统一拦截承载)的私有路由

func (*RelationTypeHandler) PublicRoutes added in v1.11.2

func (h *RelationTypeHandler) PublicRoutes(_ *gin.Engine)

func (*RelationTypeHandler) Update

type RetrieveRelationType

type RetrieveRelationType struct {
	Total         int64          `json:"total,omitempty"`
	RelationTypes []RelationType `json:"relation_types,omitempty"`
}

type UpdateRelationTypeReq

type UpdateRelationTypeReq struct {
	ID             int64  `json:"id"`
	Name           string `json:"name"`
	SourceDescribe string `json:"source_describe"`
	TargetDescribe string `json:"target_describe"`
}

Jump to

Keyboard shortcuts

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