recovery_pb

package
v0.0.0-...-68d8c1a Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthReadsolomon        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowReadsolomon          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupReadsolomon = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type PBLink struct {
	Hash  []byte `protobuf:"bytes,1,opt,name=Hash,proto3" json:"Hash,omitempty"`
	Name  string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Size_ uint64 `protobuf:"varint,3,opt,name=Size,proto3" json:"Size,omitempty"`
}

func (*PBLink) Descriptor

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

func (*PBLink) Equal

func (this *PBLink) Equal(that interface{}) bool

func (*PBLink) GetHash

func (m *PBLink) GetHash() []byte

func (*PBLink) GetName

func (m *PBLink) GetName() string

func (*PBLink) GetSize_

func (m *PBLink) GetSize_() uint64

func (*PBLink) GoString

func (this *PBLink) GoString() string

func (*PBLink) Marshal

func (m *PBLink) Marshal() (dAtA []byte, err error)

func (*PBLink) MarshalTo

func (m *PBLink) MarshalTo(dAtA []byte) (int, error)

func (*PBLink) MarshalToSizedBuffer

func (m *PBLink) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PBLink) ProtoMessage

func (*PBLink) ProtoMessage()

func (*PBLink) Reset

func (m *PBLink) Reset()

func (*PBLink) Size

func (m *PBLink) Size() (n int)

func (*PBLink) String

func (this *PBLink) String() string

func (*PBLink) Unmarshal

func (m *PBLink) Unmarshal(dAtA []byte) error

func (*PBLink) XXX_DiscardUnknown

func (m *PBLink) XXX_DiscardUnknown()

func (*PBLink) XXX_Marshal

func (m *PBLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PBLink) XXX_Merge

func (m *PBLink) XXX_Merge(src proto.Message)

func (*PBLink) XXX_Size

func (m *PBLink) XXX_Size() int

func (*PBLink) XXX_Unmarshal

func (m *PBLink) XXX_Unmarshal(b []byte) error

type PBNode

type PBNode struct {
	Proto    []byte    `protobuf:"bytes,1,opt,name=proto,proto3" json:"proto,omitempty"`
	Recovery []*PBLink `protobuf:"bytes,2,rep,name=recovery,proto3" json:"recovery,omitempty"`
}

func (*PBNode) Descriptor

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

func (*PBNode) Equal

func (this *PBNode) Equal(that interface{}) bool

func (*PBNode) GetProto

func (m *PBNode) GetProto() []byte

func (*PBNode) GetRecovery

func (m *PBNode) GetRecovery() []*PBLink

func (*PBNode) GoString

func (this *PBNode) GoString() string

func (*PBNode) Marshal

func (m *PBNode) Marshal() (dAtA []byte, err error)

func (*PBNode) MarshalTo

func (m *PBNode) MarshalTo(dAtA []byte) (int, error)

func (*PBNode) MarshalToSizedBuffer

func (m *PBNode) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PBNode) ProtoMessage

func (*PBNode) ProtoMessage()

func (*PBNode) Reset

func (m *PBNode) Reset()

func (*PBNode) Size

func (m *PBNode) Size() (n int)

func (*PBNode) String

func (this *PBNode) String() string

func (*PBNode) Unmarshal

func (m *PBNode) Unmarshal(dAtA []byte) error

func (*PBNode) XXX_DiscardUnknown

func (m *PBNode) XXX_DiscardUnknown()

func (*PBNode) XXX_Marshal

func (m *PBNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PBNode) XXX_Merge

func (m *PBNode) XXX_Merge(src proto.Message)

func (*PBNode) XXX_Size

func (m *PBNode) XXX_Size() int

func (*PBNode) XXX_Unmarshal

func (m *PBNode) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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