message

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthArith        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowArith          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupArith = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthEcho        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEcho          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEcho = fmt.Errorf("proto: unexpected end of group")
)

Functions

This section is empty.

Types

type ArithRequest

type ArithRequest struct {
	A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	B int32 `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"`
}

func (*ArithRequest) Descriptor

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

func (*ArithRequest) GetA

func (m *ArithRequest) GetA() int32

func (*ArithRequest) GetB

func (m *ArithRequest) GetB() int32

func (*ArithRequest) Marshal

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

func (*ArithRequest) MarshalTo

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

func (*ArithRequest) MarshalToSizedBuffer

func (m *ArithRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArithRequest) ProtoMessage

func (*ArithRequest) ProtoMessage()

func (*ArithRequest) Reset

func (m *ArithRequest) Reset()

func (*ArithRequest) Size

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

func (*ArithRequest) String

func (m *ArithRequest) String() string

func (*ArithRequest) Unmarshal

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

func (*ArithRequest) XXX_DiscardUnknown

func (m *ArithRequest) XXX_DiscardUnknown()

func (*ArithRequest) XXX_Marshal

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

func (*ArithRequest) XXX_Merge

func (m *ArithRequest) XXX_Merge(src proto.Message)

func (*ArithRequest) XXX_Size

func (m *ArithRequest) XXX_Size() int

func (*ArithRequest) XXX_Unmarshal

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

type ArithResponse

type ArithResponse struct {
	C int32 `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"`
}

func (*ArithResponse) Descriptor

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

func (*ArithResponse) GetC

func (m *ArithResponse) GetC() int32

func (*ArithResponse) Marshal

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

func (*ArithResponse) MarshalTo

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

func (*ArithResponse) MarshalToSizedBuffer

func (m *ArithResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ArithResponse) ProtoMessage

func (*ArithResponse) ProtoMessage()

func (*ArithResponse) Reset

func (m *ArithResponse) Reset()

func (*ArithResponse) Size

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

func (*ArithResponse) String

func (m *ArithResponse) String() string

func (*ArithResponse) Unmarshal

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

func (*ArithResponse) XXX_DiscardUnknown

func (m *ArithResponse) XXX_DiscardUnknown()

func (*ArithResponse) XXX_Marshal

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

func (*ArithResponse) XXX_Merge

func (m *ArithResponse) XXX_Merge(src proto.Message)

func (*ArithResponse) XXX_Size

func (m *ArithResponse) XXX_Size() int

func (*ArithResponse) XXX_Unmarshal

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

type EchoRequest

type EchoRequest struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
}

func (*EchoRequest) Descriptor

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

func (*EchoRequest) GetMsg

func (m *EchoRequest) GetMsg() string

func (*EchoRequest) Marshal

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

func (*EchoRequest) MarshalTo

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

func (*EchoRequest) MarshalToSizedBuffer

func (m *EchoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EchoRequest) ProtoMessage

func (*EchoRequest) ProtoMessage()

func (*EchoRequest) Reset

func (m *EchoRequest) Reset()

func (*EchoRequest) Size

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

func (*EchoRequest) String

func (m *EchoRequest) String() string

func (*EchoRequest) Unmarshal

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

func (*EchoRequest) XXX_DiscardUnknown

func (m *EchoRequest) XXX_DiscardUnknown()

func (*EchoRequest) XXX_Marshal

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

func (*EchoRequest) XXX_Merge

func (m *EchoRequest) XXX_Merge(src proto.Message)

func (*EchoRequest) XXX_Size

func (m *EchoRequest) XXX_Size() int

func (*EchoRequest) XXX_Unmarshal

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

type EchoResponse

type EchoResponse struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
}

func (*EchoResponse) Descriptor

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

func (*EchoResponse) GetMsg

func (m *EchoResponse) GetMsg() string

func (*EchoResponse) Marshal

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

func (*EchoResponse) MarshalTo

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

func (*EchoResponse) MarshalToSizedBuffer

func (m *EchoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EchoResponse) ProtoMessage

func (*EchoResponse) ProtoMessage()

func (*EchoResponse) Reset

func (m *EchoResponse) Reset()

func (*EchoResponse) Size

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

func (*EchoResponse) String

func (m *EchoResponse) String() string

func (*EchoResponse) Unmarshal

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

func (*EchoResponse) XXX_DiscardUnknown

func (m *EchoResponse) XXX_DiscardUnknown()

func (*EchoResponse) XXX_Marshal

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

func (*EchoResponse) XXX_Merge

func (m *EchoResponse) XXX_Merge(src proto.Message)

func (*EchoResponse) XXX_Size

func (m *EchoResponse) XXX_Size() int

func (*EchoResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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