journal

package
v1.202405300917.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Field_EventTypes = "EventTypes"

	Field_Offset    = "Offset"
	Field_EventTime = "EventTime"
	Field_Event     = "Event"
)
View Source
const (
	EPJournalIndices    extensionpoints.EPKey = "JournalIndices"
	EPJournalPredicates extensionpoints.EPKey = "JournalPredicates"
)

Variables

View Source
var (
	QNameViewWLogDates      = appdef.NewQName(appdef.SysPackage, "WLogDates")
	QNameProjectorWLogDates = appdef.NewQName(appdef.SysPackage, "ProjectorWLogDates")
)

Functions

func FindOffsetsByTimeRange

func FindOffsetsByTimeRange(from, till time.Time, idx appdef.QName, s istructs.IState) (fo, lo int64, err error)

Types

type EventObject

type EventObject struct {
	istructs.NullObject
	Data  map[string]int64
	JSON  string
	Empty bool
}

func NewEventObject

func NewEventObject(event istructs.IWLogEvent, appDef appdef.IAppDef, f Filter, opts ...coreutils.MapperOpt) (o *EventObject, err error)

func (*EventObject) AsInt64

func (o *EventObject) AsInt64(name string) int64

func (*EventObject) AsString

func (o *EventObject) AsString(string) string

type Filter

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

func NewFilter

func NewFilter(iws appdef.IWorkspace, eventTypes []string, epJournalPredicates extensionpoints.IExtensionPoint) (Filter, error)

Jump to

Keyboard shortcuts

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