syncpb

package
v2.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: LGPL-3.0 Imports: 4 Imported by: 1

Documentation

Overview

Package syncpb is a generated protocol buffer package.

It is generated from these files:

sync.proto

It has these top-level messages:

Sync
ChunkHeader
ChunkHeaders
ChunkData

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChunkData

type ChunkData struct {
	Blocks []*corepb.Block `protobuf:"bytes,1,rep,name=blocks" json:"blocks,omitempty"`
	Root   []byte          `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
}

func (*ChunkData) Descriptor

func (*ChunkData) Descriptor() ([]byte, []int)

func (*ChunkData) GetBlocks

func (m *ChunkData) GetBlocks() []*corepb.Block

func (*ChunkData) GetRoot

func (m *ChunkData) GetRoot() []byte

func (*ChunkData) ProtoMessage

func (*ChunkData) ProtoMessage()

func (*ChunkData) Reset

func (m *ChunkData) Reset()

func (*ChunkData) String

func (m *ChunkData) String() string

type ChunkHeader

type ChunkHeader struct {
	Headers [][]byte `protobuf:"bytes,1,rep,name=headers" json:"headers,omitempty"`
	Root    []byte   `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
}

func (*ChunkHeader) Descriptor

func (*ChunkHeader) Descriptor() ([]byte, []int)

func (*ChunkHeader) GetHeaders

func (m *ChunkHeader) GetHeaders() [][]byte

func (*ChunkHeader) GetRoot

func (m *ChunkHeader) GetRoot() []byte

func (*ChunkHeader) ProtoMessage

func (*ChunkHeader) ProtoMessage()

func (*ChunkHeader) Reset

func (m *ChunkHeader) Reset()

func (*ChunkHeader) String

func (m *ChunkHeader) String() string

type ChunkHeaders

type ChunkHeaders struct {
	ChunkHeaders []*ChunkHeader `protobuf:"bytes,1,rep,name=chunkHeaders" json:"chunkHeaders,omitempty"`
	Root         []byte         `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"`
}

func (*ChunkHeaders) Descriptor

func (*ChunkHeaders) Descriptor() ([]byte, []int)

func (*ChunkHeaders) GetChunkHeaders

func (m *ChunkHeaders) GetChunkHeaders() []*ChunkHeader

func (*ChunkHeaders) GetRoot

func (m *ChunkHeaders) GetRoot() []byte

func (*ChunkHeaders) ProtoMessage

func (*ChunkHeaders) ProtoMessage()

func (*ChunkHeaders) Reset

func (m *ChunkHeaders) Reset()

func (*ChunkHeaders) String

func (m *ChunkHeaders) String() string

type Sync

type Sync struct {
	TailBlockHash []byte `protobuf:"bytes,1,opt,name=tail_block_hash,json=tailBlockHash,proto3" json:"tail_block_hash,omitempty"`
}

func (*Sync) Descriptor

func (*Sync) Descriptor() ([]byte, []int)

func (*Sync) GetTailBlockHash

func (m *Sync) GetTailBlockHash() []byte

func (*Sync) ProtoMessage

func (*Sync) ProtoMessage()

func (*Sync) Reset

func (m *Sync) Reset()

func (*Sync) String

func (m *Sync) String() string

Jump to

Keyboard shortcuts

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