Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RSRestore ¶ added in v0.3.18
Restore files from shards and save to outpath.
Receive parameter:
- outpath: file save location.
- shardspath: file fragments.
Return parameter:
- error: error message.
func RSRestoreData ¶ added in v0.3.18
Restore files from shards and save to outpath.
Receive parameter:
- outpath: file save location.
- sharddata: file fragments data.
Return parameter:
- error: error message.
func ReedSolomon ¶
ReedSolomon uses reed-solomon algorithm to redundancy file
Receive parameter:
- path: files to process.
Return parameter:
- []string: Processed data fragmentation.
- error: error message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.