Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
All() is a convenience function when you need to fill all of the given whisper file paths rather than a specific time range. * source - path to source Whisper file * dest - path to destination Whisper file
func Files ¶
Files() will fill data from src into dst without overwriting data currently in dst, and always copying the highest resulution data no matter what time ranges.
- source - path to the Whisper file
- dest - path to the Whisper file
- startTime - Unix time such as time.Now().Unix(). We fill from this time walking backwards to the begining of the retentions.
func OpenWSP ¶
OpenWSP() runs the fill operation on two whisper.Whisper objects that are already open.
- srcWsp - source *whisper.Whisper object
- dstWsp - destination *whisper,Whisper object
- startTime - Unix time such as int(time.Now().Unix()). We fill from this time walking backwards to the beginning.
This code heavily inspired by https://github.com/jssjr/carbonate and matches its behavior exactly.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.