Documentation ¶ Index ¶ type Task func Init() Task func Run(tempDir string) (th, tx Task, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Task ¶ type Task struct { Name string // Name of file. Size int64 // Size of the file in bytes. Cont bool // Continue, stops the scan for anymore similar file types. } Task for fetching both text and image proofs. func Init ¶ func Init() Task Init initializes the task. func Run ¶ func Run(tempDir string) (th, tx Task, err error) Run a scan for proofs in the provided temp directory. Source Files ¶ View all Source files task.go Click to show internal directories. Click to hide internal directories.