dbs

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_lib_proto_dbs_db_proto protoreflect.FileDescriptor
View Source
var FlyDBService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "dbs.FlyDBService",
	HandlerType: (*FlyDBServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _FlyDBService_Get_Handler,
		},
		{
			MethodName: "Put",
			Handler:    _FlyDBService_Put_Handler,
		},
		{
			MethodName: "Del",
			Handler:    _FlyDBService_Del_Handler,
		},
		{
			MethodName: "Type",
			Handler:    _FlyDBService_Type_Handler,
		},
		{
			MethodName: "StrLen",
			Handler:    _FlyDBService_StrLen_Handler,
		},
		{
			MethodName: "GetSet",
			Handler:    _FlyDBService_GetSet_Handler,
		},
		{
			MethodName: "Append",
			Handler:    _FlyDBService_Append_Handler,
		},
		{
			MethodName: "Incr",
			Handler:    _FlyDBService_Incr_Handler,
		},
		{
			MethodName: "IncrBy",
			Handler:    _FlyDBService_IncrBy_Handler,
		},
		{
			MethodName: "IncrByFloat",
			Handler:    _FlyDBService_IncrByFloat_Handler,
		},
		{
			MethodName: "Decr",
			Handler:    _FlyDBService_Decr_Handler,
		},
		{
			MethodName: "DecrBy",
			Handler:    _FlyDBService_DecrBy_Handler,
		},
		{
			MethodName: "Exists",
			Handler:    _FlyDBService_Exists_Handler,
		},
		{
			MethodName: "Expire",
			Handler:    _FlyDBService_Expire_Handler,
		},
		{
			MethodName: "Persist",
			Handler:    _FlyDBService_Persist_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "lib/proto/dbs/db.proto",
}

FlyDBService_ServiceDesc is the grpc.ServiceDesc for FlyDBService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterFlyDBServiceServer

func RegisterFlyDBServiceServer(s grpc.ServiceRegistrar, srv FlyDBServiceServer)

Types

type AppendRequest added in v1.0.8

type AppendRequest struct {
	Key    string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value  string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Expire int64  `protobuf:"varint,3,opt,name=expire,proto3" json:"expire,omitempty"`
	// contains filtered or unexported fields
}

func (*AppendRequest) Descriptor deprecated added in v1.0.8

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

Deprecated: Use AppendRequest.ProtoReflect.Descriptor instead.

func (*AppendRequest) GetExpire added in v1.0.8

func (x *AppendRequest) GetExpire() int64

func (*AppendRequest) GetKey added in v1.0.8

func (x *AppendRequest) GetKey() string

func (*AppendRequest) GetValue added in v1.0.8

func (x *AppendRequest) GetValue() string

func (*AppendRequest) ProtoMessage added in v1.0.8

func (*AppendRequest) ProtoMessage()

func (*AppendRequest) ProtoReflect added in v1.0.8

func (x *AppendRequest) ProtoReflect() protoreflect.Message

func (*AppendRequest) Reset added in v1.0.8

func (x *AppendRequest) Reset()

func (*AppendRequest) String added in v1.0.8

func (x *AppendRequest) String() string

type AppendResponse added in v1.0.8

type AppendResponse struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*AppendResponse) Descriptor deprecated added in v1.0.8

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

Deprecated: Use AppendResponse.ProtoReflect.Descriptor instead.

func (*AppendResponse) GetOk added in v1.0.8

func (x *AppendResponse) GetOk() bool

func (*AppendResponse) ProtoMessage added in v1.0.8

func (*AppendResponse) ProtoMessage()

func (*AppendResponse) ProtoReflect added in v1.0.8

func (x *AppendResponse) ProtoReflect() protoreflect.Message

func (*AppendResponse) Reset added in v1.0.8

func (x *AppendResponse) Reset()

func (*AppendResponse) String added in v1.0.8

func (x *AppendResponse) String() string

type DecrByRequest added in v1.0.8

