Documentation ¶
Overview ¶
Package pb holds only Protocol Buffer definitions and generated code.
Index ¶
- Variables
- type AuroraAddress
- func (*AuroraAddress) Descriptor() ([]byte, []int)
- func (m *AuroraAddress) GetOverlay() []byte
- func (m *AuroraAddress) GetSignature() []byte
- func (m *AuroraAddress) GetUnderlay() []byte
- func (m *AuroraAddress) Marshal() (dAtA []byte, err error)
- func (m *AuroraAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *AuroraAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuroraAddress) ProtoMessage()
- func (m *AuroraAddress) Reset()
- func (m *AuroraAddress) Size() (n int)
- func (m *AuroraAddress) String() string
- func (m *AuroraAddress) Unmarshal(dAtA []byte) error
- func (m *AuroraAddress) XXX_DiscardUnknown()
- func (m *AuroraAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuroraAddress) XXX_Merge(src proto.Message)
- func (m *AuroraAddress) XXX_Size() int
- func (m *AuroraAddress) XXX_Unmarshal(b []byte) error
- type FindNodeReq
- func (*FindNodeReq) Descriptor() ([]byte, []int)
- func (m *FindNodeReq) GetLimit() int32
- func (m *FindNodeReq) GetPos() []int32
- func (m *FindNodeReq) GetTarget() []byte
- func (m *FindNodeReq) Marshal() (dAtA []byte, err error)
- func (m *FindNodeReq) MarshalTo(dAtA []byte) (int, error)
- func (m *FindNodeReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*FindNodeReq) ProtoMessage()
- func (m *FindNodeReq) Reset()
- func (m *FindNodeReq) Size() (n int)
- func (m *FindNodeReq) String() string
- func (m *FindNodeReq) Unmarshal(dAtA []byte) error
- func (m *FindNodeReq) XXX_DiscardUnknown()
- func (m *FindNodeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FindNodeReq) XXX_Merge(src proto.Message)
- func (m *FindNodeReq) XXX_Size() int
- func (m *FindNodeReq) XXX_Unmarshal(b []byte) error
- type Peers
- func (*Peers) Descriptor() ([]byte, []int)
- func (m *Peers) GetPeers() []*AuroraAddress
- func (m *Peers) Marshal() (dAtA []byte, err error)
- func (m *Peers) MarshalTo(dAtA []byte) (int, error)
- func (m *Peers) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Peers) ProtoMessage()
- func (m *Peers) Reset()
- func (m *Peers) Size() (n int)
- func (m *Peers) String() string
- func (m *Peers) Unmarshal(dAtA []byte) error
- func (m *Peers) XXX_DiscardUnknown()
- func (m *Peers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Peers) XXX_Merge(src proto.Message)
- func (m *Peers) XXX_Size() int
- func (m *Peers) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AuroraAddress ¶
type AuroraAddress struct { Underlay []byte `protobuf:"bytes,1,opt,name=Underlay,proto3" json:"Underlay,omitempty"` Signature []byte `protobuf:"bytes,2,opt,name=Signature,proto3" json:"Signature,omitempty"` Overlay []byte `protobuf:"bytes,3,opt,name=Overlay,proto3" json:"Overlay,omitempty"` }
func (*AuroraAddress) Descriptor ¶
func (*AuroraAddress) Descriptor() ([]byte, []int)
func (*AuroraAddress) GetOverlay ¶
func (m *AuroraAddress) GetOverlay() []byte
func (*AuroraAddress) GetSignature ¶
func (m *AuroraAddress) GetSignature() []byte
func (*AuroraAddress) GetUnderlay ¶
func (m *AuroraAddress) GetUnderlay() []byte
func (*AuroraAddress) Marshal ¶
func (m *AuroraAddress) Marshal() (dAtA []byte, err error)
func (*AuroraAddress) MarshalToSizedBuffer ¶
func (m *AuroraAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuroraAddress) ProtoMessage ¶
func (*AuroraAddress) ProtoMessage()
func (*AuroraAddress) Reset ¶
func (m *AuroraAddress) Reset()
func (*AuroraAddress) Size ¶
func (m *AuroraAddress) Size() (n int)
func (*AuroraAddress) String ¶
func (m *AuroraAddress) String() string
func (*AuroraAddress) Unmarshal ¶
func (m *AuroraAddress) Unmarshal(dAtA []byte) error
func (*AuroraAddress) XXX_DiscardUnknown ¶
func (m *AuroraAddress) XXX_DiscardUnknown()
func (*AuroraAddress) XXX_Marshal ¶
func (m *AuroraAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuroraAddress) XXX_Merge ¶
func (m *AuroraAddress) XXX_Merge(src proto.Message)
func (*AuroraAddress) XXX_Size ¶
func (m *AuroraAddress) XXX_Size() int
func (*AuroraAddress) XXX_Unmarshal ¶
func (m *AuroraAddress) XXX_Unmarshal(b []byte) error
type FindNodeReq ¶
type FindNodeReq struct { Target []byte `protobuf:"bytes,1,opt,name=Target,proto3" json:"Target,omitempty"` Pos []int32 `protobuf:"varint,2,rep,packed,name=Pos,proto3" json:"Pos,omitempty"` Limit int32 `protobuf:"varint,3,opt,name=Limit,proto3" json:"Limit,omitempty"` }
func (*FindNodeReq) Descriptor ¶
func (*FindNodeReq) Descriptor() ([]byte, []int)
func (*FindNodeReq) GetLimit ¶
func (m *FindNodeReq) GetLimit() int32
func (*FindNodeReq) GetPos ¶
func (m *FindNodeReq) GetPos() []int32
func (*FindNodeReq) GetTarget ¶
func (m *FindNodeReq) GetTarget() []byte
func (*FindNodeReq) Marshal ¶
func (m *FindNodeReq) Marshal() (dAtA []byte, err error)
func (*FindNodeReq) MarshalToSizedBuffer ¶
func (m *FindNodeReq) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*FindNodeReq) ProtoMessage ¶
func (*FindNodeReq) ProtoMessage()
func (*FindNodeReq) Reset ¶
func (m *FindNodeReq) Reset()
func (*FindNodeReq) Size ¶
func (m *FindNodeReq) Size() (n int)
func (*FindNodeReq) String ¶
func (m *FindNodeReq) String() string
func (*FindNodeReq) Unmarshal ¶
func (m *FindNodeReq) Unmarshal(dAtA []byte) error
func (*FindNodeReq) XXX_DiscardUnknown ¶
func (m *FindNodeReq) XXX_DiscardUnknown()
func (*FindNodeReq) XXX_Marshal ¶
func (m *FindNodeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FindNodeReq) XXX_Merge ¶
func (m *FindNodeReq) XXX_Merge(src proto.Message)
func (*FindNodeReq) XXX_Size ¶
func (m *FindNodeReq) XXX_Size() int
func (*FindNodeReq) XXX_Unmarshal ¶
func (m *FindNodeReq) XXX_Unmarshal(b []byte) error
type Peers ¶
type Peers struct {
Peers []*AuroraAddress `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
}
func (*Peers) Descriptor ¶
func (*Peers) GetPeers ¶
func (m *Peers) GetPeers() []*AuroraAddress
func (*Peers) ProtoMessage ¶
func (*Peers) ProtoMessage()
func (*Peers) XXX_DiscardUnknown ¶
func (m *Peers) XXX_DiscardUnknown()
func (*Peers) XXX_Marshal ¶
func (*Peers) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.