scan

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	APIKey string
	NoAPI  bool
}

type Results

type Results struct {
	Total    int                    `json:"total"`
	Found    int                    `json:"found"`
	Failures int                    `json:"failures"`
	Results  map[string]movie.Movie `json:"results"`
	Failed   map[string]movie.Movie `json:"failed"`
}

func NewResults

func NewResults() *Results

func (*Results) CompletePercentage

func (r *Results) CompletePercentage() string

func (*Results) IsComplete

func (r *Results) IsComplete() bool

func (*Results) Print

func (r *Results) Print(output io.Writer, verbose bool)

type Scanner

type Scanner struct {
	// contains filtered or unexported fields
}

func New

func New(config Config) (*Scanner, error)

func (*Scanner) Scan

func (s *Scanner) Scan(files []os.FileInfo, interactive bool, current *Results) (*Results, error)

Jump to

Keyboard shortcuts

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