type DecrByRequest struct {
	Key    string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Amount int32  `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Expire int64  `protobuf:"varint,3,opt,name=expire,proto3" json:"expire,omitempty"`
	// contains filtered or unexported fields
}

func (*DecrByRequest) Descriptor deprecated added in v1.0.8

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

Deprecated: Use DecrByRequest.ProtoReflect.Descriptor instead.

func (*DecrByRequest) GetAmount added in v1.0.8

func (x *DecrByRequest) GetAmount() int32

func (*DecrByRequest) GetExpire added in v1.0.8

func (x *DecrByRequest) GetExpire() int64

func (*DecrByRequest) GetKey added in v1.0.8

func (x *DecrByRequest) GetKey() string

func (*DecrByRequest) ProtoMessage added in v1.0.8

func (*DecrByRequest) ProtoMessage()

func (*DecrByRequest) ProtoReflect added in v1.0.8

func (x *DecrByRequest) ProtoReflect() protoreflect.Message

func (*DecrByRequest) Reset added in v1.0.8

func (x *DecrByRequest) Reset()

func (*DecrByRequest) String added in v1.0.8

func (x *DecrByRequest) String() string

type DecrByResponse added in v1.0.8

type DecrByResponse struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*DecrByResponse) Descriptor deprecated added in v1.0.8

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

Deprecated: Use DecrByResponse.ProtoReflect.Descriptor instead.

func (*DecrByResponse) GetOk added in v1.0.8

func (x *DecrByResponse) GetOk() bool

func (*DecrByResponse) ProtoMessage added in v1.0.8

func (*DecrByResponse) ProtoMessage()

func (*DecrByResponse) ProtoReflect added in v1.0.8

func (x *DecrByResponse) ProtoReflect() protoreflect.Message

func (*DecrByResponse) Reset added in v1.0.8

func (x *DecrByResponse) Reset()

func (*DecrByResponse) String added in v1.0.8

func (x *DecrByResponse) String() string

type DecrRequest added in v1.0.8

type DecrRequest struct {
	Key    string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Expire int64  `protobuf:"varint,2,opt,name=expire,proto3" json:"expire,omitempty"`
	// contains filtered or unexported fields
}

func (*DecrRequest) Descriptor deprecated added in v1.0.8

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

Deprecated: Use DecrRequest.ProtoReflect.Descriptor instead.

func (*DecrRequest) GetExpire added in v1.0.8

func (x *DecrRequest) GetExpire() int64

func (*DecrRequest) GetKey added in v1.0.8

func (x *DecrRequest) GetKey() string

func (*DecrRequest) ProtoMessage added in v1.0.8

func (*DecrRequest) ProtoMessage()

func (*DecrRequest) ProtoReflect added in v1.0.8

func (x *DecrRequest) ProtoReflect() protoreflect.Message

func (*DecrRequest) Reset added in v1.0.8

func (x *DecrRequest) Reset()

func (*DecrRequest) String added in v1.0.8

func (x *DecrRequest) String() string

type DecrResponse added in v1.0.8

type DecrResponse struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*DecrResponse) Descriptor deprecated added in v1.0.8

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

Deprecated: Use DecrResponse.ProtoReflect.Descriptor instead.

func (*DecrResponse) GetOk added in v1.0.8

func (x *DecrResponse) GetOk() bool

func (*DecrResponse) ProtoMessage added in v1.0.8

func (*DecrResponse) ProtoMessage()

func (*DecrResponse) ProtoReflect added in v1.0.8

func (x *DecrResponse) ProtoReflect() protoreflect.Message

func (*DecrResponse) Reset added in v1.0.8

func (x *DecrResponse) Reset()

func (*DecrResponse) String added in v1.0.8

func (x *DecrResponse) String() string

type DelRequest

type DelRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*DelRequest) Descriptor deprecated

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

Deprecated: Use DelRequest.ProtoReflect.Descriptor instead.

func (*DelRequest) GetKey

func (x *DelRequest) GetKey() string

func (*DelRequest) ProtoMessage

func (*DelRequest) ProtoMessage()

func (*DelRequest) ProtoReflect

func (x *DelRequest) ProtoReflect() protoreflect.Message

func (*DelRequest) Reset

func (x *DelRequest) Reset()

func (*DelRequest) String

func (x *DelRequest) String() string

type DelResponse

type DelResponse struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*DelResponse) Descriptor deprecated

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

Deprecated: Use DelResponse.ProtoReflect.Descriptor instead.

func (*DelResponse) GetOk

func (x *DelResponse) GetOk() bool

func (*DelResponse) ProtoMessage

func (*DelResponse) ProtoMessage()

func (*DelResponse) ProtoReflect

func (x *DelResponse) ProtoReflect() protoreflect.Message

func (*DelResponse) Reset

func (x *DelResponse) Reset()

func (*DelResponse) String

func (x *DelResponse) String() string

type ExistsRequest added in v1.0.8

type ExistsRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*ExistsRequest) Descriptor deprecated added in v1.0.8

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

Deprecated: Use ExistsRequest.ProtoReflect.Descriptor instead.

func (*ExistsRequest) GetKey added in v1.0.8

func (x *ExistsRequest) GetKey() string

func (*ExistsRequest) ProtoMessage added in v1.0.8

func (*ExistsRequest) ProtoMessage()

func (*ExistsRequest) ProtoReflect added in v1.0.8

func (x *ExistsRequest) ProtoReflect() protoreflect.Message

func (*ExistsRequest) Reset added in v1.0.8

func (x *ExistsRequest) Reset()

func (*ExistsRequest) String added in v1.0.8

func (x *ExistsRequest) String() string

type ExistsResponse added in v1.0.8

type ExistsResponse struct {
	Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
	// contains filtered or unexported fields
}

func (*ExistsResponse) Descriptor deprecated added in v1.0.8

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

Deprecated: Use ExistsResponse.ProtoReflect.Descriptor instead.

func (*ExistsResponse) GetExists added in v1.0.8

func (x *ExistsResponse) GetExists() bool

func (*ExistsResponse) ProtoMessage added in v1.0.8

func (*ExistsResponse) ProtoMessage()

func (*ExistsResponse) ProtoReflect added in v1.0.8

func (x *ExistsResponse) ProtoReflect() protoreflect.Message

func (*ExistsResponse) Reset added in v1.0.8

func (x *ExistsResponse) Reset()

func (*ExistsResponse) String added in v1.0.8

func (x *ExistsResponse) String() string

type ExpireRequest added in v1.0.8

type ExpireRequest struct {
	Key    string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Expire int64  `protobuf:"varint,2,opt,name=expire,proto3" json:"expire,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpireRequest) Descriptor deprecated added in v1.0.8

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

Deprecated: Use ExpireRequest.ProtoReflect.Descriptor instead.

func (*ExpireRequest) GetExpire added in v1.0.8

func (x *ExpireRequest) GetExpire() int64

func (*ExpireRequest) GetKey added in v1.0.8

func (x *ExpireRequest) GetKey() string

func (*ExpireRequest) ProtoMessage added in v1.0.8

func (*ExpireRequest) ProtoMessage()

func (*ExpireRequest) ProtoReflect added in v1.0.8

func (x *ExpireRequest) ProtoReflect() protoreflect.Message

func (*ExpireRequest) Reset added in v1.0.8

func (x *ExpireRequest) Reset()

func (*ExpireRequest) String added in v1.0.8

func (x *ExpireRequest) String() string

type ExpireResponse added in v1.0.8

type ExpireResponse struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*ExpireResponse) Descriptor deprecated added in v1.0.8

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

