index

package
v0.7.3-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

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