Documentation ¶
Overview ¶
Package protos is a generated protocol buffer package.
It is generated from these files:
cluster.proto
It has these top-level messages:
TestRequest TestResponse
Index ¶
- Variables
- type TestRequest
- func (*TestRequest) Descriptor() ([]byte, []int)
- func (m *TestRequest) GetMsg() string
- func (m *TestRequest) Marshal() (dAtA []byte, err error)
- func (m *TestRequest) MarshalTo(dAtA []byte) (int, error)
- func (*TestRequest) ProtoMessage()
- func (m *TestRequest) Reset()
- func (m *TestRequest) Size() (n int)
- func (m *TestRequest) String() string
- func (m *TestRequest) Unmarshal(dAtA []byte) error
- type TestResponse
- func (*TestResponse) Descriptor() ([]byte, []int)
- func (m *TestResponse) GetCode() int32
- func (m *TestResponse) GetMsg() string
- func (m *TestResponse) Marshal() (dAtA []byte, err error)
- func (m *TestResponse) MarshalTo(dAtA []byte) (int, error)
- func (*TestResponse) ProtoMessage()
- func (m *TestResponse) Reset()
- func (m *TestResponse) Size() (n int)
- func (m *TestResponse) String() string
- func (m *TestResponse) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthCluster = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowCluster = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type TestRequest ¶
type TestRequest struct {
Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
}
TestRequest message to be sent using rpc
func (*TestRequest) Descriptor ¶
func (*TestRequest) Descriptor() ([]byte, []int)
func (*TestRequest) GetMsg ¶
func (m *TestRequest) GetMsg() string
func (*TestRequest) Marshal ¶
func (m *TestRequest) Marshal() (dAtA []byte, err error)
func (*TestRequest) ProtoMessage ¶
func (*TestRequest) ProtoMessage()
func (*TestRequest) Reset ¶
func (m *TestRequest) Reset()
func (*TestRequest) Size ¶
func (m *TestRequest) Size() (n int)
func (*TestRequest) String ¶
func (m *TestRequest) String() string
func (*TestRequest) Unmarshal ¶
func (m *TestRequest) Unmarshal(dAtA []byte) error
type TestResponse ¶
type TestResponse struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` }
TestResponse is the rpc response
func (*TestResponse) Descriptor ¶
func (*TestResponse) Descriptor() ([]byte, []int)
func (*TestResponse) GetCode ¶
func (m *TestResponse) GetCode() int32
func (*TestResponse) GetMsg ¶
func (m *TestResponse) GetMsg() string
func (*TestResponse) Marshal ¶
func (m *TestResponse) Marshal() (dAtA []byte, err error)
func (*TestResponse) ProtoMessage ¶
func (*TestResponse) ProtoMessage()
func (*TestResponse) Reset ¶
func (m *TestResponse) Reset()
func (*TestResponse) Size ¶
func (m *TestResponse) Size() (n int)
func (*TestResponse) String ¶
func (m *TestResponse) String() string
func (*TestResponse) Unmarshal ¶
func (m *TestResponse) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.