Documentation ¶
Index ¶
- type Fids
- type FileIoHandler
- func (f *FileIoHandler) CreateFolders(parentDir *folder_handler.FolderHandler, newDirs []string) (msgs []sdk.Msg, err error)
- func (f *FileIoHandler) CreateRoot() (msgs sdk.Msg, err error)
- func (f *FileIoHandler) DeleteTargets(targets []string, parent *folder_handler.FolderHandler) error
- func (f *FileIoHandler) DownloadFile(rawPath string) (fileHandler *file_download_handler.FileDownloadHandler, err error)
- func (f *FileIoHandler) DownloadFileFromFid(fid string) (fileHandler *file_download_handler.FileDownloadHandler, err error)
- func (f *FileIoHandler) DownloadFolder(rawPath string) (folderHandler *folder_handler.FolderHandler, err error)
- func (f *FileIoHandler) GenerateInitialDirs(startingDirs []string) (*sdk.TxResponse, error)
- func (f *FileIoHandler) LoadNestedFolder(rawPath string) (folderHandlers *folder_handler.FolderHandler, msgs []sdk.Msg, err error)
- func (f *FileIoHandler) SignAndBroadcast(msgs []sdk.Msg) error
- func (f *FileIoHandler) StaggeredUploadFiles(sourceFiles []*file_upload_handler.FileUploadHandler, ...) (failedCount int, fids []string, cids []string, err error)
- type Queue
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileIoHandler ¶
type FileIoHandler struct {
// contains filtered or unexported fields
}
func NewFileIoHandler ¶
func NewFileIoHandler(w *wallet_handler.WalletHandler) (*FileIoHandler, error)
func (*FileIoHandler) CreateFolders ¶
func (f *FileIoHandler) CreateFolders(parentDir *folder_handler.FolderHandler, newDirs []string) (msgs []sdk.Msg, err error)
func (*FileIoHandler) CreateRoot ¶
func (f *FileIoHandler) CreateRoot() (msgs sdk.Msg, err error)
func (*FileIoHandler) DeleteTargets ¶
func (f *FileIoHandler) DeleteTargets(targets []string, parent *folder_handler.FolderHandler) error
func (*FileIoHandler) DownloadFile ¶
func (f *FileIoHandler) DownloadFile(rawPath string) (fileHandler *file_download_handler.FileDownloadHandler, err error)
func (*FileIoHandler) DownloadFileFromFid ¶
func (f *FileIoHandler) DownloadFileFromFid(fid string) (fileHandler *file_download_handler.FileDownloadHandler, err error)
func (*FileIoHandler) DownloadFolder ¶
func (f *FileIoHandler) DownloadFolder(rawPath string) (folderHandler *folder_handler.FolderHandler, err error)
func (*FileIoHandler) GenerateInitialDirs ¶
func (f *FileIoHandler) GenerateInitialDirs(startingDirs []string) (*sdk.TxResponse, error)
func (*FileIoHandler) LoadNestedFolder ¶
func (f *FileIoHandler) LoadNestedFolder(rawPath string) (folderHandlers *folder_handler.FolderHandler, msgs []sdk.Msg, err error)
func (*FileIoHandler) SignAndBroadcast ¶
func (f *FileIoHandler) SignAndBroadcast(msgs []sdk.Msg) error
func (*FileIoHandler) StaggeredUploadFiles ¶
func (f *FileIoHandler) StaggeredUploadFiles(sourceFiles []*file_upload_handler.FileUploadHandler, parent *folder_handler.FolderHandler, public bool) (failedCount int, fids []string, cids []string, err error)
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
func (*Queue) Pop ¶
func (q *Queue) Pop() *file_upload_handler.FileUploadHandler
func (*Queue) Push ¶
func (q *Queue) Push(f *file_upload_handler.FileUploadHandler)
Click to show internal directories.
Click to hide internal directories.