Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DisableUnProcessed = disableUnProcessed{} //nolint:gochecknoglobals
DisableUnProcessed sets flag to disable catching lines that have no parser and to return error
View Source
var NoNamedDefaultsFrom = noNamedDefaultsFrom{} //nolint:gochecknoglobals
NoNamedDefaultsFrom sets flag to disable named defaults from in section
View Source
var UseListenSectionParsers = useListenSectionParsers{} //nolint:gochecknoglobals
UseListenSectionParsers sets flag to use listen section parser
View Source
var UseMd5Hash = useMd5Hash{} //nolint:gochecknoglobals
UseMd5Hash sets flag to use md5 hash
View Source
var UseV2HTTPCheck = useV2HTTPCheck{} //nolint:gochecknoglobals
UseV2HTTPCheck sets flag to use deprecated HTTPCheck
Functions ¶
This section is empty.
Types ¶
type ParserOption ¶
func Logger ¶
func Logger(log logger.Format) ParserOption
Logger takes acceptable logger that will be used for logging
func LoggerWithPrefix ¶
func LoggerWithPrefix(log logger.Format, prefix string) ParserOption
Logger takes acceptable logger that will be used for logging, prefix can be defined to distinguish log messages generated in this package
func Reader ¶
func Reader(ioReader io.Reader) ParserOption
Reader takes io.Reader that will be used to parse data
func String ¶
func String(configuration string) ParserOption
String takes string that will be used to parse data
Click to show internal directories.
Click to hide internal directories.