Documentation
¶
Index ¶
- Variables
- type DeleteReq
- func (*DeleteReq) Descriptor() ([]byte, []int)
- func (m *DeleteReq) GetKey() []byte
- func (m *DeleteReq) GetReturnPrevious() bool
- func (m *DeleteReq) Marshal() (dAtA []byte, err error)
- func (m *DeleteReq) MarshalTo(dAtA []byte) (int, error)
- func (*DeleteReq) ProtoMessage()
- func (m *DeleteReq) Reset()
- func (m *DeleteReq) Size() (n int)
- func (m *DeleteReq) String() string
- func (m *DeleteReq) Unmarshal(dAtA []byte) error
- func (m *DeleteReq) XXX_DiscardUnknown()
- func (m *DeleteReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteReq) XXX_Merge(src proto.Message)
- func (m *DeleteReq) XXX_Size() int
- func (m *DeleteReq) XXX_Unmarshal(b []byte) error
- type DeleteRes
- func (*DeleteRes) Descriptor() ([]byte, []int)
- func (m *DeleteRes) GetPreviousValue() []byte
- func (m *DeleteRes) Marshal() (dAtA []byte, err error)
- func (m *DeleteRes) MarshalTo(dAtA []byte) (int, error)
- func (*DeleteRes) ProtoMessage()
- func (m *DeleteRes) Reset()
- func (m *DeleteRes) Size() (n int)
- func (m *DeleteRes) String() string
- func (m *DeleteRes) Unmarshal(dAtA []byte) error
- func (m *DeleteRes) XXX_DiscardUnknown()
- func (m *DeleteRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteRes) XXX_Merge(src proto.Message)
- func (m *DeleteRes) XXX_Size() int
- func (m *DeleteRes) XXX_Unmarshal(b []byte) error
- type EmptyResponse
- func (*EmptyResponse) Descriptor() ([]byte, []int)
- func (m *EmptyResponse) Marshal() (dAtA []byte, err error)
- func (m *EmptyResponse) MarshalTo(dAtA []byte) (int, error)
- func (*EmptyResponse) ProtoMessage()
- func (m *EmptyResponse) Reset()
- func (m *EmptyResponse) Size() (n int)
- func (m *EmptyResponse) String() string
- func (m *EmptyResponse) Unmarshal(dAtA []byte) error
- func (m *EmptyResponse) XXX_DiscardUnknown()
- func (m *EmptyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EmptyResponse) XXX_Merge(src proto.Message)
- func (m *EmptyResponse) XXX_Size() int
- func (m *EmptyResponse) XXX_Unmarshal(b []byte) error
- type GetReq
- func (*GetReq) Descriptor() ([]byte, []int)
- func (m *GetReq) GetKey() []byte
- func (m *GetReq) Marshal() (dAtA []byte, err error)
- func (m *GetReq) MarshalTo(dAtA []byte) (int, error)
- func (*GetReq) ProtoMessage()
- func (m *GetReq) Reset()
- func (m *GetReq) Size() (n int)
- func (m *GetReq) String() string
- func (m *GetReq) Unmarshal(dAtA []byte) error
- func (m *GetReq) XXX_DiscardUnknown()
- func (m *GetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetReq) XXX_Merge(src proto.Message)
- func (m *GetReq) XXX_Size() int
- func (m *GetReq) XXX_Unmarshal(b []byte) error
- type GetRes
- func (*GetRes) Descriptor() ([]byte, []int)
- func (m *GetRes) GetValue() []byte
- func (m *GetRes) Marshal() (dAtA []byte, err error)
- func (m *GetRes) MarshalTo(dAtA []byte) (int, error)
- func (*GetRes) ProtoMessage()
- func (m *GetRes) Reset()
- func (m *GetRes) Size() (n int)
- func (m *GetRes) String() string
- func (m *GetRes) Unmarshal(dAtA []byte) error
- func (m *GetRes) XXX_DiscardUnknown()
- func (m *GetRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRes) XXX_Merge(src proto.Message)
- func (m *GetRes) XXX_Size() int
- func (m *GetRes) XXX_Unmarshal(b []byte) error
- type InternalRequest
- func (*InternalRequest) Descriptor() ([]byte, []int)
- func (m *InternalRequest) GetDeleteReq() *DeleteReq
- func (m *InternalRequest) GetGetReq() *GetReq
- func (m *InternalRequest) GetHeader() *RequestHeader
- func (m *InternalRequest) GetID() uint64
- func (m *InternalRequest) GetPutReq() *PutReq
- func (m *InternalRequest) GetRequest() isInternalRequest_Request
- func (m *InternalRequest) Marshal() (dAtA []byte, err error)
- func (m *InternalRequest) MarshalTo(dAtA []byte) (int, error)
- func (*InternalRequest) ProtoMessage()
- func (m *InternalRequest) Reset()
- func (m *InternalRequest) Size() (n int)
- func (m *InternalRequest) String() string
- func (m *InternalRequest) Unmarshal(dAtA []byte) error
- func (m *InternalRequest) XXX_DiscardUnknown()
- func (m *InternalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InternalRequest) XXX_Merge(src proto.Message)
- func (*InternalRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *InternalRequest) XXX_Size() int
- func (m *InternalRequest) XXX_Unmarshal(b []byte) error
- type InternalRequest_DeleteReq
- type InternalRequest_GetReq
- type InternalRequest_PutReq
- type InternalResponse
- func (*InternalResponse) Descriptor() ([]byte, []int)
- func (m *InternalResponse) GetDeleteRes() *DeleteRes
- func (m *InternalResponse) GetEmpty() *EmptyResponse
- func (m *InternalResponse) GetGetRes() *GetRes
- func (m *InternalResponse) GetHeader() *ResponseHeader
- func (m *InternalResponse) GetPutRes() *PutRes
- func (m *InternalResponse) GetResponse() isInternalResponse_Response
- func (m *InternalResponse) Marshal() (dAtA []byte, err error)
- func (m *InternalResponse) MarshalTo(dAtA []byte) (int, error)
- func (*InternalResponse) ProtoMessage()
- func (m *InternalResponse) Reset()
- func (m *InternalResponse) Size() (n int)
- func (m *InternalResponse) String() string
- func (m *InternalResponse) Unmarshal(dAtA []byte) error
- func (m *InternalResponse) XXX_DiscardUnknown()
- func (m *InternalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InternalResponse) XXX_Merge(src proto.Message)
- func (*InternalResponse) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *InternalResponse) XXX_Size() int
- func (m *InternalResponse) XXX_Unmarshal(b []byte) error
- type InternalResponse_DeleteRes
- type InternalResponse_Empty
- type InternalResponse_GetRes
- type InternalResponse_PutRes
- type PutReq
- func (*PutReq) Descriptor() ([]byte, []int)
- func (m *PutReq) GetKey() []byte
- func (m *PutReq) GetReturnPrevious() bool
- func (m *PutReq) GetValue() []byte
- func (m *PutReq) Marshal() (dAtA []byte, err error)
- func (m *PutReq) MarshalTo(dAtA []byte) (int, error)
- func (*PutReq) ProtoMessage()
- func (m *PutReq) Reset()
- func (m *PutReq) Size() (n int)
- func (m *PutReq) String() string
- func (m *PutReq) Unmarshal(dAtA []byte) error
- func (m *PutReq) XXX_DiscardUnknown()
- func (m *PutReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutReq) XXX_Merge(src proto.Message)
- func (m *PutReq) XXX_Size() int
- func (m *PutReq) XXX_Unmarshal(b []byte) error
- type PutRes
- func (*PutRes) Descriptor() ([]byte, []int)
- func (m *PutRes) GetPreviousValue() []byte
- func (m *PutRes) Marshal() (dAtA []byte, err error)
- func (m *PutRes) MarshalTo(dAtA []byte) (int, error)
- func (*PutRes) ProtoMessage()
- func (m *PutRes) Reset()
- func (m *PutRes) Size() (n int)
- func (m *PutRes) String() string
- func (m *PutRes) Unmarshal(dAtA []byte) error
- func (m *PutRes) XXX_DiscardUnknown()
- func (m *PutRes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PutRes) XXX_Merge(src proto.Message)
- func (m *PutRes) XXX_Size() int
- func (m *PutRes) XXX_Unmarshal(b []byte) error
- type RequestHeader
- func (*RequestHeader) Descriptor() ([]byte, []int)
- func (m *RequestHeader) GetID() uint64
- func (m *RequestHeader) Marshal() (dAtA []byte, err error)
- func (m *RequestHeader) MarshalTo(dAtA []byte) (int, error)
- func (*RequestHeader) ProtoMessage()
- func (m *RequestHeader) Reset()
- func (m *RequestHeader) Size() (n int)
- func (m *RequestHeader) String() string
- func (m *RequestHeader) Unmarshal(dAtA []byte) error
- func (m *RequestHeader) XXX_DiscardUnknown()
- func (m *RequestHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestHeader) XXX_Merge(src proto.Message)
- func (m *RequestHeader) XXX_Size() int
- func (m *RequestHeader) XXX_Unmarshal(b []byte) error
- type ResponseHeader
- func (*ResponseHeader) Descriptor() ([]byte, []int)
- func (m *ResponseHeader) GetError() string
- func (m *ResponseHeader) GetOk() bool
- func (m *ResponseHeader) Marshal() (dAtA []byte, err error)
- func (m *ResponseHeader) MarshalTo(dAtA []byte) (int, error)
- func (*ResponseHeader) ProtoMessage()
- func (m *ResponseHeader) Reset()
- func (m *ResponseHeader) Size() (n int)
- func (m *ResponseHeader) String() string
- func (m *ResponseHeader) Unmarshal(dAtA []byte) error
- func (m *ResponseHeader) XXX_DiscardUnknown()
- func (m *ResponseHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseHeader) XXX_Merge(src proto.Message)
- func (m *ResponseHeader) XXX_Size() int
- func (m *ResponseHeader) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthInternalRequest = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowInternalRequest = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type DeleteReq ¶
type DeleteReq struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` ReturnPrevious bool `protobuf:"varint,2,opt,name=returnPrevious,proto3" json:"returnPrevious,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteReq) Descriptor ¶
func (*DeleteReq) GetReturnPrevious ¶
func (*DeleteReq) ProtoMessage ¶
func (*DeleteReq) ProtoMessage()
func (*DeleteReq) XXX_DiscardUnknown ¶
func (m *DeleteReq) XXX_DiscardUnknown()
func (*DeleteReq) XXX_Marshal ¶
func (*DeleteReq) XXX_Unmarshal ¶
type DeleteRes ¶
type DeleteRes struct { PreviousValue []byte `protobuf:"bytes,2,opt,name=previousValue,proto3" json:"previousValue,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteRes) Descriptor ¶
func (*DeleteRes) GetPreviousValue ¶
func (*DeleteRes) ProtoMessage ¶
func (*DeleteRes) ProtoMessage()
func (*DeleteRes) XXX_DiscardUnknown ¶
func (m *DeleteRes) XXX_DiscardUnknown()
func (*DeleteRes) XXX_Marshal ¶
func (*DeleteRes) XXX_Unmarshal ¶
type EmptyResponse ¶
type EmptyResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*EmptyResponse) Descriptor ¶
func (*EmptyResponse) Descriptor() ([]byte, []int)
func (*EmptyResponse) Marshal ¶
func (m *EmptyResponse) Marshal() (dAtA []byte, err error)
func (*EmptyResponse) ProtoMessage ¶
func (*EmptyResponse) ProtoMessage()
func (*EmptyResponse) Reset ¶
func (m *EmptyResponse) Reset()
func (*EmptyResponse) Size ¶
func (m *EmptyResponse) Size() (n int)
func (*EmptyResponse) String ¶
func (m *EmptyResponse) String() string
func (*EmptyResponse) Unmarshal ¶
func (m *EmptyResponse) Unmarshal(dAtA []byte) error
func (*EmptyResponse) XXX_DiscardUnknown ¶
func (m *EmptyResponse) XXX_DiscardUnknown()
func (*EmptyResponse) XXX_Marshal ¶
func (m *EmptyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EmptyResponse) XXX_Merge ¶
func (m *EmptyResponse) XXX_Merge(src proto.Message)
func (*EmptyResponse) XXX_Size ¶
func (m *EmptyResponse) XXX_Size() int
func (*EmptyResponse) XXX_Unmarshal ¶
func (m *EmptyResponse) XXX_Unmarshal(b []byte) error
type GetReq ¶
type GetReq struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetReq) Descriptor ¶
func (*GetReq) ProtoMessage ¶
func (*GetReq) ProtoMessage()
func (*GetReq) XXX_DiscardUnknown ¶
func (m *GetReq) XXX_DiscardUnknown()
func (*GetReq) XXX_Marshal ¶
func (*GetReq) XXX_Unmarshal ¶
type GetRes ¶
type GetRes struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRes) Descriptor ¶
func (*GetRes) ProtoMessage ¶
func (*GetRes) ProtoMessage()
func (*GetRes) XXX_DiscardUnknown ¶
func (m *GetRes) XXX_DiscardUnknown()
func (*GetRes) XXX_Marshal ¶
func (*GetRes) XXX_Unmarshal ¶
type InternalRequest ¶
type InternalRequest struct { Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` ID uint64 `protobuf:"varint,2,opt,name=ID,proto3" json:"ID,omitempty"` // Types that are valid to be assigned to Request: // *InternalRequest_PutReq // *InternalRequest_GetReq // *InternalRequest_DeleteReq Request isInternalRequest_Request `protobuf_oneof:"request"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InternalRequest) Descriptor ¶
func (*InternalRequest) Descriptor() ([]byte, []int)
func (*InternalRequest) GetDeleteReq ¶
func (m *InternalRequest) GetDeleteReq() *DeleteReq
func (*InternalRequest) GetGetReq ¶
func (m *InternalRequest) GetGetReq() *GetReq
func (*InternalRequest) GetHeader ¶
func (m *InternalRequest) GetHeader() *RequestHeader
func (*InternalRequest) GetID ¶
func (m *InternalRequest) GetID() uint64
func (*InternalRequest) GetPutReq ¶
func (m *InternalRequest) GetPutReq() *PutReq
func (*InternalRequest) GetRequest ¶
func (m *InternalRequest) GetRequest() isInternalRequest_Request
func (*InternalRequest) Marshal ¶
func (m *InternalRequest) Marshal() (dAtA []byte, err error)
func (*InternalRequest) ProtoMessage ¶
func (*InternalRequest) ProtoMessage()
func (*InternalRequest) Reset ¶
func (m *InternalRequest) Reset()
func (*InternalRequest) Size ¶
func (m *InternalRequest) Size() (n int)
func (*InternalRequest) String ¶
func (m *InternalRequest) String() string
func (*InternalRequest) Unmarshal ¶
func (m *InternalRequest) Unmarshal(dAtA []byte) error
func (*InternalRequest) XXX_DiscardUnknown ¶
func (m *InternalRequest) XXX_DiscardUnknown()
func (*InternalRequest) XXX_Marshal ¶
func (m *InternalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InternalRequest) XXX_Merge ¶
func (m *InternalRequest) XXX_Merge(src proto.Message)
func (*InternalRequest) XXX_OneofFuncs ¶
func (*InternalRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*InternalRequest) XXX_Size ¶
func (m *InternalRequest) XXX_Size() int
func (*InternalRequest) XXX_Unmarshal ¶
func (m *InternalRequest) XXX_Unmarshal(b []byte) error
type InternalRequest_DeleteReq ¶
type InternalRequest_DeleteReq struct {
DeleteReq *DeleteReq `protobuf:"bytes,12,opt,name=deleteReq,proto3,oneof"`
}
func (*InternalRequest_DeleteReq) MarshalTo ¶
func (m *InternalRequest_DeleteReq) MarshalTo(dAtA []byte) (int, error)
func (*InternalRequest_DeleteReq) Size ¶
func (m *InternalRequest_DeleteReq) Size() (n int)
type InternalRequest_GetReq ¶
type InternalRequest_GetReq struct {
GetReq *GetReq `protobuf:"bytes,11,opt,name=getReq,proto3,oneof"`
}
func (*InternalRequest_GetReq) MarshalTo ¶
func (m *InternalRequest_GetReq) MarshalTo(dAtA []byte) (int, error)
func (*InternalRequest_GetReq) Size ¶
func (m *InternalRequest_GetReq) Size() (n int)
type InternalRequest_PutReq ¶
type InternalRequest_PutReq struct {
PutReq *PutReq `protobuf:"bytes,10,opt,name=putReq,proto3,oneof"`
}
func (*InternalRequest_PutReq) MarshalTo ¶
func (m *InternalRequest_PutReq) MarshalTo(dAtA []byte) (int, error)
func (*InternalRequest_PutReq) Size ¶
func (m *InternalRequest_PutReq) Size() (n int)
type InternalResponse ¶
type InternalResponse struct { Header *ResponseHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` // Types that are valid to be assigned to Response: // *InternalResponse_GetRes // *InternalResponse_PutRes // *InternalResponse_DeleteRes // *InternalResponse_Empty Response isInternalResponse_Response `protobuf_oneof:"response"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*InternalResponse) Descriptor ¶
func (*InternalResponse) Descriptor() ([]byte, []int)
func (*InternalResponse) GetDeleteRes ¶
func (m *InternalResponse) GetDeleteRes() *DeleteRes
func (*InternalResponse) GetEmpty ¶
func (m *InternalResponse) GetEmpty() *EmptyResponse
func (*InternalResponse) GetGetRes ¶
func (m *InternalResponse) GetGetRes() *GetRes
func (*InternalResponse) GetHeader ¶
func (m *InternalResponse) GetHeader() *ResponseHeader
func (*InternalResponse) GetPutRes ¶
func (m *InternalResponse) GetPutRes() *PutRes
func (*InternalResponse) GetResponse ¶
func (m *InternalResponse) GetResponse() isInternalResponse_Response
func (*InternalResponse) Marshal ¶
func (m *InternalResponse) Marshal() (dAtA []byte, err error)
func (*InternalResponse) ProtoMessage ¶
func (*InternalResponse) ProtoMessage()
func (*InternalResponse) Reset ¶
func (m *InternalResponse) Reset()
func (*InternalResponse) Size ¶
func (m *InternalResponse) Size() (n int)
func (*InternalResponse) String ¶
func (m *InternalResponse) String() string
func (*InternalResponse) Unmarshal ¶
func (m *InternalResponse) Unmarshal(dAtA []byte) error
func (*InternalResponse) XXX_DiscardUnknown ¶
func (m *InternalResponse) XXX_DiscardUnknown()
func (*InternalResponse) XXX_Marshal ¶
func (m *InternalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InternalResponse) XXX_Merge ¶
func (m *InternalResponse) XXX_Merge(src proto.Message)
func (*InternalResponse) XXX_OneofFuncs ¶
func (*InternalResponse) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*InternalResponse) XXX_Size ¶
func (m *InternalResponse) XXX_Size() int
func (*InternalResponse) XXX_Unmarshal ¶
func (m *InternalResponse) XXX_Unmarshal(b []byte) error
type InternalResponse_DeleteRes ¶
type InternalResponse_DeleteRes struct {
DeleteRes *DeleteRes `protobuf:"bytes,12,opt,name=deleteRes,proto3,oneof"`
}
func (*InternalResponse_DeleteRes) MarshalTo ¶
func (m *InternalResponse_DeleteRes) MarshalTo(dAtA []byte) (int, error)
func (*InternalResponse_DeleteRes) Size ¶
func (m *InternalResponse_DeleteRes) Size() (n int)
type InternalResponse_Empty ¶
type InternalResponse_Empty struct {
Empty *EmptyResponse `protobuf:"bytes,13,opt,name=empty,proto3,oneof"`
}
func (*InternalResponse_Empty) MarshalTo ¶
func (m *InternalResponse_Empty) MarshalTo(dAtA []byte) (int, error)
func (*InternalResponse_Empty) Size ¶
func (m *InternalResponse_Empty) Size() (n int)
type InternalResponse_GetRes ¶
type InternalResponse_GetRes struct {
GetRes *GetRes `protobuf:"bytes,10,opt,name=getRes,proto3,oneof"`
}
func (*InternalResponse_GetRes) MarshalTo ¶
func (m *InternalResponse_GetRes) MarshalTo(dAtA []byte) (int, error)
func (*InternalResponse_GetRes) Size ¶
func (m *InternalResponse_GetRes) Size() (n int)
type InternalResponse_PutRes ¶
type InternalResponse_PutRes struct {
PutRes *PutRes `protobuf:"bytes,11,opt,name=putRes,proto3,oneof"`
}
func (*InternalResponse_PutRes) MarshalTo ¶
func (m *InternalResponse_PutRes) MarshalTo(dAtA []byte) (int, error)
func (*InternalResponse_PutRes) Size ¶
func (m *InternalResponse_PutRes) Size() (n int)
type PutReq ¶
type PutReq struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` ReturnPrevious bool `protobuf:"varint,3,opt,name=returnPrevious,proto3" json:"returnPrevious,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutReq) Descriptor ¶
func (*PutReq) GetReturnPrevious ¶
func (*PutReq) ProtoMessage ¶
func (*PutReq) ProtoMessage()
func (*PutReq) XXX_DiscardUnknown ¶
func (m *PutReq) XXX_DiscardUnknown()
func (*PutReq) XXX_Marshal ¶
func (*PutReq) XXX_Unmarshal ¶
type PutRes ¶
type PutRes struct { PreviousValue []byte `protobuf:"bytes,2,opt,name=previousValue,proto3" json:"previousValue,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PutRes) Descriptor ¶
func (*PutRes) GetPreviousValue ¶
func (*PutRes) ProtoMessage ¶
func (*PutRes) ProtoMessage()
func (*PutRes) XXX_DiscardUnknown ¶
func (m *PutRes) XXX_DiscardUnknown()
func (*PutRes) XXX_Marshal ¶
func (*PutRes) XXX_Unmarshal ¶
type RequestHeader ¶
type RequestHeader struct { ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RequestHeader) Descriptor ¶
func (*RequestHeader) Descriptor() ([]byte, []int)
func (*RequestHeader) GetID ¶
func (m *RequestHeader) GetID() uint64
func (*RequestHeader) Marshal ¶
func (m *RequestHeader) Marshal() (dAtA []byte, err error)
func (*RequestHeader) ProtoMessage ¶
func (*RequestHeader) ProtoMessage()
func (*RequestHeader) Reset ¶
func (m *RequestHeader) Reset()
func (*RequestHeader) Size ¶
func (m *RequestHeader) Size() (n int)
func (*RequestHeader) String ¶
func (m *RequestHeader) String() string
func (*RequestHeader) Unmarshal ¶
func (m *RequestHeader) Unmarshal(dAtA []byte) error
func (*RequestHeader) XXX_DiscardUnknown ¶
func (m *RequestHeader) XXX_DiscardUnknown()
func (*RequestHeader) XXX_Marshal ¶
func (m *RequestHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestHeader) XXX_Merge ¶
func (m *RequestHeader) XXX_Merge(src proto.Message)
func (*RequestHeader) XXX_Size ¶
func (m *RequestHeader) XXX_Size() int
func (*RequestHeader) XXX_Unmarshal ¶
func (m *RequestHeader) XXX_Unmarshal(b []byte) error
type ResponseHeader ¶
type ResponseHeader struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResponseHeader) Descriptor ¶
func (*ResponseHeader) Descriptor() ([]byte, []int)
func (*ResponseHeader) GetError ¶
func (m *ResponseHeader) GetError() string
func (*ResponseHeader) GetOk ¶
func (m *ResponseHeader) GetOk() bool
func (*ResponseHeader) Marshal ¶
func (m *ResponseHeader) Marshal() (dAtA []byte, err error)
func (*ResponseHeader) ProtoMessage ¶
func (*ResponseHeader) ProtoMessage()
func (*ResponseHeader) Reset ¶
func (m *ResponseHeader) Reset()
func (*ResponseHeader) Size ¶
func (m *ResponseHeader) Size() (n int)
func (*ResponseHeader) String ¶
func (m *ResponseHeader) String() string
func (*ResponseHeader) Unmarshal ¶
func (m *ResponseHeader) Unmarshal(dAtA []byte) error
func (*ResponseHeader) XXX_DiscardUnknown ¶
func (m *ResponseHeader) XXX_DiscardUnknown()
func (*ResponseHeader) XXX_Marshal ¶
func (m *ResponseHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseHeader) XXX_Merge ¶
func (m *ResponseHeader) XXX_Merge(src proto.Message)
func (*ResponseHeader) XXX_Size ¶
func (m *ResponseHeader) XXX_Size() int
func (*ResponseHeader) XXX_Unmarshal ¶
func (m *ResponseHeader) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.