filter

package
v0.0.0-...-0a2bfd5 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertMapToLogLine

func ConvertMapToLogLine(parsedLine map[string]string) string

func GetStartDate

func GetStartDate(period string, endTime time.Time) (startDate time.Time)

Types

type SingleLogLine

type SingleLogLine struct {
	RemoteAddr    string
	TimeLocal     string
	Request       string
	Status        string
	BodyBytesSent string
	HTTPReferer   string
	HTTPUserAgent string
}

func (*SingleLogLine) MatchAllRequirements

func (obj *SingleLogLine) MatchAllRequirements(period string, endTime time.Time) bool

func (*SingleLogLine) MatchAllWithoutPeriod

func (obj *SingleLogLine) MatchAllWithoutPeriod() bool

func (*SingleLogLine) New

func (obj *SingleLogLine) New(logLine string) (err error)

Jump to

Keyboard shortcuts

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