manager

package
v2.0.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2019 License: AGPL-3.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	StorerEngine   = filesystem.Name
	DefaultChecker = func(r *uploadClient.Result) error {
		return nil
	}
)

Functions

func ClearCache

func ClearCache(ctx echo.Context) error

func Crop

func Crop(ctx echo.Context) error

func Editable

func Editable(fileName string) (string, bool)

func File

func File(ctx echo.Context) error

func Invitation

func Invitation(ctx echo.Context) error

func InvitationAdd

func InvitationAdd(ctx echo.Context) error

func InvitationDelete

func InvitationDelete(ctx echo.Context) error

func InvitationEdit

func InvitationEdit(ctx echo.Context) error

func Playable

func Playable(fileName string) (string, bool)

func ResponseDataForUpload

func ResponseDataForUpload(ctx echo.Context, field string, err error, imageURLs []string) (result echo.H, embed bool)

ResponseDataForUpload 根据不同的上传方式响应不同的数据格式

func Role

func Role(ctx echo.Context) error

func RoleAdd

func RoleAdd(ctx echo.Context) error

func RoleDelete

func RoleDelete(ctx echo.Context) error

func RoleEdit

func RoleEdit(ctx echo.Context) error

func SaveFilename

func SaveFilename(subdir, name, postFilename string) (string, error)

func Settings

func Settings(ctx echo.Context) error

func Upload

func Upload(ctx echo.Context) error

Upload 上传文件

func UploadByOwner

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

UploadByOwner 上传文件

func UploadedFile

func UploadedFile(ctx echo.Context) error

func User

func User(ctx echo.Context) error

func UserAdd

func UserAdd(ctx echo.Context) error

func UserDelete

func UserDelete(ctx echo.Context) error

func UserEdit

func UserEdit(ctx echo.Context) error

func Verification

func Verification(ctx echo.Context) error

func VerificationDelete

func VerificationDelete(ctx echo.Context) error

Types

This section is empty.

Directories

Path Synopsis
Package file 上传文件管理
Package file 上传文件管理

Jump to

Keyboard shortcuts

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