Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrElementNotFound = errors.New("ldiff: element not found")
Functions ¶
func New ¶
New creates precalculated Diff container
divideFactor - means how many hashes you want to ask for once
it must be 2 or greater normal value usually between 4 and 64
compareThreshold - means the maximum count of elements remote diff will send directly
if elements under range will be more - remote diff will send only hash it must be 1 or greater normal value between 8 and 64
Less threshold and divideFactor - less traffic but more requests
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.