scan

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2022 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Process

func Process(basedir string, document *Document)

Types

type Command

type Command struct {
	Name string
	Args []string
	// contains filtered or unexported fields
}

func (*Command) GetScanner

func (command *Command) GetScanner() *bufio.Scanner

func (*Command) RanSuccessful

func (command *Command) RanSuccessful() bool

func (*Command) Start

func (command *Command) Start()

func (*Command) Wait

func (command *Command) Wait()

type Document

type Document struct {
	Id     string
	Name   string
	Duplex bool
	Date   time.Time
	Events chan Event
}

func (Document) Args

func (document Document) Args() []string

func (Document) FullName

func (document Document) FullName() string

func (Document) FullNameWithExtension

func (document Document) FullNameWithExtension() string

type Event

type Event struct {
	Type    string
	Message string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL