Documentation ¶
Overview ¶
Package log contains the parsing and the normalization.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { RemoteHost string RemoteLogName string AuthUser string Datetime time.Time Method string Request string Status int16 Size int64 }
Entry contains the line information
type Normalizer ¶
type Normalizer interface {
Normalize(context.Context, <-chan string) (<-chan Entry, <-chan error)
}
Normalizer it normalizes the line in Entry
func NewDefaultNormalizer ¶
func NewDefaultNormalizer() Normalizer
NewDefaultNormalizer creates a normalizer on string
Click to show internal directories.
Click to hide internal directories.