Documentation ¶
Overview ¶
Package index represents indexes and meta information for records.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeClassLifeline ¶
func EncodeClassLifeline(index *ClassLifeline) ([]byte, error)
EncodeClassLifeline converts lifeline index into binary format
func EncodeObjectLifeline ¶
func EncodeObjectLifeline(index *ObjectLifeline) ([]byte, error)
EncodeObjectLifeline converts lifeline index into binary format.
Types ¶
type ClassLifeline ¶
type ClassLifeline struct { LatestStateRef record.Reference // Amend or activate record AmendRefs []record.Reference // ClassAmendRecord }
ClassLifeline represents meta information for record object
func DecodeClassLifeline ¶
func DecodeClassLifeline(buf []byte) (*ClassLifeline, error)
DecodeClassLifeline converts byte array into lifeline index struct
type ObjectLifeline ¶
type ObjectLifeline struct { ClassRef record.Reference LatestStateRef record.Reference // Amend or activate record AppendRefs []record.Reference // ObjectAppendRecord }
ObjectLifeline represents meta information for record object
func DecodeObjectLifeline ¶
func DecodeObjectLifeline(buf []byte) (*ObjectLifeline, error)
DecodeObjectLifeline converts byte array into lifeline index struct.
Click to show internal directories.
Click to hide internal directories.