goaccess

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

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

Go to latest
Published: Oct 24, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DateFormat = `%Y-%m-%d`
	TimeFormat = `%H:%M:%S`
)

Variables

This section is empty.

Functions

func LineFormat

func LineFormat() string

Types

type Line

type Line struct {
	Timestamp       time.Time     // %d %t
	VHost           string        // %v
	Username        string        // %e
	ClientIP        string        // %h
	Method          string        // %m
	URL             string        // %U
	ResponseStatus  int           // %s
	ResponseSize    int64         // %b
	Referer         string        // %R
	UserAgent       string        // %u
	TLSProtocol     string        // %K
	TLSCipher       string        // %k
	ContentType     string        // %M
	RequestDuration time.Duration // %L
}

func (*Line) ToGoAccess

func (l *Line) ToGoAccess() string

Jump to

Keyboard shortcuts

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