Documentation ¶
Overview ¶
Package pb holds only Protocol Buffer definitions and generated code.
Index ¶
- Variables
- type Ack
- func (*Ack) Descriptor() ([]byte, []int)
- func (m *Ack) GetAddress() *BzzAddress
- func (m *Ack) GetFullNode() bool
- func (m *Ack) GetNetworkID() uint64
- func (m *Ack) GetTransaction() []byte
- func (m *Ack) GetWelcomeMessage() string
- func (m *Ack) Marshal() (dAtA []byte, err error)
- func (m *Ack) MarshalTo(dAtA []byte) (int, error)
- func (m *Ack) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Ack) ProtoMessage()
- func (m *Ack) Reset()
- func (m *Ack) Size() (n int)
- func (m *Ack) String() string
- func (m *Ack) Unmarshal(dAtA []byte) error
- func (m *Ack) XXX_DiscardUnknown()
- func (m *Ack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ack) XXX_Merge(src proto.Message)
- func (m *Ack) XXX_Size() int
- func (m *Ack) XXX_Unmarshal(b []byte) error
- type BzzAddress
- func (*BzzAddress) Descriptor() ([]byte, []int)
- func (m *BzzAddress) GetOverlay() []byte
- func (m *BzzAddress) GetSignature() []byte
- func (m *BzzAddress) GetUnderlay() []byte
- func (m *BzzAddress) Marshal() (dAtA []byte, err error)
- func (m *BzzAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *BzzAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BzzAddress) ProtoMessage()
- func (m *BzzAddress) Reset()
- func (m *BzzAddress) Size() (n int)
- func (m *BzzAddress) String() string
- func (m *BzzAddress) Unmarshal(dAtA []byte) error
- func (m *BzzAddress) XXX_DiscardUnknown()
- func (m *BzzAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BzzAddress) XXX_Merge(src proto.Message)
- func (m *BzzAddress) XXX_Size() int
- func (m *BzzAddress) XXX_Unmarshal(b []byte) error
- type Syn
- func (*Syn) Descriptor() ([]byte, []int)
- func (m *Syn) GetObservedUnderlay() []byte
- func (m *Syn) Marshal() (dAtA []byte, err error)
- func (m *Syn) MarshalTo(dAtA []byte) (int, error)
- func (m *Syn) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Syn) ProtoMessage()
- func (m *Syn) Reset()
- func (m *Syn) Size() (n int)
- func (m *Syn) String() string
- func (m *Syn) Unmarshal(dAtA []byte) error
- func (m *Syn) XXX_DiscardUnknown()
- func (m *Syn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Syn) XXX_Merge(src proto.Message)
- func (m *Syn) XXX_Size() int
- func (m *Syn) XXX_Unmarshal(b []byte) error
- type SynAck
- func (*SynAck) Descriptor() ([]byte, []int)
- func (m *SynAck) GetAck() *Ack
- func (m *SynAck) GetSyn() *Syn
- func (m *SynAck) Marshal() (dAtA []byte, err error)
- func (m *SynAck) MarshalTo(dAtA []byte) (int, error)
- func (m *SynAck) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SynAck) ProtoMessage()
- func (m *SynAck) Reset()
- func (m *SynAck) Size() (n int)
- func (m *SynAck) String() string
- func (m *SynAck) Unmarshal(dAtA []byte) error
- func (m *SynAck) XXX_DiscardUnknown()
- func (m *SynAck) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SynAck) XXX_Merge(src proto.Message)
- func (m *SynAck) XXX_Size() int
- func (m *SynAck) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Ack ¶
type Ack struct { Address *BzzAddress `protobuf:"bytes,1,opt,name=Address,proto3" json:"Address,omitempty"` NetworkID uint64 `protobuf:"varint,2,opt,name=NetworkID,proto3" json:"NetworkID,omitempty"` FullNode bool `protobuf:"varint,3,opt,name=FullNode,proto3" json:"FullNode,omitempty"` Transaction []byte `protobuf:"bytes,4,opt,name=Transaction,proto3" json:"Transaction,omitempty"` WelcomeMessage string `protobuf:"bytes,99,opt,name=WelcomeMessage,proto3" json:"WelcomeMessage,omitempty"` }
func (*Ack) Descriptor ¶
func (*Ack) GetAddress ¶
func (m *Ack) GetAddress() *BzzAddress
func (*Ack) GetFullNode ¶ added in v0.6.0
func (*Ack) GetNetworkID ¶
func (*Ack) GetTransaction ¶ added in v0.6.0
func (*Ack) GetWelcomeMessage ¶
func (*Ack) ProtoMessage ¶
func (*Ack) ProtoMessage()
func (*Ack) XXX_DiscardUnknown ¶
func (m *Ack) XXX_DiscardUnknown()
func (*Ack) XXX_Unmarshal ¶
type BzzAddress ¶
type BzzAddress 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 (*BzzAddress) Descriptor ¶
func (*BzzAddress) Descriptor() ([]byte, []int)
func (*BzzAddress) GetOverlay ¶
func (m *BzzAddress) GetOverlay() []byte
func (*BzzAddress) GetSignature ¶
func (m *BzzAddress) GetSignature() []byte
func (*BzzAddress) GetUnderlay ¶
func (m *BzzAddress) GetUnderlay() []byte
func (*BzzAddress) Marshal ¶
func (m *BzzAddress) Marshal() (dAtA []byte, err error)
func (*BzzAddress) MarshalToSizedBuffer ¶
func (m *BzzAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BzzAddress) ProtoMessage ¶
func (*BzzAddress) ProtoMessage()
func (*BzzAddress) Reset ¶
func (m *BzzAddress) Reset()
func (*BzzAddress) Size ¶
func (m *BzzAddress) Size() (n int)
func (*BzzAddress) String ¶
func (m *BzzAddress) String() string
func (*BzzAddress) Unmarshal ¶
func (m *BzzAddress) Unmarshal(dAtA []byte) error
func (*BzzAddress) XXX_DiscardUnknown ¶
func (m *BzzAddress) XXX_DiscardUnknown()
func (*BzzAddress) XXX_Marshal ¶
func (m *BzzAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BzzAddress) XXX_Merge ¶
func (m *BzzAddress) XXX_Merge(src proto.Message)
func (*BzzAddress) XXX_Size ¶
func (m *BzzAddress) XXX_Size() int
func (*BzzAddress) XXX_Unmarshal ¶
func (m *BzzAddress) XXX_Unmarshal(b []byte) error
type Syn ¶
type Syn struct {
ObservedUnderlay []byte `protobuf:"bytes,1,opt,name=ObservedUnderlay,proto3" json:"ObservedUnderlay,omitempty"`
}
func (*Syn) Descriptor ¶
func (*Syn) GetObservedUnderlay ¶
func (*Syn) ProtoMessage ¶
func (*Syn) ProtoMessage()
func (*Syn) XXX_DiscardUnknown ¶
func (m *Syn) XXX_DiscardUnknown()
func (*Syn) XXX_Unmarshal ¶
type SynAck ¶
type SynAck struct { Syn *Syn `protobuf:"bytes,1,opt,name=Syn,proto3" json:"Syn,omitempty"` Ack *Ack `protobuf:"bytes,2,opt,name=Ack,proto3" json:"Ack,omitempty"` }
func (*SynAck) Descriptor ¶
func (*SynAck) MarshalToSizedBuffer ¶
func (*SynAck) ProtoMessage ¶
func (*SynAck) ProtoMessage()
func (*SynAck) XXX_DiscardUnknown ¶
func (m *SynAck) XXX_DiscardUnknown()
func (*SynAck) XXX_Marshal ¶
func (*SynAck) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.