Documentation
¶
Index ¶
- Constants
- func ConvertWebParserConfig(conf conf.MapConf) conf.MapConf
- func ParseLine(dataPipeline <-chan ParseInfo, resultChan chan ParseResult, wg *sync.WaitGroup, ...)
- func ParseLineDataSlice(dataPipeline <-chan ParseInfo, resultChan chan ParseResult, wg *sync.WaitGroup, ...)
- func RegisterConstructor(typ string, c Constructor)
- func Time1Day(t int64) string
- func Time1DayInt(t int64) int64
- func Time5Min(t int64) string
- func Time5MinInt(t int64) int64
- type Constructor
- type Flushable
- type ParseInfo
- type ParseResult
- type ParseResultSlice
- type Parser
- type ParserType
- type Registry
- type ServerParser
Constants ¶
View Source
const SECOND_PER_5MIN = 5 * 60
View Source
const SECOND_PER_DAY = 24 * 60 * 60
Variables ¶
This section is empty.
Functions ¶
func ConvertWebParserConfig ¶ added in v1.4.6
func ParseLine ¶ added in v1.5.3
func ParseLineDataSlice ¶ added in v1.5.3
func RegisterConstructor ¶ added in v1.5.0
func RegisterConstructor(typ string, c Constructor)
RegisterConstructor adds a new constructor for a given type of reader.
Types ¶
type ParseResult ¶ added in v1.5.3
type ParseResultSlice ¶ added in v1.5.3
type ParseResultSlice []ParseResult
func (ParseResultSlice) Len ¶ added in v1.5.3
func (slice ParseResultSlice) Len() int
func (ParseResultSlice) Less ¶ added in v1.5.3
func (slice ParseResultSlice) Less(i, j int) bool
func (ParseResultSlice) Swap ¶ added in v1.5.3
func (slice ParseResultSlice) Swap(i, j int)
type Parser ¶ added in v1.5.0
Source Files
¶
- parser.go
- utils.go
Directories
¶
| Path | Synopsis |
|---|---|
|
Package builtin does nothing but import all builtin parsers to execute their init functions.
|
Package builtin does nothing but import all builtin parsers to execute their init functions. |
Click to show internal directories.
Click to hide internal directories.