weblog

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: GPL-3.0 Imports: 12 Imported by: 1

README

web_log

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chart

type Chart = modules.Chart

Chart is an alias for modules.Chart

type Charts

type Charts = modules.Charts

Charts is an alias for modules.Charts

type Dim

type Dim = modules.Dim

Dim is an alias for modules.Dim

type Dims

type Dims = modules.Dims

Dims is an alias for modules.Dims

type WebLog

type WebLog struct {
	modules.Base

	Path             string        `yaml:"path" validate:"required"`
	Filter           rawfilter     `yaml:"filter"`
	URLCats          []rawcategory `yaml:"categories"`
	UserCats         []rawcategory `yaml:"user_categories"`
	CustomParser     csvPattern    `yaml:"custom_log_format"`
	Histogram        []int         `yaml:"histogram"`
	DoCodesAggregate bool          `yaml:"response_codes_aggregate"`
	DoAllTimeIPs     bool          `yaml:"all_time_ips"`
	// contains filtered or unexported fields
}

func New

func New() *WebLog

func (*WebLog) Charts

func (w *WebLog) Charts() *Charts

func (*WebLog) Check

func (w *WebLog) Check() bool

func (*WebLog) Cleanup

func (w *WebLog) Cleanup()

func (*WebLog) Collect

func (w *WebLog) Collect() map[string]int64

func (*WebLog) Init

func (w *WebLog) Init() bool

Jump to

Keyboard shortcuts

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