tailer

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

type Manager

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

func NewManager

func NewManager(cfg *ManagerConfig, logger log.Logger) (*Manager, error)

func (*Manager) Stop

func (m *Manager) Stop()

type ManagerConfig

type ManagerConfig struct {
	Path         string
	Handler      handler.Handler
	Position     position.Position
	SyncInterval time.Duration
}

type Tailer

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

func NewTailer

func NewTailer(cfg *Config, logger log.Logger) (*Tailer, error)

func (*Tailer) Stop

func (t *Tailer) Stop() error

Jump to

Keyboard shortcuts

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