Documentation ¶
Overview ¶
Package archiverpb is a generated protocol buffer package.
It is generated from these files:
data.proto
It has these top-level messages:
Txn Settings
Index ¶
- Variables
- type Direction
- type Settings
- func (*Settings) Descriptor() ([]byte, []int)
- func (m *Settings) GetAccount() string
- func (m *Settings) GetDataHash() string
- func (m *Settings) GetHash() string
- func (m *Settings) GetId() string
- func (m *Settings) GetPrevHash() string
- func (m *Settings) GetPublicKey() string
- func (m *Settings) GetSign() string
- func (m *Settings) GetVerifyTransferSign() bool
- func (*Settings) ProtoMessage()
- func (m *Settings) Reset()
- func (m *Settings) String() string
- type Txn
- func (*Txn) Descriptor() ([]byte, []int)
- func (m *Txn) GetAmount() string
- func (m *Txn) GetBalance() string
- func (m *Txn) GetHash() string
- func (m *Txn) GetId() string
- func (m *Txn) GetPrevHash() string
- func (m *Txn) GetReceiver() string
- func (m *Txn) GetSender() string
- func (m *Txn) GetSettingsId() string
- func (m *Txn) GetSign() string
- func (m *Txn) GetSpentBy() string
- func (*Txn) ProtoMessage()
- func (m *Txn) Reset()
- func (m *Txn) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var Direction_name = map[int32]string{
0: "INPUT",
1: "OUTPUT",
}
View Source
var Direction_value = map[string]int32{
"INPUT": 0,
"OUTPUT": 1,
}
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` PrevHash string `protobuf:"bytes,3,opt,name=prev_hash,json=prevHash,proto3" json:"prev_hash,omitempty"` Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` PublicKey string `protobuf:"bytes,5,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` DataHash string `protobuf:"bytes,6,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"` Sign string `protobuf:"bytes,7,opt,name=sign,proto3" json:"sign,omitempty"` VerifyTransferSign bool `protobuf:"varint,8,opt,name=verify_transfer_sign,json=verifyTransferSign,proto3" json:"verify_transfer_sign,omitempty"` }
func (*Settings) Descriptor ¶
func (*Settings) GetAccount ¶
func (*Settings) GetDataHash ¶
func (*Settings) GetPrevHash ¶
func (*Settings) GetPublicKey ¶
func (*Settings) GetVerifyTransferSign ¶
func (*Settings) ProtoMessage ¶
func (*Settings) ProtoMessage()
type Txn ¶
type Txn struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"` Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"` Amount string `protobuf:"bytes,4,opt,name=amount,proto3" json:"amount,omitempty"` Balance string `protobuf:"bytes,5,opt,name=balance,proto3" json:"balance,omitempty"` SpentBy string `protobuf:"bytes,6,opt,name=spent_by,json=spentBy,proto3" json:"spent_by,omitempty"` SettingsId string `protobuf:"bytes,7,opt,name=settings_id,json=settingsId,proto3" json:"settings_id,omitempty"` PrevHash string `protobuf:"bytes,8,opt,name=prev_hash,json=prevHash,proto3" json:"prev_hash,omitempty"` Hash string `protobuf:"bytes,9,opt,name=hash,proto3" json:"hash,omitempty"` Sign string `protobuf:"bytes,10,opt,name=sign,proto3" json:"sign,omitempty"` }
func (*Txn) Descriptor ¶
func (*Txn) GetBalance ¶
func (*Txn) GetPrevHash ¶
func (*Txn) GetReceiver ¶
func (*Txn) GetSettingsId ¶
func (*Txn) GetSpentBy ¶
func (*Txn) ProtoMessage ¶
func (*Txn) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.