storj/pkg/datarepair/checker/checker.go
Alexander Leitner f80ec62e9d
Reorganize repair (#419)
* Reorganize repair

* Don't run the repair code yet

* Pass max repair from config to repairer initialize

* Add repairer Interface

* fix comment
2018-10-03 14:35:56 -04:00

22 lines
429 B
Go

// Copyright (C) 2018 Storj Labs, Inc.
// See LICENSE for copying information.
package checker
import (
"context"
)
// Config contains configurable values for checker
type Config struct {
// queueAddress string `help:"data repair queue address" default:"localhost:7777"`
}
// Run runs the checker with configured values
func (c *Config) Run(ctx context.Context) (err error) {
// TODO: start checker server
return err
}