Documentation ¶
Overview ¶
Package index represents indexes and meta information for records.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeObjectLifeline ¶
func EncodeObjectLifeline(index *ObjectLifeline) ([]byte, error)
EncodeObjectLifeline converts lifeline index into binary format.
Types ¶
type ObjectLifeline ¶
type ObjectLifeline struct { LatestState *core.RecordID // Amend or activate record. LatestStateApproved *core.RecordID // State approved by VM. ChildPointer *core.RecordID // Meta record about child activation. Parent core.RecordRef Delegates map[core.RecordRef]core.RecordRef State record.State }
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.