glist

package
v1.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	GListService_LPush_FullMethodName  = "/glist.GListService/LPush"
	GListService_LPushs_FullMethodName = "/glist.GListService/LPushs"
	GListService_RPush_FullMethodName  = "/glist.GListService/RPush"
	GListService_RPushs_FullMethodName = "/glist.GListService/RPushs"
	GListService_LPop_FullMethodName   = "/glist.GListService/LPop"
	GListService_RPop_FullMethodName   = "/glist.GListService/RPop"
	GListService_LRange_FullMethodName = "/glist.GListService/LRange"
	GListService_LLen_FullMethodName   = "/glist.GListService/LLen"
	GListService_LRem_FullMethodName   = "/glist.GListService/LRem"
	GListService_LIndex_FullMethodName = "/glist.GListService/LIndex"
	GListService_LSet_FullMethodName   = "/glist.GListService/LSet"
	GListService_LTrim_FullMethodName  = "/glist.GListService/LTrim"
)

Variables

View Source
var File_lib_proto_glist_db_proto protoreflect.FileDescriptor
View Source
var GListService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "glist.GListService",
	HandlerType: (*GListServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "LPush",
			Handler:    _GListService_LPush_Handler,
		},
		{
			MethodName: "LPushs",
			Handler:    _GListService_LPushs_Handler,
		},
		{
			MethodName: "RPush",
			Handler:    _GListService_RPush_Handler,
		},
		{
			MethodName: "RPushs",
			Handler:    _GListService_RPushs_Handler,
		},
		{
			MethodName: "LPop",
			Handler:    _GListService_LPop_Handler,
		},
		{
			MethodName: "RPop",
			Handler:    _GListService_RPop_Handler,
		},
		{
			MethodName: "LRange",
			Handler:    _GListService_LRange_Handler,
		},
		{
			MethodName: "LLen",
			Handler:    _GListService_LLen_Handler,
		},
		{
			MethodName: "LRem",
			Handler:    _GListService_LRem_Handler,
		},
		{
			MethodName: "LIndex",
			Handler:    _GListService_LIndex_Handler,
		},
		{
			MethodName: "LSet",
			Handler:    _GListService_LSet_Handler,
		},
		{
			MethodName: "LTrim",
			Handler:    _GListService_LTrim_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "lib/proto/glist/db.proto",
}

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

Functions

func RegisterGListServiceServer

func RegisterGListServiceServer(s grpc.ServiceRegistrar, srv GListServiceServer)

Types

type GListLIndexRequest