Deprecated: Use ExpireResponse.ProtoReflect.Descriptor instead.

func (*ExpireResponse) GetOk added in v1.0.8

func (x *ExpireResponse) GetOk() bool

func (*ExpireResponse) ProtoMessage added in v1.0.8

func (*ExpireResponse) ProtoMessage()

func (*ExpireResponse) ProtoReflect added in v1.0.8

func (x *ExpireResponse) ProtoReflect() protoreflect.Message

func (*ExpireResponse) Reset added in v1.0.8

func (x *ExpireResponse) Reset()

func (*ExpireResponse) String added in v1.0.8

func (x *ExpireResponse) String() string

type FlyDBServiceClient

FlyDBServiceClient is the client API for FlyDBService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type FlyDBServiceServer

FlyDBServiceServer is the server API for FlyDBService service. All implementations must embed UnimplementedFlyDBServiceServer for forward compatibility

type GetRequest

type GetRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRequest) Descriptor deprecated

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

Deprecated: Use GetRequest.ProtoReflect.Descriptor instead.

func (*GetRequest) GetKey

func (x *GetRequest) GetKey() string

func (*GetRequest) ProtoMessage

func (*GetRequest) ProtoMessage()

func (*GetRequest) ProtoReflect

func (x *GetRequest) ProtoReflect() protoreflect.Message

func (*GetRequest) Reset

func (x *GetRequest) Reset()

func (*GetRequest) String

func (x *GetRequest) String() string

type GetResponse

type GetResponse struct {

	// Types that are assignable to Value:
	//	*GetResponse_StringValue
	//	*GetResponse_Int32Value
	//	*GetResponse_Int64Value
	//	*GetResponse_Float32Value
	//	*GetResponse_Float64Value
	//	*GetResponse_BoolValue
	//	*GetResponse_BytesValue
	Value isGetResponse_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*GetResponse) Descriptor deprecated

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

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetBoolValue added in v1.0.7

func (x *GetResponse) GetBoolValue() bool

func (*GetResponse) GetBytesValue added in v1.0.7

func (x *GetResponse) GetBytesValue() []byte

func (*GetResponse) GetFloat32Value added in v1.0.7

func (x *GetResponse) GetFloat32Value() float32

func (*GetResponse) GetFloat64Value added in v1.0.7

func (x *GetResponse) GetFloat64Value() float64

func (*GetResponse) GetInt32Value added in v1.0.7

func (x *GetResponse) GetInt32Value() int32

func (*GetResponse) GetInt64Value added in v1.0.7

func (x *GetResponse) GetInt64Value() int64

func (*GetResponse) GetStringValue added in v1.0.7

func (x *GetResponse) GetStringValue() string

func (*GetResponse) GetValue

func (m *GetResponse) GetValue() isGetResponse_Value

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect

func (x *GetResponse) ProtoReflect() protoreflect.Message

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) String

func (x *GetResponse) String() string

type GetResponse_BoolValue added in v1.0.7

type GetResponse_BoolValue struct {
	BoolValue bool `protobuf:"varint,6,opt,name=BoolValue,proto3,oneof"`
}

type GetResponse_BytesValue added in v1.0.7

type GetResponse_BytesValue struct {
	BytesValue []byte `protobuf:"bytes,7,opt,name=BytesValue,proto3,oneof"`
}

type GetResponse_Float32Value added in v1.0.7

