rlog

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Log_chan_size = 1_000
)

Variables

This section is empty.

Functions

func New_listener

func New_listener(gg *gogroup.Group, r io.Reader) (c chan *Log)

Types

type Log

type Log struct {
	Uid                 string // Brackets ommitted
	T                   time.Time
	Is_spam             bool
	Action              string
	Score, Max_score    float64
	Ip                  net.IP
	User                string
	Smtp_from           string
	Smtp_rcpts          string
	Ssp                 string // json: symbols_scores_params
	Len                 int
	Time_real           time.Duration
	Time_virtual        time.Duration
	Dns_req             int
	Digest              string
	Mime_rcpts          string
	Filename            string
	Forced_action       string
	Mid                 string // Brackets ommitted
	Qid                 string
	Settings_id         string
	From                string
	Subject             string
	Asn, Ipnet, Country string
	Raw                 string
	Cursor              string
}

func (*Log) Sqlt

func (o *Log) Sqlt() string

type Ssp

type Ssp struct {
	Score  float64 `json:"score,omitempty"`
	Params string  `json:"params,omitempty"`
}

Directories

Path Synopsis
cmd
Package jep parses systemd journal export format readers
Package jep parses systemd journal export format readers

Jump to

Keyboard shortcuts

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