client

package
v0.5.5-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthMessages = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMessages   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type InboundMessage

type InboundMessage struct {
	Src     string `protobuf:"bytes,1,opt,name=src,proto3" json:"src,omitempty"`
	Payload []byte `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
}

func NewPopulatedInboundMessage

func NewPopulatedInboundMessage(r randyMessages, easy bool) *InboundMessage

func (*InboundMessage) Descriptor

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

func (*InboundMessage) Equal

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

func (*InboundMessage) GetPayload

func (m *InboundMessage) GetPayload() []byte

func (*InboundMessage) GetSrc

func (m *InboundMessage) GetSrc() string

func (*InboundMessage) GoString

func (this *InboundMessage) GoString() string

func (*InboundMessage) Marshal

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

func (*InboundMessage) MarshalTo

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

func (*InboundMessage) ProtoMessage

func (*InboundMessage) ProtoMessage()

func (*InboundMessage) Reset

func (m *InboundMessage) Reset()

func (*InboundMessage) Size

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

func (*InboundMessage) String

func (this *InboundMessage) String() string

func (*InboundMessage) Unmarshal

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

func (*InboundMessage) XXX_DiscardUnknown

func (m *InboundMessage) XXX_DiscardUnknown()

func (*InboundMessage) XXX_Marshal

func (m *InboundMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InboundMessage) XXX_Merge

func (dst *InboundMessage) XXX_Merge(src proto.Message)

func (*InboundMessage) XXX_Size

func (m *InboundMessage) XXX_Size() int

func (*InboundMessage) XXX_Unmarshal

func (m *InboundMessage) XXX_Unmarshal(b []byte) error

type OutboundMessage

type OutboundMessage struct {
	Dest              string   `protobuf:"bytes,1,opt,name=dest,proto3" json:"dest,omitempty"`
	Payload           []byte   `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
	Dests             []string `protobuf:"bytes,3,rep,name=dests" json:"dests,omitempty"`
	MaxHoldingSeconds uint32   `protobuf:"varint,4,opt,name=max_holding_seconds,json=maxHoldingSeconds,proto3" json:"max_holding_seconds,omitempty"`
}

func NewPopulatedOutboundMessage

func NewPopulatedOutboundMessage(r randyMessages, easy bool) *OutboundMessage

func (*OutboundMessage) Descriptor

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

func (*OutboundMessage) Equal

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

func (*OutboundMessage) GetDest

func (m *OutboundMessage) GetDest() string

func (*OutboundMessage) GetDests

func (m *OutboundMessage) GetDests() []string

func (*OutboundMessage) GetMaxHoldingSeconds

func (m *OutboundMessage) GetMaxHoldingSeconds() uint32

func (*OutboundMessage) GetPayload

func (m *OutboundMessage) GetPayload() []byte

func (*OutboundMessage) GoString

func (this *OutboundMessage) GoString() string

func (*OutboundMessage) Marshal

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

func (*OutboundMessage) MarshalTo

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

func (*OutboundMessage) ProtoMessage

func (*OutboundMessage) ProtoMessage()

func (*OutboundMessage) Reset

func (m *OutboundMessage) Reset()

func (*OutboundMessage) Size

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

func (*OutboundMessage) String

func (this *OutboundMessage) String() string

func (*OutboundMessage) Unmarshal

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

func (*OutboundMessage) XXX_DiscardUnknown

func (m *OutboundMessage) XXX_DiscardUnknown()

func (*OutboundMessage) XXX_Marshal

func (m *OutboundMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutboundMessage) XXX_Merge

func (dst *OutboundMessage) XXX_Merge(src proto.Message)

func (*OutboundMessage) XXX_Size

func (m *OutboundMessage) XXX_Size() int

func (*OutboundMessage) XXX_Unmarshal

func (m *OutboundMessage) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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