file

package
v5.0.2-beta8 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: AGPL-3.0 Imports: 22 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`,
	},
	{
		Display: false,
		Name:    `删除附件`,
		Action:  `file/delete/:id`,
	},
}

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 FileList

func FileList(ctx echo.Context) error

func Finder

func Finder(ctx echo.Context) 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