messages

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2019 License: MIT Imports: 8 Imported by: 0

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

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 NewPopulatedID(r randyProxy, easy bool) *ID

func (*ID) Descriptor

func (*ID) Descriptor() ([]byte, []int)

func (*ID) Equal

func (this *ID) Equal(that interface{}) bool

func (*ID) GetAddress

func (m *ID) GetAddress() string

func (*ID) GetId

func (m *ID) GetId() []byte

func (*ID) GetPublicKey

func (m *ID) GetPublicKey() []byte

func (*ID) GoString

func (this *ID) GoString() string

func (*ID) Marshal

func (m *ID) Marshal() (dAtA []byte, err error)

func (*ID) MarshalTo

func (m *ID) MarshalTo(dAtA []byte) (int, error)

func (*ID) ProtoMessage

func (*ID) ProtoMessage()

func (*ID) Reset

func (m *ID) Reset()

func (*ID) Size

func (m *ID) Size() (n int)

func (*ID) String

func (this *ID) String() string

func (*ID) Unmarshal

func (m *ID) Unmarshal(dAtA []byte) error

func (*ID) VerboseEqual

func (this *ID) VerboseEqual(that interface{}) error

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) MarshalTo

func (m *ProxyMessage) MarshalTo(dAtA []byte) (int, 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL