package
0.79.0-preview.4
Repository: https://github.com/vegaprotocol/vega.git
Documentation: pkg.go.dev

# Functions

NewChunkFromSegment returns a chunk containing a single segment.
No description provided by the author

# Structs

Base is the base struct for all segment types.
ContiguousHistory is a list of ordered contiguous segments.
Full is a segment that has been added to the store and has been assigned a segment ID.
MetaData adds a PreviousHistorySegmentID, and is the struct that gets serialized into the JSON metadata when a segment is added to the store.
Staged is a segment which has been added to the store and then fetched back again.
Unpublished is a segment that has just been dumped from the database into a zip file but hasn't yet been added to the store so doesn't have any extra metadata.

# Type aliases

Segments is just a list of segments with a bit of syntactic sugar for getting contiguous histories of segments in a nice way.