go-ipfs: github.com/ipfs/go-ipfs/pin/internal/pb Index | Files

package pb

import "github.com/ipfs/go-ipfs/pin/internal/pb"


Package Files

doc.go header.pb.go


var (
    ErrInvalidLengthHeader = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowHeader   = fmt.Errorf("proto: integer overflow")

type Set Uses

type Set struct {
    // 1 for now, library will refuse to handle entries with an unrecognized version.
    Version uint32 `protobuf:"varint,1,opt,name=version" json:"version"`
    // how many of the links are subtrees
    Fanout uint32 `protobuf:"varint,2,opt,name=fanout" json:"fanout"`
    // hash seed for subtree selection, a random number
    Seed uint32 `protobuf:"fixed32,3,opt,name=seed" json:"seed"`

func (*Set) Descriptor Uses

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

func (*Set) GetFanout Uses

func (m *Set) GetFanout() uint32

func (*Set) GetSeed Uses

func (m *Set) GetSeed() uint32

func (*Set) GetVersion Uses

func (m *Set) GetVersion() uint32

func (*Set) Marshal Uses

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

func (*Set) MarshalTo Uses

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

func (*Set) ProtoMessage Uses

func (*Set) ProtoMessage()

func (*Set) Reset Uses

func (m *Set) Reset()

func (*Set) Size Uses

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

func (*Set) String Uses

func (m *Set) String() string

func (*Set) Unmarshal Uses

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

func (*Set) XXX_DiscardUnknown Uses

func (m *Set) XXX_DiscardUnknown()

func (*Set) XXX_Marshal Uses

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

func (*Set) XXX_Merge Uses

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

func (*Set) XXX_Size Uses

func (m *Set) XXX_Size() int

func (*Set) XXX_Unmarshal Uses

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

Package pb imports 5 packages (graph) and is imported by 23 packages. Updated 2019-03-11. Refresh now. Tools for package owners.