type GetResponse_Float32Value struct {
	Float32Value float32 `protobuf:"fixed32,4,opt,name=Float32Value,proto3,oneof"`
}

type GetResponse_Float64Value added in v1.0.7

type GetResponse_Float64Value struct {
	Float64Value float64 `protobuf:"fixed64,5,opt,name=Float64Value,proto3,oneof"`
}

type GetResponse_Int32Value added in v1.0.7

type GetResponse_Int32Value struct {
	Int32Value int32 `protobuf:"varint,2,opt,name=Int32Value,proto3,oneof"`
}

type GetResponse_Int64Value added in v1.0.7

type GetResponse_Int64Value struct {
	Int64Value int64 `protobuf:"varint,3,opt,name=Int64Value,proto3,oneof"`
}

type GetResponse_StringValue added in v1.0.7

type GetResponse_StringValue struct {
	StringValue string `protobuf:"bytes,1,opt,name=StringValue,proto3,oneof"`
}

type GetSetRequest added in v1.0.8

type GetSetRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Types that are assignable to Value:
	//	*GetSetRequest_StringValue
	//	*GetSetRequest_Int32Value
	//	*GetSetRequest_Int64Value
	//	*GetSetRequest_Float32Value
	//	*GetSetRequest_Float64Value
	//	*GetSetRequest_BoolValue
	//	*GetSetRequest_BytesValue
	Value  isGetSetRequest_Value `protobuf_oneof:"value"`
	Expire int64                 `protobuf:"varint,9,opt,name=expire,proto3" json:"expire,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSetRequest) Descriptor deprecated added in v1.0.8

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

Deprecated: Use GetSetRequest.ProtoReflect.Descriptor instead.

func (*GetSetRequest) GetBoolValue added in v1.0.8

func (x *GetSetRequest) GetBoolValue() bool

func (*GetSetRequest) GetBytesValue added in v1.0.8

func (x *GetSetRequest) GetBytesValue() []byte

func (*GetSetRequest) GetExpire added in v1.0.8

func (x *GetSetRequest) GetExpire() int64

func (*GetSetRequest) GetFloat32Value added in v1.0.8

func (x *GetSetRequest) GetFloat32Value() float32

func (*GetSetRequest) GetFloat64Value added in v1.0.8

func (x *GetSetRequest) GetFloat64Value() float64

func (*GetSetRequest) GetInt32Value added in v1.0.8

func (x *GetSetRequest) GetInt32Value() int32

func (*GetSetRequest) GetInt64Value added in v1.0.8

func (x *GetSetRequest) GetInt64Value() int64

func (*GetSetRequest) GetKey added in v1.0.8

func (x *GetSetRequest) GetKey() string

func (*GetSetRequest) GetStringValue added in v1.0.8

func (x *GetSetRequest) GetStringValue() string

func (*GetSetRequest) GetValue added in v1.0.8

func (m *GetSetRequest) GetValue() isGetSetRequest_Value

func (*GetSetRequest) ProtoMessage added in v1.0.8

func (*GetSetRequest) ProtoMessage()

func (*GetSetRequest) ProtoReflect added in v1.0.8

func (x *GetSetRequest) ProtoReflect() protoreflect.Message

func (*GetSetRequest) Reset added in v1.0.8

func (x *GetSetRequest) Reset()

func (*GetSetRequest) String added in v1.0.8

func (x *GetSetRequest) String() string

type GetSetRequest_BoolValue added in v1.0.8

type GetSetRequest_BoolValue struct {
	BoolValue bool `protobuf:"varint,7,opt,name=BoolValue,proto3,oneof"`
}

type GetSetRequest_BytesValue added in v1.0.8

type GetSetRequest_BytesValue struct {
	BytesValue []byte `protobuf:"bytes,8,opt,name=BytesValue,proto3,oneof"`
}

type GetSetRequest_Float32Value added in v1.0.8

type GetSetRequest_Float32Value struct {
	Float32Value float32 `protobuf:"fixed32,5,opt,name=Float32Value,proto3,oneof"`
}

type GetSetRequest_Float64Value added in v1.0.8

type GetSetRequest_Float64Value struct {
	Float64Value float64 `protobuf:"fixed64,6,opt,name=Float64Value,proto3,oneof"`
}

type GetSetRequest_Int32Value added in v1.0.8

type GetSetRequest_Int32Value struct {
	Int32Value int32 `protobuf:"varint,3,opt,name=Int32Value,proto3,oneof"`
}

type GetSetRequest_Int64Value added in v1.0.8

type GetSetRequest_Int64Value struct {
	Int64Value int64 `protobuf:"varint,4,opt,name=Int64Value,proto3,oneof"`
}

type GetSetRequest_StringValue added in v1.0.8

type GetSetRequest_StringValue struct {
	StringValue string `protobuf:"bytes,2,opt,name=StringValue,proto3,oneof"`
}

type GetSetResponse added in v1.0.8

type GetSetResponse struct {

	// Types that are assignable to Value:
	//	*GetSetResponse_StringValue
	//	*GetSetResponse_Int32Value
	//	*GetSetResponse_Int64Value
	//	*GetSetResponse_Float32Value
	//	*GetSetResponse_Float64Value
	//	*GetSetResponse_BoolValue
	//	*GetSetResponse_BytesValue
	Value isGetSetResponse_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*GetSetResponse) Descriptor deprecated added in v1.0.8

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

Deprecated: Use GetSetResponse.ProtoReflect.Descriptor instead.

func (*GetSetResponse) GetBoolValue added in v1.0.8

func (x *GetSetResponse) GetBoolValue() bool

func (*GetSetResponse) GetBytesValue added in v1.0.8

func (x *GetSetResponse) GetBytesValue() []byte

func (*GetSetResponse) GetFloat32Value added in v1.0.8

func (x *GetSetResponse) GetFloat32Value() float32

func (*GetSetResponse) GetFloat64Value added in v1.0.8

func (x *GetSetResponse) GetFloat64Value() float64

func (*GetSetResponse) GetInt32Value added in v1.0.8

func (x *GetSetResponse) GetInt32Value() int32

func (*GetSetResponse) GetInt64Value added in v1.0.8

func (x *GetSetResponse) GetInt64Value() int64

func (*GetSetResponse) GetStringValue added in v1.0.8

func (x *GetSetResponse) GetStringValue() string

func (*GetSetResponse) GetValue added in v1.0.8

func (m *GetSetResponse) GetValue() isGetSetResponse_Value

func (*GetSetResponse) ProtoMessage added in v1.0.8

func (*GetSetResponse) ProtoMessage()

func (*GetSetResponse) ProtoReflect added in v1.0.8

func (x *GetSetResponse) ProtoReflect() protoreflect.Message

func (*GetSetResponse) Reset added in v1.0.8

func (x *GetSetResponse) Reset()

func (*GetSetResponse) String added in v1.0.8

func (x *GetSetResponse) String() string

type GetSetResponse_BoolValue added in v1.0.8

type GetSetResponse_BoolValue struct {
	BoolValue bool `protobuf:"varint,6,opt,name=BoolValue,proto3,oneof"`
}

type GetSetResponse_BytesValue added in v1.0.8

type GetSetResponse_BytesValue struct {
	BytesValue []byte `protobuf:"bytes,7,opt,name=BytesValue,proto3,oneof"`
}

type GetSetResponse_Float32Value added in v1.0.8

type GetSetResponse_Float32Value struct {
	Float32Value float32 `protobuf:"fixed32,4,opt,name=Float32Value,proto3,oneof"`
}

type GetSetResponse_Float64Value added in v1.0.8

type GetSetResponse_Float64Value struct {
	Float64Value float64 `protobuf:"fixed64,5,opt,name=Float64Value,proto3,oneof"`
}

type GetSetResponse_Int32Value added in v1.0.8

type GetSetResponse_Int32Value struct {
	Int32Value int32 `protobuf:"varint,2,opt,name=Int32Value,proto3,oneof"`
}

type GetSetResponse_Int64Value added in v1.0.8

type GetSetResponse_Int64Value struct {
	Int64Value int64 `protobuf:"varint,3,opt,name=Int64Value,proto3,oneof"`
}

type GetSetResponse_StringValue added in v1.0.8

type GetSetResponse_StringValue struct {
	StringValue string `protobuf:"bytes,1,opt,name=StringValue,proto3,oneof"`
}

type IncrByFloatRequest added in v1.0.8

type IncrByFloatRequest struct {
	Key    string  `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Amount float64 `protobuf:"fixed64,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Expire int64   `protobuf:"varint,3,opt,name=expire,proto3" json:"expire,omitempty"`
	// contains filtered or unexported fields
}

func (*IncrByFloatRequest) Descriptor deprecated added in v1.0.8

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

Deprecated: Use IncrByFloatRequest.ProtoReflect.Descriptor instead.

func (*IncrByFloatRequest) GetAmount added in v1.0.8

func (x *IncrByFloatRequest) GetAmount() float64

func (*IncrByFloatRequest) GetExpire added in v1.0.8

func (x *IncrByFloatRequest) GetExpire() int64

func (*IncrByFloatRequest) GetKey added in v1.0.8

func (x *IncrByFloatRequest) GetKey() string

func (*IncrByFloatRequest) ProtoMessage added in v1.0.8

func (*IncrByFloatRequest) ProtoMessage()

func (*IncrByFloatRequest) ProtoReflect added in v1.0.8

func (x *IncrByFloatRequest) ProtoReflect() protoreflect.Message

func (*IncrByFloatRequest) Reset added in v1.0.8

func (x *IncrByFloatRequest) Reset()

func (*IncrByFloatRequest) String added in v1.0.8

func (x *IncrByFloatRequest) String() string

type IncrByFloatResponse added in v1.0.8

type IncrByFloatResponse struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*IncrByFloatResponse) Descriptor deprecated added in v1.0.8

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

Deprecated: Use IncrByFloatResponse.ProtoReflect.Descriptor instead.

func (*IncrByFloatResponse) GetOk added in v1.0.8

func (x *IncrByFloatResponse) GetOk() bool

func (*IncrByFloatResponse) ProtoMessage added in v1.0.8

func (*IncrByFloatResponse) ProtoMessage()

func (*IncrByFloatResponse) ProtoReflect added in v1.0.8

func (x *IncrByFloatResponse) ProtoReflect() protoreflect.Message

func (*IncrByFloatResponse) Reset added in v1.0.8

func (x *IncrByFloatResponse) Reset()

func (*IncrByFloatResponse) String added in v1.0.8

func (x *IncrByFloatResponse) String() string

type IncrByRequest added in v1.0.8

type IncrByRequest struct {
	Key    string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Amount int32  `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Expire int64  `protobuf:"varint,3,opt,name=expire,proto3" json:"expire,omitempty"`
	// contains filtered or unexported fields
}

