Versions in this module Expand all Collapse all v0 v0.1.3 Feb 17, 2021 Changes in this version + type Base struct + Error error + FullPath string + Path string + Prefix string + type CreateDirParam struct + Dir string + func GetCreateDirParam(ctx *context.Context) *CreateDirParam + type DeleteParam struct + Error error + Path string + Paths []string + Prefix string + func GetDeleteParam(ctx *context.Context) *DeleteParam + type FilesParam struct + func GetFilesParam(ctx *context.Context) *FilesParam + type Guardian struct + func New(r root.Roots, c db.Connection, p permission.Permission) *Guardian + func (g *Guardian) CreateDir(ctx *context.Context) + func (g *Guardian) Delete(ctx *context.Context) + func (g *Guardian) Files(ctx *context.Context) + func (g *Guardian) GetPrefix(ctx *context.Context) string + func (g *Guardian) Move(ctx *context.Context) + func (g *Guardian) Preview(ctx *context.Context) + func (g *Guardian) Rename(ctx *context.Context) + func (g *Guardian) Update(r root.Roots, p permission.Permission) + func (g *Guardian) Upload(ctx *context.Context) + type MoveParam struct + Dist string + Error error + Prefix string + Src string + func GetMoveParam(ctx *context.Context) *MoveParam + type PreviewParam struct + func GetPreviewParam(ctx *context.Context) *PreviewParam + type RenameParam struct + Dist string + Error error + Prefix string + Src string + func GetRenameParam(ctx *context.Context) *RenameParam + type UploadParam struct + Files map[string][]*multipart.FileHeader + func GetUploadParam(ctx *context.Context) *UploadParam