detector

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultMaxCheckLines int = 15

Functions

This section is empty.

Types

type Detector

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

func New

func New(lg *zap.Logger) *Detector

func (*Detector) DetectVersion

func (v *Detector) DetectVersion(scanner *bufio.Scanner) (string, error)

func (*Detector) SetMaxCheckLines

func (v *Detector) SetMaxCheckLines(number int)

SetMaxCheckLines - set maximum number of lines for checks

Jump to

Keyboard shortcuts

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