record

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data added in v0.8.0

type Data struct {
	ContentType string
	Data        []byte
}

type Record

type Record struct {
	Number        int64      // strictly sequential number for all messages in a specific stream
	Stream        streams.Id // identifier of a stream, see id.go
	Data          []byte     // raw data for the message
	Group         string     // message type, used to marshal tye Data correct
	ContentType   string     // type of the data
	GlobalNumber  int64      // Number across all records in the Event Source
	Time          time.Time  // when this message was first recorded
	CorrelationId string     // connect actions between components
}

Internal data structure to pass between the components that make up Po

type Snapshot added in v0.4.0

type Snapshot struct {
	Data        []byte
	Position    int64
	ContentType string
}

Jump to

Keyboard shortcuts

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