record

package
v2.6.0-beta.6 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapRecordsToProto

func MapRecordsToProto(records []Record) []*proto.Record

Types

type Record

type Record struct {
	Payload []byte
	// contains filtered or unexported fields
}

func NewRecordFromProto

func NewRecordFromProto(r *proto.Record, configData *proto.ConfigData) Record

func (*Record) GetHash

func (r *Record) GetHash() (string, error)

func (*Record) Retrieve

func (r *Record) Retrieve() []byte

func (*Record) SetProof

func (r *Record) SetProof(proof integrity.Proof) error

func (*Record) ToProto

func (r *Record) ToProto() *proto.Record

Jump to

Keyboard shortcuts

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