logs

package
v1.8.6 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JournaldReader

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

func NewJournaldReader

func NewJournaldReader(journalPaths ...string) (*JournaldReader, error)

func (*JournaldReader) Close

func (r *JournaldReader) Close()

func (*JournaldReader) Subscribe

func (r *JournaldReader) Subscribe(cgroup string, ch chan<- logparser.LogEntry) error

func (*JournaldReader) Unsubscribe

func (r *JournaldReader) Unsubscribe(cgroup string)

type TailReader

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

func NewTailReader

func NewTailReader(fileName string, ch chan<- logparser.LogEntry) (*TailReader, error)

func (*TailReader) Stop

func (r *TailReader) Stop()

Jump to

Keyboard shortcuts

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