Documentation
¶
Index ¶
Constants ¶
View Source
const ( JSON_ACTION_FILE_CLONE = "file_clone" JSON_ACTION_FILE_RENAME = "file_rename" JSON_ACTION_FILE_DELETE = "file_delete" JSON_ACTION_FILE_UPLOAD = "file_upload" JSON_ACTION_DIRECTORY_CREATE = "directory_create" JSON_ACTION_DIRECTORY_DELETE = "directory_delete" JSON_ACTION_BULK_MOVE = "bulk_move" JSON_ACTION_BULK_DELETE = "bulk_delete" JSON_ACTION_GET_MOVE_DESTINATIONS = "get_move_destinations" MAX_UPLOAD_SIZE = 50 * 1024 * 1024 // 50MB )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileEntry ¶
type FileEntry struct {
IsDir bool
Path string
URL string
Name string
Size int64
SizeHuman string
LastModified time.Time
LastModifiedHuman string
Depth int
}
FileEntry represents a file or directory entry
type UiInterface ¶
type UiInterface interface {
shared.UiInterface
FileManager(w http.ResponseWriter, r *http.Request)
}
UiInterface defines the file manager controller's UI interface
func UI ¶
func UI(config shared.UiConfig) UiInterface
UI creates a new file manager controller UI from the given config
Click to show internal directories.
Click to hide internal directories.