MCPcopy
hub / github.com/netdata/netdata / parse

Method parse

src/go/plugin/framework/functions/parser.go:51–60  ·  view source on GitHub ↗
(line string)

Source from the content-addressed store, hash-verified

49}
50
51func (p *inputParser) parse(line string) (*Function, error) {
52 event, err := p.parseEvent(line)
53 if err != nil {
54 return nil, err
55 }
56 if event.kind == inputEventCall {
57 return event.fn, nil
58 }
59 return nil, nil
60}
61
62type inputEventKind uint8
63

Callers 1

Calls 1

parseEventMethod · 0.95

Tested by 1