type GListLIndexRequest struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Index int32  `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*GListLIndexRequest) Descriptor deprecated

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

Deprecated: Use GListLIndexRequest.ProtoReflect.Descriptor instead.

func (*GListLIndexRequest) GetIndex

func (x *GListLIndexRequest) GetIndex() int32

func (*GListLIndexRequest) GetKey

func (x *GListLIndexRequest) GetKey() string

func (*GListLIndexRequest) ProtoMessage

func (*GListLIndexRequest) ProtoMessage()

func (*GListLIndexRequest) ProtoReflect

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

func (*GListLIndexRequest) Reset

func (x *GListLIndexRequest) Reset()

func (*GListLIndexRequest) String

func (x *GListLIndexRequest) String() string

type GListLIndexResponse

type GListLIndexResponse struct {

	// Types that are assignable to Value:
	//
	//	*GListLIndexResponse_StringValue
	//	*GListLIndexResponse_Int32Value
	//	*GListLIndexResponse_Int64Value
	//	*GListLIndexResponse_Float32Value
	//	*GListLIndexResponse_Float64Value
	//	*GListLIndexResponse_BoolValue
	//	*GListLIndexResponse_BytesValue
	Value isGListLIndexResponse_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*GListLIndexResponse) Descriptor deprecated

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

Deprecated: Use GListLIndexResponse.ProtoReflect.Descriptor instead.

func (*GListLIndexResponse) GetBoolValue

func (x *GListLIndexResponse) GetBoolValue() bool

func (*GListLIndexResponse) GetBytesValue

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

func (*GListLIndexResponse) GetFloat32Value

func (x *GListLIndexResponse) GetFloat32Value() float32

func (*GListLIndexResponse) GetFloat64Value

func (x *GListLIndexResponse) GetFloat64Value() float64

func (*GListLIndexResponse) GetInt32Value

func (x *GListLIndexResponse) GetInt32Value() int32

func (*GListLIndexResponse) GetInt64Value

func (x *GListLIndexResponse) GetInt64Value() int64

func (*GListLIndexResponse) GetStringValue

func (x *GListLIndexResponse) GetStringValue() string

func (*GListLIndexResponse) GetValue

func (m *GListLIndexResponse) GetValue() isGListLIndexResponse_Value

func (*GListLIndexResponse) ProtoMessage

func (*GListLIndexResponse) ProtoMessage()

func (*GListLIndexResponse) ProtoReflect

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

func (*GListLIndexResponse) Reset

func (x *GListLIndexResponse) Reset()

func (*GListLIndexResponse) String

func (x *GListLIndexResponse) String() string

type GListLIndexResponse_BoolValue

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

type GListLIndexResponse_BytesValue

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

type GListLIndexResponse_Float32Value

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

type GListLIndexResponse_Float64Value

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

type GListLIndexResponse_Int32Value

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

type GListLIndexResponse_Int64Value

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

type GListLIndexResponse_StringValue

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

type GListLLenRequest

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

func (*GListLLenRequest) Descriptor deprecated

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

Deprecated: Use GListLLenRequest.ProtoReflect.Descriptor instead.

func (*GListLLenRequest) GetKey

func (x *GListLLenRequest) GetKey() string

func (*GListLLenRequest) ProtoMessage

func (*GListLLenRequest) ProtoMessage()

func (*GListLLenRequest) ProtoReflect

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

func (*GListLLenRequest) Reset

func (x *GListLLenRequest) Reset()

func (*GListLLenRequest) String

func (x *GListLLenRequest) String() string

type GListLLenResponse

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

func (*GListLLenResponse) Descriptor deprecated

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

Deprecated: Use GListLLenResponse.ProtoReflect.Descriptor instead.

func (*GListLLenResponse) GetLength

func (x *GListLLenResponse) GetLength() int32

func (*GListLLenResponse) GetOk

func (x *GListLLenResponse) GetOk() bool

func (*GListLLenResponse) ProtoMessage

func (*GListLLenResponse) ProtoMessage()

func (*GListLLenResponse) ProtoReflect

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

func (*GListLLenResponse) Reset

func (x *GListLLenResponse) Reset()

func (*GListLLenResponse) String

func (x *GListLLenResponse) String() string

type GListLPopRequest

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

func (*GListLPopRequest) Descriptor deprecated

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

Deprecated: Use GListLPopRequest.ProtoReflect.Descriptor instead.

func (*GListLPopRequest) GetKey

func (x *GListLPopRequest) GetKey() string

func (*GListLPopRequest) ProtoMessage

func (*GListLPopRequest) ProtoMessage()

func (*GListLPopRequest) ProtoReflect

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

func (*GListLPopRequest) Reset

func (x *GListLPopRequest) Reset()

func (*GListLPopRequest) String

func (x *GListLPopRequest) String() string

type GListLPopResponse

type GListLPopResponse struct {

	// Types that are assignable to Value:
	//
	//	*GListLPopResponse_StringValue
	//	*GListLPopResponse_Int32Value
	//	*GListLPopResponse_Int64Value
	//	*GListLPopResponse_Float32Value
	//	*GListLPopResponse_Float64Value
	//	*GListLPopResponse_BoolValue
	//	*GListLPopResponse_BytesValue
	Value isGListLPopResponse_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*GListLPopResponse) Descriptor deprecated

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

Deprecated: Use GListLPopResponse.ProtoReflect.Descriptor instead.

func (*GListLPopResponse) GetBoolValue

func (x *GListLPopResponse) GetBoolValue() bool

func (*GListLPopResponse) GetBytesValue

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

func (*GListLPopResponse) GetFloat32Value

func (x *GListLPopResponse) GetFloat32Value() float32

func (*GListLPopResponse) GetFloat64Value

func (x *GListLPopResponse) GetFloat64Value() float64

func (*GListLPopResponse) GetInt32Value

func (x *GListLPopResponse) GetInt32Value() int32

func (*GListLPopResponse) GetInt64Value

func (x *GListLPopResponse) GetInt64Value() int64

func (*GListLPopResponse) GetStringValue

func (x *GListLPopResponse) GetStringValue() string

func (*GListLPopResponse) GetValue

func (m *GListLPopResponse) GetValue() isGListLPopResponse_Value

func (*GListLPopResponse) ProtoMessage

func (*GListLPopResponse) ProtoMessage()

func (*GListLPopResponse) ProtoReflect

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

func (*GListLPopResponse) Reset

func (x *GListLPopResponse) Reset()

func (*GListLPopResponse) String

func (x *GListLPopResponse) String() string

type GListLPopResponse_BoolValue

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

type GListLPopResponse_BytesValue

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

type GListLPopResponse_Float32Value

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

type GListLPopResponse_Float64Value

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

type GListLPopResponse_Int32Value

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

type GListLPopResponse_Int64Value

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

type GListLPopResponse_StringValue

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

type GListLPushRequest

type GListLPushRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Types that are assignable to Value:
	//
	//	*GListLPushRequest_StringValue
	//	*GListLPushRequest_Int32Value
	//	*GListLPushRequest_Int64Value
	//	*GListLPushRequest_Float32Value
	//	*GListLPushRequest_Float64Value
	//	*GListLPushRequest_BoolValue
	//	*GListLPushRequest_BytesValue
	Value isGListLPushRequest_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*GListLPushRequest) Descriptor deprecated

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

Deprecated: Use GListLPushRequest.ProtoReflect.Descriptor instead.

func (*GListLPushRequest) GetBoolValue

func (x *GListLPushRequest) GetBoolValue() bool

func (*GListLPushRequest) GetBytesValue

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

func (*GListLPushRequest) GetFloat32Value

func (x *GListLPushRequest) GetFloat32Value() float32

func (*GListLPushRequest) GetFloat64Value

func (x *GListLPushRequest) GetFloat64Value() float64

func (*GListLPushRequest) GetInt32Value

func (x *GListLPushRequest) GetInt32Value() int32

func (*GListLPushRequest) GetInt64Value

func (x *GListLPushRequest) GetInt64Value() int64

func (*GListLPushRequest) GetKey

func (x *GListLPushRequest) GetKey() string

func (*GListLPushRequest) GetStringValue

func (x *GListLPushRequest) GetStringValue() string

func (*GListLPushRequest) GetValue

func (m *GListLPushRequest) GetValue() isGListLPushRequest_Value

func (*GListLPushRequest) ProtoMessage

func (*GListLPushRequest) ProtoMessage()

func (*GListLPushRequest) ProtoReflect

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

func (*GListLPushRequest) Reset

func (x *GListLPushRequest) Reset()

func (*GListLPushRequest) String

func (x *GListLPushRequest) String() string

type GListLPushRequest_BoolValue

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

type GListLPushRequest_BytesValue

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

type GListLPushRequest_Float32Value

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

type GListLPushRequest_Float64Value

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

type GListLPushRequest_Int32Value

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

type GListLPushRequest_Int64Value

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

type GListLPushRequest_StringValue

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

type GListLPushResponse

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

func (*GListLPushResponse) Descriptor deprecated

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

Deprecated: Use GListLPushResponse.ProtoReflect.Descriptor instead.

func (*GListLPushResponse) GetOk

func (x *GListLPushResponse) GetOk() bool

func (*GListLPushResponse) ProtoMessage

func (*GListLPushResponse) ProtoMessage()

func (*GListLPushResponse) ProtoReflect

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

func (*GListLPushResponse) Reset

func (x *GListLPushResponse) Reset()

func (*GListLPushResponse) String

func (x *GListLPushResponse) String() string

type GListLPushsRequest

type GListLPushsRequest struct {
	Key    string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Values []*Value `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*GListLPushsRequest) Descriptor deprecated

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