func (*IncrByRequest) Descriptor deprecated added in v1.0.8

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

Deprecated: Use IncrByRequest.ProtoReflect.Descriptor instead.

func (*IncrByRequest) GetAmount added in v1.0.8

func (x *IncrByRequest) GetAmount() int32

func (*IncrByRequest) GetExpire added in v1.0.8

func (x *IncrByRequest) GetExpire() int64

func (*IncrByRequest) GetKey added in v1.0.8

func (x *IncrByRequest) GetKey() string

func (*IncrByRequest) ProtoMessage added in v1.0.8

func (*IncrByRequest) ProtoMessage()

func (*IncrByRequest) ProtoReflect added in v1.0.8

func (x *IncrByRequest) ProtoReflect() protoreflect.Message

func (*IncrByRequest) Reset added in v1.0.8

func (x *IncrByRequest) Reset()

func (*IncrByRequest) String added in v1.0.8

func (x *IncrByRequest) String() string

type IncrByResponse added in v1.0.8

type IncrByResponse struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*IncrByResponse) Descriptor deprecated added in v1.0.8

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

Deprecated: Use IncrByResponse.ProtoReflect.Descriptor instead.

func (*IncrByResponse) GetOk added in v1.0.8

func (x *IncrByResponse) GetOk() bool

