journal

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: Apache-2.0, MIT Imports: 8 Imported by: 25

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

Types

type Journal

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

func OpenFSJournal

func OpenFSJournal(dir string) (Journal, 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