Deprecated: Use GListLPushsRequest.ProtoReflect.Descriptor instead.

func (*GListLPushsRequest) GetKey

func (x *GListLPushsRequest) GetKey() string

func (*GListLPushsRequest) GetValues

func (x *GListLPushsRequest) GetValues() []*Value

func (*GListLPushsRequest) ProtoMessage

func (*GListLPushsRequest) ProtoMessage()

func (*GListLPushsRequest) ProtoReflect

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

func (*GListLPushsRequest) Reset

func (x *GListLPushsRequest) Reset()

func (*GListLPushsRequest) String

func (x *GListLPushsRequest) String() string

type GListLPushsResponse

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

func (*GListLPushsResponse) Descriptor deprecated

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

Deprecated: Use GListLPushsResponse.ProtoReflect.Descriptor instead.

func (*GListLPushsResponse) GetOk

func (x *GListLPushsResponse) GetOk() bool

func (*GListLPushsResponse) ProtoMessage

func (*GListLPushsResponse) ProtoMessage()

func (*GListLPushsResponse) ProtoReflect

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

func (*GListLPushsResponse) Reset

func (x *GListLPushsResponse) Reset()

func (*GListLPushsResponse) String

func (x *GListLPushsResponse) String() string

type GListLRangeRequest

type GListLRangeRequest struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Start int32  `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
	Stop  int32  `protobuf:"varint,3,opt,name=stop,proto3" json:"stop,omitempty"`
	// contains filtered or unexported fields
}

func (*GListLRangeRequest) Descriptor deprecated

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

Deprecated: Use GListLRangeRequest.ProtoReflect.Descriptor instead.

func (*GListLRangeRequest) GetKey

func (x *GListLRangeRequest) GetKey() string

func (*GListLRangeRequest) GetStart

func (x *GListLRangeRequest) GetStart() int32

func (*GListLRangeRequest) GetStop

func (x *GListLRangeRequest) GetStop() int32

func (*GListLRangeRequest) ProtoMessage

func (*GListLRangeRequest) ProtoMessage()

func (*GListLRangeRequest) ProtoReflect

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

func (*GListLRangeRequest) Reset

func (x *GListLRangeRequest) Reset()

func (*GListLRangeRequest) String

func (x *GListLRangeRequest) String() string

type GListLRangeResponse

type GListLRangeResponse struct {
	Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*GListLRangeResponse) Descriptor deprecated

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

Deprecated: Use GListLRangeResponse.ProtoReflect.Descriptor instead.

func (*GListLRangeResponse) GetValues

func (x *GListLRangeResponse) GetValues() []*Value

func (*GListLRangeResponse) ProtoMessage

func (*GListLRangeResponse) ProtoMessage()

func (*GListLRangeResponse) ProtoReflect

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

func (*GListLRangeResponse) Reset

func (x *GListLRangeResponse) Reset()

func (*GListLRangeResponse) String

func (x *GListLRangeResponse) String() string

type GListLRemRequest

type GListLRemRequest struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Count int32  `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	// Types that are assignable to Value:
	//
	//	*GListLRemRequest_StringValue
	//	*GListLRemRequest_Int32Value
	//	*GListLRemRequest_Int64Value
	//	*GListLRemRequest_Float32Value
	//	*GListLRemRequest_Float64Value
	//	*GListLRemRequest_BoolValue
	//	*GListLRemRequest_BytesValue
	Value isGListLRemRequest_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*GListLRemRequest) Descriptor deprecated

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

