Documentation
¶
Index ¶
- Variables
- type Link
- type Node
- func (n *Node) AddNodeLink(name string, that *Node) error
- func (n *Node) Encoded(force bool) ([]byte, error)
- func (n *Node) Marshal() ([]byte, error)
- func (n *Node) MarshalTo(encoded []byte) error
- func (n *Node) Multihash() (mh.Multihash, error)
- func (n *Node) Size() (uint64, error)
- func (n *Node) Unmarshal(encoded []byte) error
- type PBLink
- func (*PBLink) Descriptor() ([]byte, []int)
- func (this *PBLink) Equal(that interface{}) bool
- func (m *PBLink) GetHash() []byte
- func (m *PBLink) GetName() string
- func (m *PBLink) GetTsize() uint64
- func (this *PBLink) GoString() string
- func (m *PBLink) Marshal() (dAtA []byte, err error)
- func (m *PBLink) MarshalTo(dAtA []byte) (int, error)
- func (m *PBLink) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PBLink) ProtoMessage()
- func (m *PBLink) Reset()
- func (m *PBLink) Size() (n int)
- func (this *PBLink) String() string
- func (m *PBLink) Unmarshal(dAtA []byte) error
- func (this *PBLink) VerboseEqual(that interface{}) error
- func (m *PBLink) XXX_DiscardUnknown()
- func (m *PBLink) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBLink) XXX_Merge(src proto.Message)
- func (m *PBLink) XXX_Size() int
- func (m *PBLink) XXX_Unmarshal(b []byte) error
- type PBNode
- func (*PBNode) Descriptor() ([]byte, []int)
- func (this *PBNode) Equal(that interface{}) bool
- func (m *PBNode) GetData() []byte
- func (m *PBNode) GetLinks() []*PBLink
- func (this *PBNode) GoString() string
- func (m *PBNode) Marshal() (dAtA []byte, err error)
- func (m *PBNode) MarshalTo(dAtA []byte) (int, error)
- func (m *PBNode) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PBNode) ProtoMessage()
- func (m *PBNode) Reset()
- func (m *PBNode) Size() (n int)
- func (this *PBNode) String() string
- func (m *PBNode) Unmarshal(dAtA []byte) error
- func (this *PBNode) VerboseEqual(that interface{}) error
- func (m *PBNode) XXX_DiscardUnknown()
- func (m *PBNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PBNode) XXX_Merge(src proto.Message)
- func (m *PBNode) XXX_Size() int
- func (m *PBNode) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type PBLink ¶
type PBLink struct {
Hash []byte `protobuf:"bytes,1,opt,name=Hash" json:"Hash,omitempty"`
Name *string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"`
Tsize *uint64 `protobuf:"varint,3,opt,name=Tsize" json:"Tsize,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedPBLink ¶
func (*PBLink) Descriptor ¶
func (*PBLink) MarshalToSizedBuffer ¶
func (*PBLink) ProtoMessage ¶
func (*PBLink) ProtoMessage()
func (*PBLink) VerboseEqual ¶
func (*PBLink) XXX_DiscardUnknown ¶
func (m *PBLink) XXX_DiscardUnknown()
func (*PBLink) XXX_Marshal ¶
func (*PBLink) XXX_Unmarshal ¶
type PBNode ¶
type PBNode struct {
Links []*PBLink `protobuf:"bytes,2,rep,name=Links" json:"Links,omitempty"`
Data []byte `protobuf:"bytes,1,opt,name=Data" json:"Data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func NewPopulatedPBNode ¶
func (*PBNode) Descriptor ¶
func (*PBNode) MarshalToSizedBuffer ¶
func (*PBNode) ProtoMessage ¶
func (*PBNode) ProtoMessage()
func (*PBNode) VerboseEqual ¶
func (*PBNode) XXX_DiscardUnknown ¶
func (m *PBNode) XXX_DiscardUnknown()
func (*PBNode) XXX_Marshal ¶
func (*PBNode) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.