eventparser

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2021 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NowFunc = time.Now

Functions

func WriteEvents

func WriteEvents(out io.Writer, events []ParsedEvent, pkg, id, aggregateType string) error

Types

type ParsedEvent

type ParsedEvent struct {
	Name         string
	PersonalData *PersonalData
}

func GetEvents

func GetEvents(reader io.Reader) ([]ParsedEvent, error)

type PersonalData

type PersonalData struct {
	SubjectID        string
	Fields           []string
	SerializedFields map[string]string
}

Jump to

Keyboard shortcuts

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