journald

package
v0.0.0-...-2081a44 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Supported = true

Functions

func EntryToSyslog

func EntryToSyslog(entry map[string]string) *model.SyslogMessage

Types

type Converter

type Converter func(*sdjournal.JournalEntry) *model.FullMessage

type JournaldReader

type JournaldReader interface {
	Start(utils.MyULID)
	Stop()
	Shutdown()
	FatalError() chan struct{}
}

type Reader

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

func NewReader

func NewReader(stasher *base.Reporter, logger log15.Logger) (*Reader, error)

func (*Reader) FatalError

func (r *Reader) FatalError() chan struct{}

func (*Reader) Shutdown

func (r *Reader) Shutdown()

func (*Reader) Start

func (r *Reader) Start(confID utils.MyULID)

func (*Reader) Stop

func (r *Reader) Stop()

func (*Reader) WaitFinished

func (r *Reader) WaitFinished()

Jump to

Keyboard shortcuts

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