report

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 License: LGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Stats struct {
	File struct {
		ScanCount uint64
		SkipCount uint64

		ScanBytes uint64

		Matches  uint64
		NoAccess uint64
	}
	Process struct {
		ScanCount uint64
		SkipCount uint64

		Matches uint64
	}
}

Functions

func AddFileInfo

func AddFileInfo(file afero.File, collectSize int64, description, message string, extra ...string)

func AddProcInfo added in v1.2.0

func AddProcInfo(proc ps.Process, description, message string, extra ...string)

func AddStringf

func AddStringf(f string, v ...interface{})

AddStringf adds a single message with fmt.Printf-style parameters.

func Close

func Close()

Close shuts down all reporting targets

func Init added in v1.1.0

func Init() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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