journal

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2020 License: Apache-2.0, MIT Imports: 9 Imported by: 32

Documentation

Index

Constants

View Source
const RFC3339nocolon = "2006-01-02T150405Z0700"

Variables

This section is empty.

Functions

func Add

func Add(sys string, val interface{})

func InitializeSystemJournal

func InitializeSystemJournal(dir string) error

func OpenFSJournal

func OpenFSJournal(dir string) (*fsJournal, error)

Types

type Journal

type Journal interface {
	AddEntry(system string, obj interface{})
	Close() error
}

type JournalEntry

type JournalEntry struct {
	System    string
	Timestamp time.Time
	Val       interface{}
}

Jump to

Keyboard shortcuts

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