Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Callback ¶
type Callback struct { // FilterInterested returns only event which may be requested. OnlyInterested func(ids hash.Events) hash.Events HeavyCheck HeavyCheck LightCheck LightCheck }
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
func (*Checker) Enqueue ¶
func (c *Checker) Enqueue(tasks []queuedcheck.EventTask, checked func([]queuedcheck.EventTask)) error
Enqueue tries to fill gaps the fetcher's future import queue.
type HeavyCheck ¶
type HeavyCheck interface {
Enqueue(tasks []queuedcheck.EventTask, onValidated func([]queuedcheck.EventTask)) error
}
type LightCheck ¶
Click to show internal directories.
Click to hide internal directories.