Versions in this module Expand all Collapse all v1 v1.5.0 Jan 11, 2021 Changes in this version + var ErrIntOverflowWallet = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthWallet = fmt.Errorf("proto: negative length found during unmarshaling") + var ErrUnexpectedEndOfGroupWallet = fmt.Errorf("proto: unexpected end of group") + var TransactionV1_Type_name = map[int32]string + var TransactionV1_Type_value = map[string]int32 + type Transaction struct + Amount int64 + From string + Id int64 + Status string + TimeCreate time.Time + To string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func NewPopulatedTransaction(r randyWallet, easy bool) *Transaction + func (*Transaction) Descriptor() ([]byte, []int) + func (*Transaction) ProtoMessage() + func (*Transaction) XXX_MessageName() string + func (m *Transaction) GetAmount() int64 + func (m *Transaction) GetFrom() string + func (m *Transaction) GetId() int64 + func (m *Transaction) GetStatus() string + func (m *Transaction) GetTimeCreate() time.Time + func (m *Transaction) GetTo() string + func (m *Transaction) Marshal() (dAtA []byte, err error) + func (m *Transaction) MarshalTo(dAtA []byte) (int, error) + func (m *Transaction) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *Transaction) Reset() + func (m *Transaction) Size() (n int) + func (m *Transaction) String() string + func (m *Transaction) Unmarshal(dAtA []byte) error + func (m *Transaction) XXX_DiscardUnknown() + func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Transaction) XXX_Merge(src proto.Message) + func (m *Transaction) XXX_Size() int + func (m *Transaction) XXX_Unmarshal(b []byte) error + type TransactionV1 struct + Amount int64 + From string + Id string + Status string + TimeCreate time.Time + To string + Type TransactionV1_Type + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func NewPopulatedTransactionV1(r randyWallet, easy bool) *TransactionV1 + func (*TransactionV1) Descriptor() ([]byte, []int) + func (*TransactionV1) ProtoMessage() + func (*TransactionV1) XXX_MessageName() string + func (m *TransactionV1) GetAmount() int64 + func (m *TransactionV1) GetFrom() string + func (m *TransactionV1) GetId() string + func (m *TransactionV1) GetStatus() string + func (m *TransactionV1) GetTimeCreate() time.Time + func (m *TransactionV1) GetTo() string + func (m *TransactionV1) GetType() TransactionV1_Type + func (m *TransactionV1) Marshal() (dAtA []byte, err error) + func (m *TransactionV1) MarshalTo(dAtA []byte) (int, error) + func (m *TransactionV1) MarshalToSizedBuffer(dAtA []byte) (int, error) + func (m *TransactionV1) Reset() + func (m *TransactionV1) Size() (n int) + func (m *TransactionV1) String() string + func (m *TransactionV1) Unmarshal(dAtA []byte) error + func (m *TransactionV1) XXX_DiscardUnknown() + func (m *TransactionV1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *TransactionV1) XXX_Merge(src proto.Message) + func (m *TransactionV1) XXX_Size() int + func (m *TransactionV1) XXX_Unmarshal(b []byte) error + type TransactionV1_Type int32 + const TransactionV1_EXCHANGE + const TransactionV1_OFF_CHAIN + const TransactionV1_ON_CHAIN + func (TransactionV1_Type) EnumDescriptor() ([]byte, []int) + func (x TransactionV1_Type) String() string