Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transaction ¶
type Transaction struct { ID primitive.ObjectID `json:"id" bson:"_id,omitempty"` TransactionID int64 `json:"transactionID" bson:"transactionID"` SenderAddress string `json:"senderAddress" bson:"senderAddress"` RecipientAddress string `json:"recipientAddress" bson:"recipientAddress"` BlockNum int64 `json:"blockNum" bson:"blockNum"` ConfirmNum int64 `json:"confirmNum" bson:"confirmNum"` TrxDate string `json:"trxDate" bson:"trxDate"` Amount float64 `json:"amount" bson:"amount"` Commission float64 `json:"commission" bson:"commission"` }
func (*Transaction) Validation ¶
func (t *Transaction) Validation() error
Click to show internal directories.
Click to hide internal directories.