Deprecated: Use GListLRemRequest.ProtoReflect.Descriptor instead.

func (*GListLRemRequest) GetBoolValue

func (x *GListLRemRequest) GetBoolValue() bool

func (*GListLRemRequest) GetBytesValue

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

func (*GListLRemRequest) GetCount

func (x *GListLRemRequest) GetCount() int32

func (*GListLRemRequest) GetFloat32Value

func (x *GListLRemRequest) GetFloat32Value() float32

func (*GListLRemRequest) GetFloat64Value

func (x *GListLRemRequest) GetFloat64Value() float64

func (*GListLRemRequest) GetInt32Value

func (x *GListLRemRequest) GetInt32Value() int32

func (*GListLRemRequest) GetInt64Value

func (x *GListLRemRequest) GetInt64Value() int64

func (*GListLRemRequest) GetKey

func (x *GListLRemRequest) GetKey() string

func (*GListLRemRequest) GetStringValue

func (x *GListLRemRequest) GetStringValue() string

func (*GListLRemRequest) GetValue

func (m *GListLRemRequest) GetValue() isGListLRemRequest_Value

func (*GListLRemRequest) ProtoMessage

func (*GListLRemRequest) ProtoMessage()

func (*GListLRemRequest) ProtoReflect

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

func (*GListLRemRequest) Reset

