archiverpb

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

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

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 Direction

type Direction int32
const (
	Direction_INPUT  Direction = 0
	Direction_OUTPUT Direction = 1
)

func (Direction) EnumDescriptor

func (Direction) EnumDescriptor() ([]byte, []int)

func (Direction) String

func (x Direction) String() string

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) Descriptor() ([]byte, []int)

func (*Settings) GetAccount

func (m *Settings) GetAccount() string

func (*Settings) GetDataHash

func (m *Settings) GetDataHash() string

func (*Settings) GetHash

func (m *Settings) GetHash() string

func (*Settings) GetId

func (m *Settings) GetId() string

func (*Settings) GetPrevHash

func (m *Settings) GetPrevHash() string

func (*Settings) GetPublicKey

func (m *Settings) GetPublicKey() string

func (*Settings) GetSign

func (m *Settings) GetSign() string

func (*Settings) GetVerifyTransferSign

func (m *Settings) GetVerifyTransferSign() bool

func (*Settings) ProtoMessage

func (*Settings) ProtoMessage()

func (*Settings) Reset

func (m *Settings) Reset()

func (*Settings) String

func (m *Settings) String() string

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) Descriptor() ([]byte, []int)

func (*Txn) GetAmount

func (m *Txn) GetAmount() string

func (*Txn) GetBalance

func (m *Txn) GetBalance() string

func (*Txn) GetHash

func (m *Txn) GetHash() string

func (*Txn) GetId

func (m *Txn) GetId() string

func (*Txn) GetPrevHash

func (m *Txn) GetPrevHash() string

func (*Txn) GetReceiver

func (m *Txn) GetReceiver() string

func (*Txn) GetSender

func (m *Txn) GetSender() string

func (*Txn) GetSettingsId

func (m *Txn) GetSettingsId() string

func (*Txn) GetSign

func (m *Txn) GetSign() string

func (*Txn) GetSpentBy

func (m *Txn) GetSpentBy() string

func (*Txn) ProtoMessage

func (*Txn) ProtoMessage()

func (*Txn) Reset

func (m *Txn) Reset()

func (*Txn) String

func (m *Txn) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL