Versions in this module Expand all Collapse all v1 v1.0.1 Jun 8, 2018 Changes in this version + type Parser struct + func NewParser(r io.Reader, opts ...ParserOpt) *Parser + func (p *Parser) Parse() []Result + func (p *Parser) ParseExecuting(handler ResultHandler) + type ParserOpt func(p *Parser) *Parser + func WithBestEffort() ParserOpt + type Result struct + Error error + Message *rfc5424.SyslogMessage + MessageError error + type ResultHandler func(result *Result) + type Scanner struct + func NewScanner(r io.Reader) *Scanner + func (s *Scanner) Scan() (tok Token) + type Token struct + func (t Token) String() string + type TokenType int + const EOF + const ILLEGAL + const MSGLEN + const SYSLOGMSG + const WS + func (i TokenType) String() string