Documentation ¶
Overview ¶
Package message is a generated protocol buffer package.
It is generated from these files:
cockroach/rpc/codec/message/arith.proto cockroach/rpc/codec/message/echo.proto
It has these top-level messages:
ArithRequest ArithResponse
Index ¶
- type ArithRequest
- type ArithResponse
- type EchoRequest
- func (m *EchoRequest) GetMsg() string
- func (e *EchoRequest) GetUser() string
- func (m *EchoRequest) Marshal() (data []byte, err error)
- func (m *EchoRequest) MarshalTo(data []byte) (n int, err error)
- func (*EchoRequest) ProtoMessage()
- func (m *EchoRequest) Reset()
- func (m *EchoRequest) Size() (n int)
- func (m *EchoRequest) String() string
- func (m *EchoRequest) Unmarshal(data []byte) error
- type EchoResponse
- func (m *EchoResponse) GetMsg() string
- func (m *EchoResponse) Marshal() (data []byte, err error)
- func (m *EchoResponse) MarshalTo(data []byte) (n int, err error)
- func (*EchoResponse) ProtoMessage()
- func (m *EchoResponse) Reset()
- func (m *EchoResponse) Size() (n int)
- func (m *EchoResponse) String() string
- func (m *EchoResponse) Unmarshal(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArithRequest ¶
type ArithRequest struct { A int32 `protobuf:"varint,1,opt,name=a" json:"a"` B int32 `protobuf:"varint,2,opt,name=b" json:"b"` XXX_unrecognized []byte `json:"-"` }
func (*ArithRequest) GetA ¶
func (m *ArithRequest) GetA() int32
func (*ArithRequest) GetB ¶
func (m *ArithRequest) GetB() int32
func (*ArithRequest) GetUser ¶
func (a *ArithRequest) GetUser() string
GetUser implements the userRequest interface used by authentication.
func (*ArithRequest) ProtoMessage ¶
func (*ArithRequest) ProtoMessage()
func (*ArithRequest) Reset ¶
func (m *ArithRequest) Reset()
func (*ArithRequest) String ¶
func (m *ArithRequest) String() string
type ArithResponse ¶
type ArithResponse struct { C int32 `protobuf:"varint,1,opt,name=c" json:"c"` XXX_unrecognized []byte `json:"-"` }
func (*ArithResponse) GetC ¶
func (m *ArithResponse) GetC() int32
func (*ArithResponse) ProtoMessage ¶
func (*ArithResponse) ProtoMessage()
func (*ArithResponse) Reset ¶
func (m *ArithResponse) Reset()
func (*ArithResponse) String ¶
func (m *ArithResponse) String() string
type EchoRequest ¶
type EchoRequest struct { Msg string `protobuf:"bytes,1,opt,name=msg" json:"msg"` XXX_unrecognized []byte `json:"-"` }
func (*EchoRequest) GetMsg ¶
func (m *EchoRequest) GetMsg() string
func (*EchoRequest) GetUser ¶
func (e *EchoRequest) GetUser() string
GetUser implements the userRequest interface used by authentication.
func (*EchoRequest) Marshal ¶
func (m *EchoRequest) Marshal() (data []byte, err 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
type EchoResponse ¶
type EchoResponse struct { Msg string `protobuf:"bytes,1,opt,name=msg" json:"msg"` XXX_unrecognized []byte `json:"-"` }
func (*EchoResponse) GetMsg ¶
func (m *EchoResponse) GetMsg() string
func (*EchoResponse) Marshal ¶
func (m *EchoResponse) Marshal() (data []byte, err 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
Click to show internal directories.
Click to hide internal directories.