MCPcopy
hub / github.com/inancgumus/learngo / Parser

Interface Parser

logparser/v6/logly/parse/parser.go:14–23  ·  view source on GitHub ↗

Parser is an interface for the parsers.

Source from the content-addressed store, hash-verified

12
13// Parser is an interface for the parsers.
14type Parser interface {
15 // Parse the next record from the source.
16 Parse() bool
17
18 // Value returns the last parsed record by a call to Parse.
19 Value() record.Record
20
21 // Err returns the first error that was encountered.
22 Err() error
23}

Callers 21

mainFunction · 0.65
ParseMethod · 0.65
mainFunction · 0.65
TestSummaryTotalFunction · 0.65
TestSummaryIteratorFunction · 0.65
newParserFunction · 0.65
TestParserLineErrsFunction · 0.65
TestParserStopsOnErrFunction · 0.65
mainFunction · 0.65
requestFunction · 0.65
mainFunction · 0.65
mainFunction · 0.65

Implementers 2

TextParserlogparser/v6/logly/parse/text.go
JSONParserlogparser/v6/logly/parse/json.go

Calls

no outgoing calls

Tested by

no test coverage detected