func (*IncrByResponse) ProtoMessage added in v1.0.8

func (*IncrByResponse) ProtoMessage()

func (*IncrByResponse) ProtoReflect added in v1.0.8

func (x *IncrByResponse) ProtoReflect() protoreflect.Message

func (*IncrByResponse) Reset added in v1.0.8

func (x *IncrByResponse) Reset()

func (*IncrByResponse) String added in v1.0.8

func (x *IncrByResponse) String() string

type IncrRequest added in v1.0.8

type IncrRequest struct {
	Key    string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Expire int64  `protobuf:"varint,2,opt,name=expire,proto3" json:"expire,omitempty"`
	// contains filtered or unexported fields
}

func (*IncrRequest) Descriptor deprecated added in v1.0.8

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

Deprecated: Use IncrRequest.ProtoReflect.Descriptor instead.

func (*IncrRequest) GetExpire added in v1.0.8

func (x *IncrRequest) GetExpire() int64

func (*IncrRequest) GetKey added in v1.0.8

func (x *IncrRequest) GetKey() string

func (*IncrRequest) ProtoMessage added in v1.0.8

func (*IncrRequest) ProtoMessage()

func (*IncrRequest) ProtoReflect added in v1.0.8

func (x *IncrRequest) ProtoReflect() protoreflect.Message

func (*IncrRequest) Reset added in v1.0.8

func (x *IncrRequest) Reset()

func (*IncrRequest) String added in v1.0.8

func (x *IncrRequest) String() string

type IncrResponse added in v1.0.8

type IncrResponse struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*IncrResponse) Descriptor deprecated added in v1.0.8

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

Deprecated: Use IncrResponse.ProtoReflect.Descriptor instead.

func (*IncrResponse) GetOk added in v1.0.8

func (x *IncrResponse) GetOk() bool

func (*IncrResponse) ProtoMessage added in v1.0.8

func (*IncrResponse) ProtoMessage()

func (*IncrResponse) ProtoReflect added in v1.0.8

func (x *IncrResponse) ProtoReflect() protoreflect.Message

func (*IncrResponse) Reset added in v1.0.8

func (x *IncrResponse) Reset()

func (*IncrResponse) String added in v1.0.8

func (x *IncrResponse) String() string

type PersistRequest added in v1.0.8

type PersistRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*PersistRequest) Descriptor deprecated added in v1.0.8

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

Deprecated: Use PersistRequest.ProtoReflect.Descriptor instead.

func (*PersistRequest) GetKey added in v1.0.8

func (x *PersistRequest) GetKey() string

func (*PersistRequest) ProtoMessage added in v1.0.8

func (*PersistRequest) ProtoMessage()

