approver

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: Apache-2.0, BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromStorage

func FromStorage(id []byte) (result objectstorage.StorableObject)

Types

type Approver

type Approver struct {
	objectstorage.StorableObjectFlags
	// contains filtered or unexported fields
}

func New

func New(referencedTransaction transaction.Id, approvingTransaction transaction.Id) *Approver

func (*Approver) GetApprovingTransactionId

func (approver *Approver) GetApprovingTransactionId() transaction.Id

func (*Approver) GetStorageKey

func (approver *Approver) GetStorageKey() []byte

func (*Approver) MarshalBinary

func (approver *Approver) MarshalBinary() (result []byte, err error)

func (*Approver) UnmarshalBinary

func (approver *Approver) UnmarshalBinary(data []byte) (err error)

func (*Approver) Update

func (approver *Approver) Update(other objectstorage.StorableObject)

type CachedApprover

type CachedApprover struct {
	objectstorage.CachedObject
}

func (*CachedApprover) Unwrap

func (cachedApprover *CachedApprover) Unwrap() *Approver

type CachedApprovers

type CachedApprovers []*CachedApprover

func (CachedApprovers) Consume

func (cachedApprovers CachedApprovers) Consume(consumer func(approver *Approver)) (consumed bool)

Jump to

Keyboard shortcuts

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