types

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Progress

type Progress struct {
	Steps      []string
	StepStatus map[string]ScannerStatus
}

func (Progress) Get

func (p Progress) Get() ([]string, map[string]ScannerStatus)

func (*Progress) Set

func (p *Progress) Set(name string, isStarted bool, isCompleted bool)

type ScannerStatus

type ScannerStatus int
const (
	ScannerStatusPending   ScannerStatus = iota
	ScannerStatusRunning   ScannerStatus = iota
	ScannerStatusCompleted ScannerStatus = iota
)

type SetProgressFunc

type SetProgressFunc func(name string, isStarted bool, isCompleted bool)

Jump to

Keyboard shortcuts

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