store

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	Id       uuid.UUID  `json:"id"`
	Type     event.Type `json:"type"`
	Data     []byte     `json:"data"`
	Metadata []byte     `json:"metadata"`
}

type ReadEvent

type ReadEvent struct {
	Event

	Position uint64    `json:"position"`
	Created  time.Time `json:"created"`
}

type StreamPosition

type StreamPosition uint64
const (
	STREAM_START StreamPosition = 0
	STREAM_END   StreamPosition = math.MaxUint64
)

type WriteEvent

type WriteEvent struct {
	Event

	Status chan<- event.WriteStatus
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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