func (x *GListLRemRequest) Reset()

func (*GListLRemRequest) String

func (x *GListLRemRequest) String() string

type GListLRemRequest_BoolValue

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

type GListLRemRequest_BytesValue

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

type GListLRemRequest_Float32Value

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

type GListLRemRequest_Float64Value

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

type GListLRemRequest_Int32Value

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

type GListLRemRequest_Int64Value

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

type GListLRemRequest_StringValue

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

type GListLRemResponse

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

func (*GListLRemResponse) Descriptor deprecated

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

Deprecated: Use GListLRemResponse.ProtoReflect.Descriptor instead.

func (*GListLRemResponse) GetCount

func (x *GListLRemResponse) GetCount() int32

func (*GListLRemResponse) GetOk

func (x *GListLRemResponse) GetOk() bool

func (*GListLRemResponse) ProtoMessage

func (*GListLRemResponse) ProtoMessage()

func (*GListLRemResponse) ProtoReflect

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

func (*GListLRemResponse) Reset

func (x *GListLRemResponse) Reset()

func (*GListLRemResponse) String

func (x *GListLRemResponse) String() string

type GListLSetRequest

type GListLSetRequest struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Index int32  `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// Types that are assignable to Value:
	//
	//	*GListLSetRequest_StringValue
	//	*GListLSetRequest_Int32Value
	//	*GListLSetRequest_Int64Value
	//	*GListLSetRequest_Float32Value
	//	*GListLSetRequest_Float64Value
	//	*GListLSetRequest_BoolValue
	//	*GListLSetRequest_BytesValue
	Value isGListLSetRequest_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*GListLSetRequest) Descriptor deprecated

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

Deprecated: Use GListLSetRequest.ProtoReflect.Descriptor instead.

func (*GListLSetRequest) GetBoolValue

func (x *GListLSetRequest) GetBoolValue() bool

func (*GListLSetRequest) GetBytesValue

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

func (*GListLSetRequest) GetFloat32Value

func (x *GListLSetRequest) GetFloat32Value() float32

func (*GListLSetRequest) GetFloat64Value

func (x *GListLSetRequest) GetFloat64Value() float64

func (*GListLSetRequest) GetIndex

func (x *GListLSetRequest) GetIndex() int32

func (*GListLSetRequest) GetInt32Value

func (x *GListLSetRequest) GetInt32Value() int32

func (*GListLSetRequest) GetInt64Value

func (x *GListLSetRequest) GetInt64Value() int64

func (*GListLSetRequest) GetKey

func (x *GListLSetRequest) GetKey() string

func (*GListLSetRequest) GetStringValue

func (x *GListLSetRequest) GetStringValue() string

func (*GListLSetRequest) GetValue

func (m *GListLSetRequest) GetValue() isGListLSetRequest_Value

func (*GListLSetRequest) ProtoMessage

func (*GListLSetRequest) ProtoMessage()

func (*GListLSetRequest) ProtoReflect

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

func (*GListLSetRequest) Reset

func (x *GListLSetRequest) Reset()

func (*GListLSetRequest) String

func (x *GListLSetRequest) String() string

type GListLSetRequest_BoolValue

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

type GListLSetRequest_BytesValue

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

type GListLSetRequest_Float32Value

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

type GListLSetRequest_Float64Value

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

type GListLSetRequest_Int32Value

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

type GListLSetRequest_Int64Value

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

type GListLSetRequest_StringValue

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

type GListLSetResponse

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

func (*GListLSetResponse) Descriptor deprecated

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

Deprecated: Use GListLSetResponse.ProtoReflect.Descriptor instead.

func (*GListLSetResponse) GetOk

func (x *GListLSetResponse) GetOk() bool

func (*GListLSetResponse) ProtoMessage

func (*GListLSetResponse) ProtoMessage()

func (*GListLSetResponse) ProtoReflect

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

func (*GListLSetResponse) Reset

func (x *GListLSetResponse) Reset()

func (*GListLSetResponse) String

func (x *GListLSetResponse) String() string

type GListLTrimRequest

type GListLTrimRequest struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Start int32  `protobuf:"varint,2,opt,name=start,proto3" json:"start,omitempty"`
	Stop  int32  `protobuf:"varint,3,opt,name=stop,proto3" json:"stop,omitempty"`
	// contains filtered or unexported fields
}

func (*GListLTrimRequest) Descriptor deprecated

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

Deprecated: Use GListLTrimRequest.ProtoReflect.Descriptor instead.

func (*GListLTrimRequest) GetKey

func (x *GListLTrimRequest) GetKey() string

func (*GListLTrimRequest) GetStart

func (x *GListLTrimRequest) GetStart() int32

func (*GListLTrimRequest) GetStop

func (x *GListLTrimRequest) GetStop() int32

func (*GListLTrimRequest) ProtoMessage

func (*GListLTrimRequest) ProtoMessage()

func (*GListLTrimRequest) ProtoReflect

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

func (*GListLTrimRequest) Reset

func (x *GListLTrimRequest) Reset()

func (*GListLTrimRequest) String

func (x *GListLTrimRequest) String() string

type GListLTrimResponse

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

func (*GListLTrimResponse) Descriptor deprecated

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

Deprecated: Use GListLTrimResponse.ProtoReflect.Descriptor instead.

func (*GListLTrimResponse) GetOk

func (x *GListLTrimResponse) GetOk() bool

func (*GListLTrimResponse) ProtoMessage

func (*GListLTrimResponse) ProtoMessage()

func (*GListLTrimResponse) ProtoReflect

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

func (*GListLTrimResponse) Reset

func (x *GListLTrimResponse) Reset()

func (*GListLTrimResponse) String

func (x *GListLTrimResponse) String() string

type GListRPopRequest

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

func (*GListRPopRequest) Descriptor deprecated

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

Deprecated: Use GListRPopRequest.ProtoReflect.Descriptor instead.

func (*GListRPopRequest) GetKey

func (x *GListRPopRequest) GetKey() string

func (*GListRPopRequest) ProtoMessage

func (*GListRPopRequest) ProtoMessage()

func (*GListRPopRequest) ProtoReflect

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

func (*GListRPopRequest) Reset

func (x *GListRPopRequest) Reset()

func (*GListRPopRequest) String

func (x *GListRPopRequest) String() string

type GListRPopResponse

type GListRPopResponse struct {

	// Types that are assignable to Value:
	//
	//	*GListRPopResponse_StringValue
	//	*GListRPopResponse_Int32Value
	//	*GListRPopResponse_Int64Value
	//	*GListRPopResponse_Float32Value
	//	*GListRPopResponse_Float64Value
	//	*GListRPopResponse_BoolValue
	//	*GListRPopResponse_BytesValue
	Value isGListRPopResponse_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*GListRPopResponse) Descriptor deprecated

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

Deprecated: Use GListRPopResponse.ProtoReflect.Descriptor instead.

func (*GListRPopResponse) GetBoolValue

func (x *GListRPopResponse) GetBoolValue() bool

func (*GListRPopResponse) GetBytesValue

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

func (*GListRPopResponse) GetFloat32Value

func (x *GListRPopResponse) GetFloat32Value() float32

func (*GListRPopResponse) GetFloat64Value

func (x *GListRPopResponse) GetFloat64Value() float64

func (*GListRPopResponse) GetInt32Value

func (x *GListRPopResponse) GetInt32Value() int32

func (*GListRPopResponse) GetInt64Value

func (x *GListRPopResponse) GetInt64Value() int64

func (*GListRPopResponse) GetStringValue

func (x *GListRPopResponse) GetStringValue() string

func (*GListRPopResponse) GetValue

func (m *GListRPopResponse) GetValue() isGListRPopResponse_Value

func (*GListRPopResponse) ProtoMessage

func (*GListRPopResponse) ProtoMessage()

func (*GListRPopResponse) ProtoReflect

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

func (*GListRPopResponse) Reset

func (x *GListRPopResponse) Reset()

func (*GListRPopResponse) String

func (x *GListRPopResponse) String() string

type GListRPopResponse_BoolValue

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

type GListRPopResponse_BytesValue

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

type GListRPopResponse_Float32Value

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

type GListRPopResponse_Float64Value

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

type GListRPopResponse_Int32Value

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

type GListRPopResponse_Int64Value

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

type GListRPopResponse_StringValue

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

type GListRPushRequest

type GListRPushRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Types that are assignable to Value:
	//
	//	*GListRPushRequest_StringValue
	//	*GListRPushRequest_Int32Value
	//	*GListRPushRequest_Int64Value
	//	*GListRPushRequest_Float32Value
	//	*GListRPushRequest_Float64Value
	//	*GListRPushRequest_BoolValue
	//	*GListRPushRequest_BytesValue
	Value isGListRPushRequest_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*GListRPushRequest) Descriptor deprecated

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

Deprecated: Use GListRPushRequest.ProtoReflect.Descriptor instead.

func (*GListRPushRequest) GetBoolValue

func (x *GListRPushRequest) GetBoolValue() bool

func (*GListRPushRequest) GetBytesValue

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

func (*GListRPushRequest) GetFloat32Value

func (x *GListRPushRequest) GetFloat32Value() float32

func (*GListRPushRequest) GetFloat64Value

func (x *GListRPushRequest) GetFloat64Value() float64

func (*GListRPushRequest) GetInt32Value

func (x *GListRPushRequest) GetInt32Value() int32

func (*GListRPushRequest) GetInt64Value

func (x *GListRPushRequest) GetInt64Value() int64

func (*GListRPushRequest) GetKey

func (x *GListRPushRequest) GetKey() string

func (*GListRPushRequest) GetStringValue

func (x *GListRPushRequest) GetStringValue() string

func (*GListRPushRequest) GetValue

func (m *GListRPushRequest) GetValue() isGListRPushRequest_Value

func (*GListRPushRequest) ProtoMessage

func (*GListRPushRequest) ProtoMessage()

func (*GListRPushRequest) ProtoReflect

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

func (*GListRPushRequest) Reset

func (x *GListRPushRequest) Reset()

func (*GListRPushRequest) String

func (x *GListRPushRequest) String() string

type GListRPushRequest_BoolValue

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

type GListRPushRequest_BytesValue

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

type GListRPushRequest_Float32Value

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

type GListRPushRequest_Float64Value

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

type GListRPushRequest_Int32Value

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

type GListRPushRequest_Int64Value

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

type GListRPushRequest_StringValue

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

type GListRPushResponse

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

func (*GListRPushResponse) Descriptor deprecated

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

Deprecated: Use GListRPushResponse.ProtoReflect.Descriptor instead.

func (*GListRPushResponse) GetOk

func (x *GListRPushResponse) GetOk() bool

func (*GListRPushResponse) ProtoMessage

func (*GListRPushResponse) ProtoMessage()

func (*GListRPushResponse) ProtoReflect

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

func (*GListRPushResponse) Reset

func (x *GListRPushResponse) Reset()

func (*GListRPushResponse) String

func (x *GListRPushResponse) String() string

type GListRPushsRequest

type GListRPushsRequest struct {
	Key    string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Values []*Value `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

