This repository was archived by the owner on Jun 15, 2026. It is now read-only.
Repository navigation
v0.4.0
Enhancements
- Changed minimum supported version to
go1.18, removed thego1.17support. - Add the
reportflag to support enable the report api route and start to collect the report data, need enablemanageflag first. - Update
interface{}type toany. - Add the
TopListstruct and tests, store some elements in list with specified capacity, the oldest elements that exceed specified capacity will be discarded. - Add the
Timestruct and tests in theutil/timeutilpackage. - Export the
eventstruct and its fields, and add aTimefield for it. - Add benchmark tests for the
hashutilpackage and move theTestHashValuestest to hash_value_test.go. - Add the
checkpoint_countflag to use the file checkpoint to reduce transfer unmodified file chunks and update the README doc for it. - Add the
need_checkpointparameter to the file query api support to return file checkpoint hash value and update server/README.md doc for it. - Update dependency, github.com/no-src/log v0.1.1 => v0.1.2.
- Remove unused function
httputil.HttpPostFileWithCookie. - Remove the
no_servertags and no longer support to remove file server. - Add the
hashutil.CheckpointsMD5FromFileNamefunction and tests, calculate the hash value of the full file and first chunk and some checkpoints. - Add the
hashutil.CompareHashValuesWithFileNamefunction and tests, calculate the file hashes and return the last continuous hitHashValue. - Add the
checksumflag to calculate and print the checksum forsourcefile.