Documentation ¶
Overview ¶
Copyright IBM Corp All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
Index ¶
- type ApproverInitView
- type ApproverInitViewFactory
- type ApproverView
- type Create
- type CreateIOUResponderView
- type CreateIOUView
- type CreateIOUViewFactory
- type Query
- type QueryView
- type QueryViewFactory
- type TxStatusChangeListener
- type Update
- type UpdateIOUResponderView
- type UpdateIOUView
- type UpdateIOUViewFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApproverInitView ¶
type ApproverInitView struct{}
type ApproverInitViewFactory ¶
type ApproverInitViewFactory struct{}
type ApproverView ¶
type ApproverView struct{}
type Create ¶
type Create struct { // Identity is the label of the the borrower's identity to use. // Empty means the default identity. Identity string // Amount the borrower owes the lender Amount uint // Lender is the identity of the lender's FSC node Lender view.Identity // Approver is the identity of the approver's FSC node Approver view.Identity }
Create contains the input to create an IOU state
type CreateIOUResponderView ¶
type CreateIOUResponderView struct{}
type CreateIOUView ¶
type CreateIOUView struct {
Create
}
type CreateIOUViewFactory ¶
type CreateIOUViewFactory struct{}
type QueryViewFactory ¶
type QueryViewFactory struct{}
type TxStatusChangeListener ¶
func NewTxStatusChangeListener ¶
func NewTxStatusChangeListener(expectedTxID string, WG *sync.WaitGroup) *TxStatusChangeListener
func (*TxStatusChangeListener) OnStatusChange ¶
func (t *TxStatusChangeListener) OnStatusChange(txID string, status int) error
type Update ¶
type Update struct { // LinearID is the unique identifier of the IOU state LinearID string // Amount is the new amount. It should smaller than the current amount Amount uint // Approver is the identity of the approver's FSC node Approver view.Identity }
Update contains the input to update an IOU state
type UpdateIOUResponderView ¶
type UpdateIOUResponderView struct{}
type UpdateIOUView ¶
type UpdateIOUView struct {
Update
}
type UpdateIOUViewFactory ¶
type UpdateIOUViewFactory struct{}
Click to show internal directories.
Click to hide internal directories.