parser

package
v0.0.0-...-9ebf77a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package parser parses the given file input It displays a paginated version of the file and optionally filters the data according to user preferences This aspect makes it suitable for inspecting log files of any size

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

Parser type definition

func New

func New(path, text, filter string, lines, page int, noColor, withRegex bool, ext string) *Parser

New returns a new parser object

func (*Parser) Parse

func (p *Parser) Parse()

Parse parses the file and shows the output to the user

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL