lotus/extern/sector-storage/ffiwrapper/sealer.go

17 lines
231 B
Go
Raw Normal View History

2020-03-26 02:50:56 +00:00
package ffiwrapper
import (
logging "github.com/ipfs/go-log/v2"
)
var log = logging.Logger("ffiwrapper")
2020-03-26 19:34:38 +00:00
type Sealer struct {
2020-03-26 02:50:56 +00:00
sectors SectorProvider
stopping chan struct{}
}
2020-03-26 19:34:38 +00:00
func (sb *Sealer) Stop() {
2020-03-26 02:50:56 +00:00
close(sb.stopping)
}