Documentation ¶
Index ¶
- Variables
- func AlertRecipient(ctx echo.Context) error
- func AlertRecipientAdd(ctx echo.Context) error
- func AlertRecipientDelete(ctx echo.Context) error
- func AlertRecipientEdit(ctx echo.Context) error
- func AlertRecipientTest(ctx echo.Context) error
- func ClearCache(ctx echo.Context) error
- func Crop(ctx echo.Context) error
- func CropByOwner(ctx echo.Context, ownerType string, ownerID uint64) error
- func CropPermCheckerAdd(checker func(ctx echo.Context, f *modelFile.File) error)
- func Editable(fileName string) (string, bool)
- func Invitation(ctx echo.Context) error
- func InvitationAdd(ctx echo.Context) error
- func InvitationDelete(ctx echo.Context) error
- func InvitationEdit(ctx echo.Context) error
- func Playable(fileName string) (string, bool)
- func ResponseDataForUpload(ctx echo.Context, field string, err error, imageURLs []string) (result echo.H, embed bool)
- func Role(ctx echo.Context) error
- func RoleAdd(ctx echo.Context) error
- func RoleDelete(ctx echo.Context) error
- func RoleEdit(ctx echo.Context) error
- func SaveFilename(subdir, name, postFilename string) (string, error)
- func Settings(ctx echo.Context) error
- func StorerEngine() storer.Info
- func Upload(ctx echo.Context) error
- func UploadByOwner(ctx echo.Context, ownerType string, ownerID uint64) error
- func UploadedFile(ctx echo.Context) error
- func User(ctx echo.Context) error
- func UserAdd(ctx echo.Context) error
- func UserDelete(ctx echo.Context) error
- func UserEdit(ctx echo.Context) error
- func Verification(ctx echo.Context) error
- func VerificationDelete(ctx echo.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( File = file.File GetWatermarkOptions = storer.GetWatermarkOptions )
Functions ¶
func AlertRecipient ¶
func AlertRecipientAdd ¶
func AlertRecipientDelete ¶
func AlertRecipientEdit ¶
func AlertRecipientTest ¶
func ClearCache ¶
func CropByOwner ¶
CropByOwner 图片裁剪
func CropPermCheckerAdd ¶
CropPermCheckerAdd 添加裁剪权限检查逻辑
func Invitation ¶
func InvitationAdd ¶
func InvitationDelete ¶
func InvitationEdit ¶
func ResponseDataForUpload ¶
func ResponseDataForUpload(ctx echo.Context, field string, err error, imageURLs []string) (result echo.H, embed bool)
ResponseDataForUpload 根据不同的上传方式响应不同的数据格式
func RoleDelete ¶
func SaveFilename ¶
SaveFilename SaveFilename(`0/`,“,`img.jpg`)
func StorerEngine ¶
func UploadByOwner ¶
UploadByOwner 上传文件
func UserDelete ¶
func Verification ¶
func VerificationDelete ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.