Documentation ¶
Overview ¶
Package pb holds only Protocol Buffer definitions and generated code.
Index ¶
- Variables
- type Peers
- func (*Peers) Descriptor() ([]byte, []int)
- func (m *Peers) GetPeers() []*PenAddress
- 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
- type PenAddress
- func (*PenAddress) Descriptor() ([]byte, []int)
- func (m *PenAddress) GetOverlay() []byte
- func (m *PenAddress) GetSignature() []byte
- func (m *PenAddress) GetUnderlay() []byte
- func (m *PenAddress) Marshal() (dAtA []byte, err error)
- func (m *PenAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *PenAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PenAddress) ProtoMessage()
- func (m *PenAddress) Reset()
- func (m *PenAddress) Size() (n int)
- func (m *PenAddress) String() string
- func (m *PenAddress) Unmarshal(dAtA []byte) error
- func (m *PenAddress) XXX_DiscardUnknown()
- func (m *PenAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PenAddress) XXX_Merge(src proto.Message)
- func (m *PenAddress) XXX_Size() int
- func (m *PenAddress) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Peers ¶
type Peers struct {
Peers []*PenAddress `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
}
func (*Peers) Descriptor ¶
func (*Peers) GetPeers ¶
func (m *Peers) GetPeers() []*PenAddress
func (*Peers) ProtoMessage ¶
func (*Peers) ProtoMessage()
func (*Peers) XXX_DiscardUnknown ¶
func (m *Peers) XXX_DiscardUnknown()
func (*Peers) XXX_Marshal ¶
func (*Peers) XXX_Unmarshal ¶
type PenAddress ¶
type PenAddress 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 (*PenAddress) Descriptor ¶
func (*PenAddress) Descriptor() ([]byte, []int)
func (*PenAddress) GetOverlay ¶
func (m *PenAddress) GetOverlay() []byte
func (*PenAddress) GetSignature ¶
func (m *PenAddress) GetSignature() []byte
func (*PenAddress) GetUnderlay ¶
func (m *PenAddress) GetUnderlay() []byte
func (*PenAddress) Marshal ¶
func (m *PenAddress) Marshal() (dAtA []byte, err error)
func (*PenAddress) MarshalToSizedBuffer ¶
func (m *PenAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PenAddress) ProtoMessage ¶
func (*PenAddress) ProtoMessage()
func (*PenAddress) Reset ¶
func (m *PenAddress) Reset()
func (*PenAddress) Size ¶
func (m *PenAddress) Size() (n int)
func (*PenAddress) String ¶
func (m *PenAddress) String() string
func (*PenAddress) Unmarshal ¶
func (m *PenAddress) Unmarshal(dAtA []byte) error
func (*PenAddress) XXX_DiscardUnknown ¶
func (m *PenAddress) XXX_DiscardUnknown()
func (*PenAddress) XXX_Marshal ¶
func (m *PenAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PenAddress) XXX_Merge ¶
func (m *PenAddress) XXX_Merge(src proto.Message)
func (*PenAddress) XXX_Size ¶
func (m *PenAddress) XXX_Size() int
func (*PenAddress) XXX_Unmarshal ¶
func (m *PenAddress) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.