Documentation ¶
Index ¶
- Constants
- type FileUploadHandler
- func NewFileUploadHandler(file *os.File, parentPath string, uuid string, savedKey []byte, savedIv []byte) (*FileUploadHandler, error)
- func TrackFile(file *os.File, parentPath string) (*FileUploadHandler, error)
- func TrackVirtualFile(bytes []byte, fileName string, parentPath string) (*FileUploadHandler, error)
- func (f *FileUploadHandler) GetEnc() (key []byte, iv []byte)
- func (f *FileUploadHandler) GetForUpload(public bool) (*types.File, error)
- func (f *FileUploadHandler) GetFullMerkle() string
- func (f *FileUploadHandler) GetIds() (string, []string)
- func (f *FileUploadHandler) GetMerklePath() string
- func (f *FileUploadHandler) GetMeta() types.Details
- func (f *FileUploadHandler) GetUUID() string
- func (f *FileUploadHandler) GetWhereAmI() string
- func (f *FileUploadHandler) GetWhoAmI() string
- func (f *FileUploadHandler) SetIds(cid string, fid []string)
- func (f *FileUploadHandler) SetUUID(uuid string)
Constants ¶
View Source
const GoVirtual = "govirtual"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileUploadHandler ¶
func NewFileUploadHandler ¶
func TrackVirtualFile ¶
func TrackVirtualFile(bytes []byte, fileName string, parentPath string) (*FileUploadHandler, error)
func (*FileUploadHandler) GetEnc ¶
func (f *FileUploadHandler) GetEnc() (key []byte, iv []byte)
func (*FileUploadHandler) GetForUpload ¶
func (f *FileUploadHandler) GetForUpload(public bool) (*types.File, error)
func (*FileUploadHandler) GetFullMerkle ¶
func (f *FileUploadHandler) GetFullMerkle() string
func (*FileUploadHandler) GetIds ¶
func (f *FileUploadHandler) GetIds() (string, []string)
func (*FileUploadHandler) GetMerklePath ¶
func (f *FileUploadHandler) GetMerklePath() string
func (*FileUploadHandler) GetMeta ¶
func (f *FileUploadHandler) GetMeta() types.Details
func (*FileUploadHandler) GetUUID ¶
func (f *FileUploadHandler) GetUUID() string
func (*FileUploadHandler) GetWhereAmI ¶
func (f *FileUploadHandler) GetWhereAmI() string
func (*FileUploadHandler) GetWhoAmI ¶
func (f *FileUploadHandler) GetWhoAmI() string
func (*FileUploadHandler) SetIds ¶
func (f *FileUploadHandler) SetIds(cid string, fid []string)
func (*FileUploadHandler) SetUUID ¶
func (f *FileUploadHandler) SetUUID(uuid string)
Click to show internal directories.
Click to hide internal directories.