17 lines
231 B
Go
17 lines
231 B
Go
package ffiwrapper
|
|
|
|
import (
|
|
logging "github.com/ipfs/go-log/v2"
|
|
)
|
|
|
|
var log = logging.Logger("ffiwrapper")
|
|
|
|
type Sealer struct {
|
|
sectors SectorProvider
|
|
stopping chan struct{}
|
|
}
|
|
|
|
func (sb *Sealer) Stop() {
|
|
close(sb.stopping)
|
|
}
|