logslinecount

package
v0.0.0-...-4be01c1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

type Publisher struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func NewPublisher

func NewPublisher() *Publisher

func (*Publisher) Publish

func (p *Publisher) Publish(r postfix.Record)

type Reporter

type Reporter struct {
	// contains filtered or unexported fields
}

func NewReporter

func NewReporter(pub *Publisher) *Reporter

func (*Reporter) Close

func (r *Reporter) Close() error

func (*Reporter) ExecutionInterval

func (r *Reporter) ExecutionInterval() time.Duration

func (*Reporter) ID

func (r *Reporter) ID() string

func (*Reporter) Step

func (r *Reporter) Step(tx *sql.Tx, clock timeutil.Clock) error

Jump to

Keyboard shortcuts

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