watcher

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

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

Watcher defines a new log watcher.

func New

func New(ctx context.Context, metricDest metrics.Destination, logConfig *configs.Config) (*Watcher, error)

New creates a new watcher instance.

func (*Watcher) Start

func (w *Watcher) Start() error

Start the watcher.

func (*Watcher) Stop

func (w *Watcher) Stop() error

Stop the watcher.

Jump to

Keyboard shortcuts

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