journal

package
v0.0.0-...-56ddd06 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package journal for linux These methods require being compiled on a system with the systemd headers

Index

Constants

View Source
const SD_JOURNAL_FIELD_SOURCE_REALTIME_TIMESTAMP = "_SOURCE_REALTIME_TIMESTAMP"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(conf ClientConfig) (client *Client, err error)

func (*Client) Start

func (c *Client) Start(out chan<- *types.Record)

func (*Client) Stop

func (c *Client) Stop()

type ClientConfig

type ClientConfig struct {
	JournalDirectory string
	Cursor           types.Cursor
}

type JournalEntry

type JournalEntry sdjournal.JournalEntry

Jump to

Keyboard shortcuts

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