messages

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2018 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"`
}

func NewPopulatedID added in v1.1.0

func NewPopulatedID(r randyProxy, easy bool) *ID

func (*ID) Descriptor

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

func (*ID) Equal added in v1.1.0

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

func (*ID) GetAddress

func (m *ID) GetAddress() string

func (*ID) GetPublicKey

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

func (*ID) GoString added in v1.1.0

func (this *ID) GoString() string

func (*ID) Marshal added in v1.1.0

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

func (*ID) MarshalTo added in v1.1.0

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

func (*ID) ProtoMessage

func (*ID) ProtoMessage()

func (*ID) Reset

func (m *ID) Reset()

func (*ID) Size added in v1.1.0

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

func (*ID) String

func (this *ID) String() string

func (*ID) Unmarshal added in v1.1.0

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

func (*ID) VerboseEqual added in v1.1.0

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 added in v1.1.0

func NewPopulatedProxyMessage(r randyProxy, easy bool) *ProxyMessage

func (*ProxyMessage) Descriptor

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

func (*ProxyMessage) Equal added in v1.1.0

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 added in v1.1.0

func (this *ProxyMessage) GoString() string

func (*ProxyMessage) Marshal added in v1.1.0

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

func (*ProxyMessage) MarshalTo added in v1.1.0

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

func (*ProxyMessage) ProtoMessage

func (*ProxyMessage) ProtoMessage()

func (*ProxyMessage) Reset

func (m *ProxyMessage) Reset()

func (*ProxyMessage) Size added in v1.1.0

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

func (*ProxyMessage) String

func (this *ProxyMessage) String() string

func (*ProxyMessage) Unmarshal added in v1.1.0

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

func (*ProxyMessage) VerboseEqual added in v1.1.0

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