func (*GListRPushsRequest) Descriptor deprecated

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

Deprecated: Use GListRPushsRequest.ProtoReflect.Descriptor instead.

func (*GListRPushsRequest) GetKey

func (x *GListRPushsRequest) GetKey() string

func (*GListRPushsRequest) GetValues

func (x *GListRPushsRequest) GetValues() []*Value

func (*GListRPushsRequest) ProtoMessage

func (*GListRPushsRequest) ProtoMessage()

func (*GListRPushsRequest) ProtoReflect

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

func (*GListRPushsRequest) Reset

func (x *GListRPushsRequest) Reset()

func (*GListRPushsRequest) String

func (x *GListRPushsRequest) String() string

type GListRPushsResponse

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

func (*GListRPushsResponse) Descriptor deprecated

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

Deprecated: Use GListRPushsResponse.ProtoReflect.Descriptor instead.

func (*GListRPushsResponse) GetOk

func (x *GListRPushsResponse) GetOk() bool

func (*GListRPushsResponse) ProtoMessage

func (*GListRPushsResponse) ProtoMessage()

func (*GListRPushsResponse) ProtoReflect

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

func (*GListRPushsResponse) Reset

func (x *GListRPushsResponse) Reset()

func (*GListRPushsResponse) String

func (x *GListRPushsResponse) String() string

