Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateFile ¶
ValidateFile validates a single file and returns
Types ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func New ¶
func New(patterns []string, logger log.Logger, stats prometheus.Registerer) *Validator
New Validator monitoring paths, which is a list of file globs.
Click to show internal directories.
Click to hide internal directories.