indexproto

package
v0.4.1-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthIndex        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIndex          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupIndex = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type CidEntry

type CidEntry struct {
	Size_      uint64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	CreateTime int64  `protobuf:"varint,2,opt,name=createTime,proto3" json:"createTime,omitempty"`
	UpdateTime int64  `protobuf:"varint,3,opt,name=updateTime,proto3" json:"updateTime,omitempty"`
	Refs       int32  `protobuf:"varint,4,opt,name=refs,proto3" json:"refs,omitempty"`
}

func (*CidEntry) Descriptor

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

func (*CidEntry) GetCreateTime

func (m *CidEntry) GetCreateTime() int64

func (*CidEntry) GetRefs

func (m *CidEntry) GetRefs() int32

func (*CidEntry) GetSize_

func (m *CidEntry) GetSize_() uint64

func (*CidEntry) GetUpdateTime

func (m *CidEntry) GetUpdateTime() int64

func (*CidEntry) Marshal

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

func (*CidEntry) MarshalTo

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

func (*CidEntry) MarshalToSizedBuffer

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

func (*CidEntry) ProtoMessage

func (*CidEntry) ProtoMessage()

func (*CidEntry) Reset

func (m *CidEntry) Reset()

func (*CidEntry) Size

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

func (*CidEntry) String

func (m *CidEntry) String() string

func (*CidEntry) Unmarshal

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

func (*CidEntry) XXX_DiscardUnknown

func (m *CidEntry) XXX_DiscardUnknown()

func (*CidEntry) XXX_Marshal

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

func (*CidEntry) XXX_Merge

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

func (*CidEntry) XXX_Size

func (m *CidEntry) XXX_Size() int

func (*CidEntry) XXX_Unmarshal

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

type CidList

type CidList struct {
	Cids [][]byte `protobuf:"bytes,1,rep,name=cids,proto3" json:"cids,omitempty"`
}

func (*CidList) Descriptor

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

func (*CidList) GetCids

func (m *CidList) GetCids() [][]byte

func (*CidList) Marshal

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

func (*CidList) MarshalTo

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

func (*CidList) MarshalToSizedBuffer

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

func (*CidList) ProtoMessage

func (*CidList) ProtoMessage()

func (*CidList) Reset

func (m *CidList) Reset()

func (*CidList) Size

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

func (*CidList) String

func (m *CidList) String() string

func (*CidList) Unmarshal

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

func (*CidList) XXX_DiscardUnknown

func (m *CidList) XXX_DiscardUnknown()

func (*CidList) XXX_Marshal

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

func (*CidList) XXX_Merge

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

func (*CidList) XXX_Size

func (m *CidList) XXX_Size() int

func (*CidList) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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