type GListServiceClient

GListServiceClient is the client API for GListService 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 GListServiceServer

GListServiceServer is the server API for GListService service. All implementations must embed UnimplementedGListServiceServer for forward compatibility

type UnimplementedGListServiceServer

type UnimplementedGListServiceServer struct {
}

UnimplementedGListServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedGListServiceServer) LIndex

func (UnimplementedGListServiceServer) LLen

func (UnimplementedGListServiceServer) LPop

func (UnimplementedGListServiceServer) LPush

func (UnimplementedGListServiceServer) LPushs

func (UnimplementedGListServiceServer) LRange

func (UnimplementedGListServiceServer) LRem

func (UnimplementedGListServiceServer) LSet

func (UnimplementedGListServiceServer) LTrim

func (UnimplementedGListServiceServer) RPop

func (UnimplementedGListServiceServer) RPush

func (UnimplementedGListServiceServer) RPushs

type UnsafeGListServiceServer

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

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

type Value

type Value struct {

	// Types that are assignable to Value:
	//
	//	*Value_StringValue
	//	*Value_Int32Value
	//	*Value_Int64Value
	//	*Value_Float32Value
	//	*Value_Float64Value
	//	*Value_BoolValue
	//	*Value_BytesValue
	Value isValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func (*Value) Descriptor deprecated

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

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetBoolValue

func (x *Value) GetBoolValue() bool

func (*Value) GetBytesValue

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

func (*Value) GetFloat32Value

func (x *Value) GetFloat32Value() float32

func (*Value) GetFloat64Value

func (x *Value) GetFloat64Value() float64

func (*Value) GetInt32Value

func (x *Value) GetInt32Value() int32

func (*Value) GetInt64Value

func (x *Value) GetInt64Value() int64

func (*Value) GetStringValue

func (x *Value) GetStringValue() string

func (*Value) GetValue

func (m *Value) GetValue() isValue_Value

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) ProtoReflect

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

func (*Value) Reset

func (x *Value) Reset()

func (*Value) String

func (x *Value) String() string

type Value_BoolValue

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

type Value_BytesValue

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

type Value_Float32Value

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

type Value_Float64Value

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

type Value_Int32Value

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

type Value_Int64Value

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

type Value_StringValue

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

Jump to

Keyboard shortcuts

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