Versions in this module Expand all Collapse all v1 v1.2.0 Jan 24, 2019 Changes in this version + var ErrIntOverflowStream = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthStream = fmt.Errorf("proto: negative length found during unmarshaling") + type Bytes struct + Data []byte + func (*Bytes) Descriptor() ([]byte, []int) + func (*Bytes) ProtoMessage() + func (m *Bytes) GetData() []byte + func (m *Bytes) Marshal() (dAtA []byte, err error) + func (m *Bytes) MarshalTo(dAtA []byte) (int, error) + func (m *Bytes) Reset() + func (m *Bytes) Size() (n int) + func (m *Bytes) Unmarshal(dAtA []byte) error + func (this *Bytes) Equal(that interface{}) bool + func (this *Bytes) GoString() string + func (this *Bytes) String() string + func (this *Bytes) VerboseEqual(that interface{}) error + type ID struct + Address string + Id []byte + PublicKey []byte + func (*ID) Descriptor() ([]byte, []int) + func (*ID) ProtoMessage() + func (m *ID) GetAddress() string + func (m *ID) GetId() []byte + func (m *ID) GetPublicKey() []byte + func (m *ID) Marshal() (dAtA []byte, err error) + func (m *ID) MarshalTo(dAtA []byte) (int, error) + func (m *ID) Reset() + func (m *ID) Size() (n int) + func (m *ID) Unmarshal(dAtA []byte) error + func (this *ID) Equal(that interface{}) bool + func (this *ID) GoString() string + func (this *ID) String() string + func (this *ID) VerboseEqual(that interface{}) error + type LookupNodeRequest struct + Target *ID + func (*LookupNodeRequest) Descriptor() ([]byte, []int) + func (*LookupNodeRequest) ProtoMessage() + func (m *LookupNodeRequest) GetTarget() *ID + func (m *LookupNodeRequest) Marshal() (dAtA []byte, err error) + func (m *LookupNodeRequest) MarshalTo(dAtA []byte) (int, error) + func (m *LookupNodeRequest) Reset() + func (m *LookupNodeRequest) Size() (n int) + func (m *LookupNodeRequest) Unmarshal(dAtA []byte) error + func (this *LookupNodeRequest) Equal(that interface{}) bool + func (this *LookupNodeRequest) GoString() string + func (this *LookupNodeRequest) String() string + func (this *LookupNodeRequest) VerboseEqual(that interface{}) error + type LookupNodeResponse struct + Peers []*ID + func (*LookupNodeResponse) Descriptor() ([]byte, []int) + func (*LookupNodeResponse) ProtoMessage() + func (m *LookupNodeResponse) GetPeers() []*ID + func (m *LookupNodeResponse) Marshal() (dAtA []byte, err error) + func (m *LookupNodeResponse) MarshalTo(dAtA []byte) (int, error) + func (m *LookupNodeResponse) Reset() + func (m *LookupNodeResponse) Size() (n int) + func (m *LookupNodeResponse) Unmarshal(dAtA []byte) error + func (this *LookupNodeResponse) Equal(that interface{}) bool + func (this *LookupNodeResponse) GoString() string + func (this *LookupNodeResponse) String() string + func (this *LookupNodeResponse) VerboseEqual(that interface{}) error + type Message struct + Message []byte + MessageNonce uint64 + Opcode uint32 + ReplyFlag bool + RequestNonce uint64 + Sender *ID + Signature []byte + func (*Message) Descriptor() ([]byte, []int) + func (*Message) ProtoMessage() + func (m *Message) GetMessage() []byte + func (m *Message) GetMessageNonce() uint64 + func (m *Message) GetOpcode() uint32 + func (m *Message) GetReplyFlag() bool + func (m *Message) GetRequestNonce() uint64 + func (m *Message) GetSender() *ID + func (m *Message) GetSignature() []byte + func (m *Message) Marshal() (dAtA []byte, err error) + func (m *Message) MarshalTo(dAtA []byte) (int, error) + func (m *Message) Reset() + func (m *Message) Size() (n int) + func (m *Message) Unmarshal(dAtA []byte) error + func (this *Message) Equal(that interface{}) bool + func (this *Message) GoString() string + func (this *Message) String() string + func (this *Message) VerboseEqual(that interface{}) error + type Ping struct + func (*Ping) Descriptor() ([]byte, []int) + func (*Ping) ProtoMessage() + func (m *Ping) Marshal() (dAtA []byte, err error) + func (m *Ping) MarshalTo(dAtA []byte) (int, error) + func (m *Ping) Reset() + func (m *Ping) Size() (n int) + func (m *Ping) Unmarshal(dAtA []byte) error + func (this *Ping) Equal(that interface{}) bool + func (this *Ping) GoString() string + func (this *Ping) String() string + func (this *Ping) VerboseEqual(that interface{}) error + type Pong struct + func (*Pong) Descriptor() ([]byte, []int) + func (*Pong) ProtoMessage() + func (m *Pong) Marshal() (dAtA []byte, err error) + func (m *Pong) MarshalTo(dAtA []byte) (int, error) + func (m *Pong) Reset() + func (m *Pong) Size() (n int) + func (m *Pong) Unmarshal(dAtA []byte) error + func (this *Pong) Equal(that interface{}) bool + func (this *Pong) GoString() string + func (this *Pong) String() string + func (this *Pong) VerboseEqual(that interface{}) error