Documentation ¶
Overview ¶
Package messages is a generated protocol buffer package.
It is generated from these files:
examples/proxy/messages/proxy.proto
It has these top-level messages:
ID ProxyMessage
Index ¶
- Variables
- type ID
- func (*ID) Descriptor() ([]byte, []int)
- func (this *ID) Equal(that interface{}) bool
- func (m *ID) GetAddress() string
- func (m *ID) GetId() []byte
- func (m *ID) GetPublicKey() []byte
- func (this *ID) GoString() string
- func (m *ID) Marshal() (dAtA []byte, err error)
- func (m *ID) MarshalTo(dAtA []byte) (int, error)
- func (*ID) ProtoMessage()
- func (m *ID) Reset()
- func (m *ID) Size() (n int)
- func (this *ID) String() string
- func (m *ID) Unmarshal(dAtA []byte) error
- func (this *ID) VerboseEqual(that interface{}) error
- type ProxyMessage
- func (*ProxyMessage) Descriptor() ([]byte, []int)
- func (this *ProxyMessage) Equal(that interface{}) bool
- func (m *ProxyMessage) GetDestination() *ID
- func (m *ProxyMessage) GetMessage() string
- func (this *ProxyMessage) GoString() string
- func (m *ProxyMessage) Marshal() (dAtA []byte, err error)
- func (m *ProxyMessage) MarshalTo(dAtA []byte) (int, error)
- func (*ProxyMessage) ProtoMessage()
- func (m *ProxyMessage) Reset()
- func (m *ProxyMessage) Size() (n int)
- func (this *ProxyMessage) String() string
- func (m *ProxyMessage) Unmarshal(dAtA []byte) error
- func (this *ProxyMessage) VerboseEqual(that interface{}) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthProxy = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProxy = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type ID ¶
type ID struct { PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` Id []byte `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` }
func NewPopulatedID ¶
func (*ID) Descriptor ¶
func (*ID) GetAddress ¶
func (*ID) GetPublicKey ¶
func (*ID) ProtoMessage ¶
func (*ID) ProtoMessage()
func (*ID) VerboseEqual ¶
type ProxyMessage ¶
type ProxyMessage struct { Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` Destination *ID `protobuf:"bytes,2,opt,name=destination" json:"destination,omitempty"` }
func NewPopulatedProxyMessage ¶
func NewPopulatedProxyMessage(r randyProxy, easy bool) *ProxyMessage
func (*ProxyMessage) Descriptor ¶
func (*ProxyMessage) Descriptor() ([]byte, []int)
func (*ProxyMessage) Equal ¶
func (this *ProxyMessage) Equal(that interface{}) bool
func (*ProxyMessage) GetDestination ¶
func (m *ProxyMessage) GetDestination() *ID
func (*ProxyMessage) GetMessage ¶
func (m *ProxyMessage) GetMessage() string
func (*ProxyMessage) GoString ¶
func (this *ProxyMessage) GoString() string
func (*ProxyMessage) Marshal ¶
func (m *ProxyMessage) Marshal() (dAtA []byte, err error)
func (*ProxyMessage) ProtoMessage ¶
func (*ProxyMessage) ProtoMessage()
func (*ProxyMessage) Reset ¶
func (m *ProxyMessage) Reset()
func (*ProxyMessage) Size ¶
func (m *ProxyMessage) Size() (n int)
func (*ProxyMessage) String ¶
func (this *ProxyMessage) String() string
func (*ProxyMessage) Unmarshal ¶
func (m *ProxyMessage) Unmarshal(dAtA []byte) error
func (*ProxyMessage) VerboseEqual ¶
func (this *ProxyMessage) VerboseEqual(that interface{}) error
Click to show internal directories.
Click to hide internal directories.