file

package
v5.3.4 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: AGPL-3.0 Imports: 25 Imported by: 1

Documentation

Overview

Package file 上传文件管理

Index

Constants

This section is empty.

Variables

View Source
var TopNavigate = navigate.List{
	{
		Display: true,
		Name:    `附件管理`,
		Action:  `file/list`,
		Group:   `file`,
	},
	{
		Display: false,
		Name:    `删除附件`,
		Action:  `file/delete/:id`,
		Group:   `file`,
	},
}

Functions

func File

func File(ctx echo.Context) error

func FileClean

func FileClean(ctx echo.Context) (err error)

FileClean 删除未使用文件

func FileDelete

func FileDelete(ctx echo.Context) (err error)

func FileDeleteWithOwner added in v5.3.4

func FileDeleteWithOwner(ctx echo.Context, ownerType string, ownerID uint64) (err error)

func FileList

func FileList(ctx echo.Context) error

func FileListWithOwner added in v5.3.4

func FileListWithOwner(ctx echo.Context, ownerType string, ownerID uint64) error

func Finder

func Finder(ctx echo.Context) error

func FinderWithOwner added in v5.3.4

func FinderWithOwner(ctx echo.Context, ownerType string, ownerID uint64) error

func List

func List(ctx echo.Context, ownerType string, ownerID uint64) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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