Documentation
¶
Index ¶
- func FromStorage(id []byte) (result objectstorage.StorableObject)
- type Approver
- func (approver *Approver) GetApprovingTransactionId() transaction.Id
- func (approver *Approver) GetStorageKey() []byte
- func (approver *Approver) MarshalBinary() (result []byte, err error)
- func (approver *Approver) UnmarshalBinary(data []byte) (err error)
- func (approver *Approver) Update(other objectstorage.StorableObject)
- type CachedApprover
- type CachedApprovers
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) MarshalBinary ¶
func (*Approver) UnmarshalBinary ¶
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)
Click to show internal directories.
Click to hide internal directories.