Documentation ¶
Index ¶
Constants ¶
View Source
const RecommendedGCRatio = 0.5
Variables ¶
This section is empty.
Functions ¶
func NewCacheDecorator ¶
func NewCacheDecorator(localDatabase string) (backup.AnalyserDecorator, error)
Types ¶
type Decorator ¶
type Decorator struct {
// contains filtered or unexported fields
}
func (*Decorator) Decorate ¶
func (d *Decorator) Decorate(analyseFunc backup.RunnerAnalyser) backup.RunnerAnalyser
type DecoratorInstance ¶
type DecoratorInstance struct { DB *badger.DB Delegate backup.RunnerAnalyser }
func (*DecoratorInstance) Analyse ¶
func (d *DecoratorInstance) Analyse(found backup.FoundMedia, progressChannel chan *backup.ProgressEvent) (*backup.AnalysedMedia, error)
type Key ¶
func (Key) SerialisedKey ¶
Click to show internal directories.
Click to hide internal directories.