func (*PersistRequest) ProtoReflect added in v1.0.8

func (x *PersistRequest) ProtoReflect() protoreflect.Message

func (*PersistRequest) Reset added in v1.0.8

func (x *PersistRequest) Reset()

func (*PersistRequest) String added in v1.0.8

func (x *PersistRequest) String() string

type PersistResponse added in v1.0.8

type PersistResponse struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*PersistResponse) Descriptor deprecated added in v1.0.8

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

Deprecated: Use PersistResponse.ProtoReflect.Descriptor instead.

func (*PersistResponse) GetOk added in v1.0.8

func (x *PersistResponse) GetOk() bool

func (*PersistResponse) ProtoMessage added in v1.0.8

func (*PersistResponse) ProtoMessage()

func (*PersistResponse) ProtoReflect added in v1.0.8

func (x *PersistResponse) ProtoReflect() protoreflect.Message

func (*PersistResponse) Reset added in v1.0.8

func (x *PersistResponse) Reset()

func (*PersistResponse) String added in v1.0.8

func (x *PersistResponse) String() string

type SetRequest added in v1.0.7

type SetRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Types that are assignable to Value:
	//	*SetRequest_StringValue
	//	*SetRequest_Int32Value
	//	*SetRequest_Int64Value
	//	*SetRequest_Float32Value
	//	*SetRequest_Float64Value
	//	*SetRequest_BoolValue
	//	*SetRequest_BytesValue
	Value  isSetRequest_Value `protobuf_oneof:"value"`
	Expire int64              `protobuf:"varint,9,opt,name=expire,proto3" json:"expire,omitempty"`
	// contains filtered or unexported fields
}

func (*SetRequest) Descriptor deprecated added in v1.0.7

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

Deprecated: Use SetRequest.ProtoReflect.Descriptor instead.

func (*SetRequest) GetBoolValue added in v1.0.7

func (x *SetRequest) GetBoolValue() bool

func (*SetRequest) GetBytesValue added in v1.0.7

func (x *SetRequest) GetBytesValue() []byte

func (*SetRequest) GetExpire added in v1.0.7

func (x *SetRequest) GetExpire() int64

func (*SetRequest) GetFloat32Value added in v1.0.7

func (x *SetRequest) GetFloat32Value() float32

func (*SetRequest) GetFloat64Value added in v1.0.7

func (x *SetRequest) GetFloat64Value() float64

func (*SetRequest) GetInt32Value added in v1.0.7

func (x *SetRequest) GetInt32Value() int32

func (*SetRequest) GetInt64Value added in v1.0.7

func (x *SetRequest) GetInt64Value() int64

func (*SetRequest) GetKey added in v1.0.7

func (x *SetRequest) GetKey() string

func (*SetRequest) GetStringValue added in v1.0.7

func (x *SetRequest) GetStringValue() string

func (*SetRequest) GetValue added in v1.0.7

func (m *SetRequest) GetValue() isSetRequest_Value

func (*SetRequest) ProtoMessage added in v1.0.7

func (*SetRequest) ProtoMessage()

func (*SetRequest) ProtoReflect added in v1.0.7

func (x *SetRequest) ProtoReflect() protoreflect.Message

func (*SetRequest) Reset added in v1.0.7

func (x *SetRequest) Reset()

func (*SetRequest) String added in v1.0.7

func (x *SetRequest) String() string

type SetRequest_BoolValue added in v1.0.7

type SetRequest_BoolValue struct {
	BoolValue bool `protobuf:"varint,7,opt,name=BoolValue,proto3,oneof"`
}

type SetRequest_BytesValue added in v1.0.7

type SetRequest_BytesValue struct {
	BytesValue []byte `protobuf:"bytes,8,opt,name=BytesValue,proto3,oneof"`
}

type SetRequest_Float32Value added in v1.0.7

type SetRequest_Float32Value struct {
	Float32Value float32 `protobuf:"fixed32,5,opt,name=Float32Value,proto3,oneof"`
}

type SetRequest_Float64Value added in v1.0.7

type SetRequest_Float64Value struct {
	Float64Value float64 `protobuf:"fixed64,6,opt,name=Float64Value,proto3,oneof"`
}

type SetRequest_Int32Value added in v1.0.7

type SetRequest_Int32Value struct {
	Int32Value int32 `protobuf:"varint,3,opt,name=Int32Value,proto3,oneof"`
}

type SetRequest_Int64Value added in v1.0.7

type SetRequest_Int64Value struct {
	Int64Value int64 `protobuf:"varint,4,opt,name=Int64Value,proto3,oneof"`
}

type SetRequest_StringValue added in v1.0.7

type SetRequest_StringValue struct {
	StringValue string `protobuf:"bytes,2,opt,name=StringValue,proto3,oneof"`
}

type SetResponse added in v1.0.7

type SetResponse struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

func (*SetResponse) Descriptor deprecated added in v1.0.7

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

Deprecated: Use SetResponse.ProtoReflect.Descriptor instead.

