v1HTTPAPI

package
v1.65.1 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Catalog struct {
	Rezip       RezipAPI
	UUID        UUIDAPI
	FileManager FileManagerAPI
}

Functions

This section is empty.

Types

type FileManagerAPI

type FileManagerAPI struct{}

func (*FileManagerAPI) Destroy added in v1.64.63

func (*FileManagerAPI) Destroy(c *gin.Context)

Delete 删除文件或目录 * POST /api/v1/fileManger/destroy

func (*FileManagerAPI) Download added in v1.64.63

func (*FileManagerAPI) Download(c *gin.Context)

Download 下载文件 * GET /api/v1/fileManger/download

func (*FileManagerAPI) List

func (*FileManagerAPI) List(c *gin.Context)

List 列出上传的文件 * POST /api/v1/fileManger/list

func (*FileManagerAPI) StoreFolder added in v1.65.0

func (*FileManagerAPI) StoreFolder(c *gin.Context)

StoreFolder 创建文件夹 * POST /api/v1/fileManger/storeFolder

func (*FileManagerAPI) Upload

func (*FileManagerAPI) Upload(c *gin.Context)

Upload 上传单个文件 * POST /api/v1/fileManger/upload

func (*FileManagerAPI) Zip added in v1.64.63

func (*FileManagerAPI) Zip(c *gin.Context)

Zip 压缩文件或目录 * POST /api/v1/fileManger/zip

type RezipAPI

type RezipAPI struct{}

func (*RezipAPI) Upload

func (*RezipAPI) Upload(c *gin.Context)

type UUIDAPI

type UUIDAPI struct{}

func (*UUIDAPI) Generate

func (*UUIDAPI) Generate(c *gin.Context)

Generate 批量生成uuid * URL POST /api/v1/uuid/generate

func (*UUIDAPI) Versions

func (*UUIDAPI) Versions(c *gin.Context)

Versions 获取支持的UUID版本 * URL POST /api/v1/uuid/versions

Jump to

Keyboard shortcuts

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