file

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Router

func Router(root server.Router)

Router 文件管理路由注册

Types

type FileDeleteResp

type FileDeleteResp struct {
	app.Response
}

FileDeleteResp 文件删除响应结构体

type FileInfo

type FileInfo struct {
	Name string `json:"name"` // 文件名
	Url  string `json:"url"`  // 文件访问URL
}

FileInfo 文件信息结构体

type FileUploadResp

type FileUploadResp struct {
	app.Response
	Data FileInfo `json:"data"`
}

FileUploadResp 文件上传响应结构体

Jump to

Keyboard shortcuts

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