package
Version:
v0.0.0-...-f1d3745
Opens a new window with list of versions in this module.
Published: Jun 27, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Simple parser to read text files that contain entries of the
format (used by snort message maps):
# comment line
field_1 || .. || field_n
Allows for empty lines and lines the begin with # for comments.
Line of the file represented as a list of fields
Wrap up existing bufio reader
NewReader wraps bufio reader NewReader
Read structured line to parse next line available into Line
structure.
Returns slice of fields if line is not empty and not comment,
otherwise nil is returned (e.g. in the case of eof)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.