driver

package
v0.0.0-...-ce4ab70 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateDirReq

type CreateDirReq struct {
	ParentId string `json:"parent_id"`
	Name     string `json:"name"`
	Ondup    int    `json:"ondup"`
}

type CreateDirRes

type CreateDirRes struct {
	ObjectId string `json:"object_id"`
}

type HttpRestError

type HttpRestError struct {
	// Code: 业务错误码
	Code string `json:"code"`
	// Cause: 错误原因
	Cause string `json:"cause"`
}

type HttpRestHandler

type HttpRestHandler struct {
	// contains filtered or unexported fields
}

func NewHttpRestHandler

func NewHttpRestHandler(metadata interfaces.MetadataLogic) HttpRestHandler

func (*HttpRestHandler) RegisterRouter

func (h *HttpRestHandler) RegisterRouter(g *gin.Engine)

type ListSubTreeReq

type ListSubTreeReq struct {
	ObjectId string `json:"objectId"`
}

type ListSubTreeRes

type ListSubTreeRes struct {
	*interfaces.MetadataTreeNode
}

type MoveDirReq

type MoveDirReq struct {
	NewParentId string `json:"new_parent_id"`
}

Jump to

Keyboard shortcuts

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