func (*SetResponse) GetOk added in v1.0.7

func (x *SetResponse) GetOk() bool

func (*SetResponse) ProtoMessage added in v1.0.7

func (*SetResponse) ProtoMessage()

func (*SetResponse) ProtoReflect added in v1.0.7

func (x *SetResponse) ProtoReflect() protoreflect.Message

func (*SetResponse) Reset added in v1.0.7

func (x *SetResponse) Reset()

func (*SetResponse) String added in v1.0.7

func (x *SetResponse) String() string

type StrLenRequest added in v1.0.8

type StrLenRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*StrLenRequest) Descriptor deprecated added in v1.0.8

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

Deprecated: Use StrLenRequest.ProtoReflect.Descriptor instead.

func (*StrLenRequest) GetKey added in v1.0.8

func (x *StrLenRequest) GetKey() string

func (*StrLenRequest) ProtoMessage added in v1.0.8

func (*StrLenRequest) ProtoMessage()

func (*StrLenRequest) ProtoReflect added in v1.0.8

func (x *StrLenRequest) ProtoReflect() protoreflect.Message

func (*StrLenRequest) Reset added in v1.0.8

func (x *StrLenRequest) Reset()

func (*StrLenRequest) String added in v1.0.8

func (x *StrLenRequest) String() string

type StrLenResponse added in v1.0.8

type StrLenResponse struct {
	Length int32 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"`
	// contains filtered or unexported fields
}

func (*StrLenResponse) Descriptor deprecated added in v1.0.8

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

Deprecated: Use StrLenResponse.ProtoReflect.Descriptor instead.

func (*StrLenResponse) GetLength added in v1.0.8

func (x *StrLenResponse) GetLength() int32

func (*StrLenResponse) ProtoMessage added in v1.0.8

func (*StrLenResponse) ProtoMessage()

func (*StrLenResponse) ProtoReflect added in v1.0.8

func (x *StrLenResponse) ProtoReflect() protoreflect.Message

func (*StrLenResponse) Reset added in v1.0.8

func (x *StrLenResponse) Reset()

func (*StrLenResponse) String added in v1.0.8

func (x *StrLenResponse) String() string

type TypeRequest added in v1.0.8

type TypeRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*TypeRequest) Descriptor deprecated added in v1.0.8

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

Deprecated: Use TypeRequest.ProtoReflect.Descriptor instead.

func (*TypeRequest) GetKey added in v1.0.8

func (x *TypeRequest) GetKey() string

func (*TypeRequest) ProtoMessage added in v1.0.8

func (*TypeRequest) ProtoMessage()

func (*TypeRequest) ProtoReflect added in v1.0.8

func (x *TypeRequest) ProtoReflect() protoreflect.Message

func (*TypeRequest) Reset added in v1.0.8

func (x *TypeRequest) Reset()

func (*TypeRequest) String added in v1.0.8

func (x *TypeRequest) String() string

type TypeResponse added in v1.0.8

type TypeResponse struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*TypeResponse) Descriptor deprecated added in v1.0.8

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

Deprecated: Use TypeResponse.ProtoReflect.Descriptor instead.

func (*TypeResponse) GetType added in v1.0.8

func (x *TypeResponse) GetType() string

func (*TypeResponse) ProtoMessage added in v1.0.8

func (*TypeResponse) ProtoMessage()

func (*TypeResponse) ProtoReflect added in v1.0.8

func (x *TypeResponse) ProtoReflect() protoreflect.Message

func (*TypeResponse) Reset added in v1.0.8

func (x *TypeResponse) Reset()

func (*TypeResponse) String added in v1.0.8

func (x *TypeResponse) String() string

type UnimplementedFlyDBServiceServer

type UnimplementedFlyDBServiceServer struct {
}

UnimplementedFlyDBServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedFlyDBServiceServer) Append added in v1.0.8

func (UnimplementedFlyDBServiceServer) Decr added in v1.0.8

func (UnimplementedFlyDBServiceServer) DecrBy added in v1.0.8

func (UnimplementedFlyDBServiceServer) Del

func (UnimplementedFlyDBServiceServer) Exists added in v1.0.8

func (UnimplementedFlyDBServiceServer) Expire added in v1.0.8

func (UnimplementedFlyDBServiceServer) Get

func (UnimplementedFlyDBServiceServer) GetSet added in v1.0.8

func (UnimplementedFlyDBServiceServer) Incr added in v1.0.8

func (UnimplementedFlyDBServiceServer) IncrBy added in v1.0.8

func (UnimplementedFlyDBServiceServer) IncrByFloat added in v1.0.8

func (UnimplementedFlyDBServiceServer) Persist added in v1.0.8

func (UnimplementedFlyDBServiceServer) Put

func (UnimplementedFlyDBServiceServer) StrLen added in v1.0.8

func (UnimplementedFlyDBServiceServer) Type added in v1.0.8

type UnsafeFlyDBServiceServer

type UnsafeFlyDBServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeFlyDBServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to FlyDBServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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