Documentation
¶
Index ¶
- func RegisterRedisServiceHandler(s server.Server, hdlr RedisServiceHandler, opts ...server.HandlerOption) error
- type Duration
- func (*Duration) Descriptor() ([]byte, []int)
- func (m *Duration) GetNanos() int32
- func (m *Duration) GetSeconds() int64
- func (*Duration) ProtoMessage()
- func (m *Duration) Reset()
- func (m *Duration) String() string
- func (m *Duration) XXX_DiscardUnknown()
- func (m *Duration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Duration) XXX_Merge(src proto.Message)
- func (m *Duration) XXX_Size() int
- func (m *Duration) XXX_Unmarshal(b []byte) error
- type GetRedisKey
- func (*GetRedisKey) Descriptor() ([]byte, []int)
- func (m *GetRedisKey) GetKey() string
- func (*GetRedisKey) ProtoMessage()
- func (m *GetRedisKey) Reset()
- func (m *GetRedisKey) String() string
- func (m *GetRedisKey) XXX_DiscardUnknown()
- func (m *GetRedisKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRedisKey) XXX_Merge(src proto.Message)
- func (m *GetRedisKey) XXX_Size() int
- func (m *GetRedisKey) XXX_Unmarshal(b []byte) error
- type GetRedisKeys
- func (*GetRedisKeys) Descriptor() ([]byte, []int)
- func (m *GetRedisKeys) GetKeys() []string
- func (*GetRedisKeys) ProtoMessage()
- func (m *GetRedisKeys) Reset()
- func (m *GetRedisKeys) String() string
- func (m *GetRedisKeys) XXX_DiscardUnknown()
- func (m *GetRedisKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRedisKeys) XXX_Merge(src proto.Message)
- func (m *GetRedisKeys) XXX_Size() int
- func (m *GetRedisKeys) XXX_Unmarshal(b []byte) error
- type IncrementDecrementRedis
- func (*IncrementDecrementRedis) Descriptor() ([]byte, []int)
- func (m *IncrementDecrementRedis) GetKey() string
- func (m *IncrementDecrementRedis) GetValue() int64
- func (*IncrementDecrementRedis) ProtoMessage()
- func (m *IncrementDecrementRedis) Reset()
- func (m *IncrementDecrementRedis) String() string
- func (m *IncrementDecrementRedis) XXX_DiscardUnknown()
- func (m *IncrementDecrementRedis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IncrementDecrementRedis) XXX_Merge(src proto.Message)
- func (m *IncrementDecrementRedis) XXX_Size() int
- func (m *IncrementDecrementRedis) XXX_Unmarshal(b []byte) error
- type RedisEmpty
- func (*RedisEmpty) Descriptor() ([]byte, []int)
- func (*RedisEmpty) ProtoMessage()
- func (m *RedisEmpty) Reset()
- func (m *RedisEmpty) String() string
- func (m *RedisEmpty) XXX_DiscardUnknown()
- func (m *RedisEmpty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RedisEmpty) XXX_Merge(src proto.Message)
- func (m *RedisEmpty) XXX_Size() int
- func (m *RedisEmpty) XXX_Unmarshal(b []byte) error
- type RedisResultBoolean
- func (*RedisResultBoolean) Descriptor() ([]byte, []int)
- func (m *RedisResultBoolean) GetResponse() bool
- func (*RedisResultBoolean) ProtoMessage()
- func (m *RedisResultBoolean) Reset()
- func (m *RedisResultBoolean) String() string
- func (m *RedisResultBoolean) XXX_DiscardUnknown()
- func (m *RedisResultBoolean) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RedisResultBoolean) XXX_Merge(src proto.Message)
- func (m *RedisResultBoolean) XXX_Size() int
- func (m *RedisResultBoolean) XXX_Unmarshal(b []byte) error
- type RedisResultBytes
- func (*RedisResultBytes) Descriptor() ([]byte, []int)
- func (m *RedisResultBytes) GetResponse() []byte
- func (*RedisResultBytes) ProtoMessage()
- func (m *RedisResultBytes) Reset()
- func (m *RedisResultBytes) String() string
- func (m *RedisResultBytes) XXX_DiscardUnknown()
- func (m *RedisResultBytes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RedisResultBytes) XXX_Merge(src proto.Message)
- func (m *RedisResultBytes) XXX_Size() int
- func (m *RedisResultBytes) XXX_Unmarshal(b []byte) error
- type RedisResultFloat32
- func (*RedisResultFloat32) Descriptor() ([]byte, []int)
- func (m *RedisResultFloat32) GetResponse() float32
- func (*RedisResultFloat32) ProtoMessage()
- func (m *RedisResultFloat32) Reset()
- func (m *RedisResultFloat32) String() string
- func (m *RedisResultFloat32) XXX_DiscardUnknown()
- func (m *RedisResultFloat32) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RedisResultFloat32) XXX_Merge(src proto.Message)
- func (m *RedisResultFloat32) XXX_Size() int
- func (m *RedisResultFloat32) XXX_Unmarshal(b []byte) error
- type RedisResultFloat64
- func (*RedisResultFloat64) Descriptor() ([]byte, []int)
- func (m *RedisResultFloat64) GetResponse() float64
- func (*RedisResultFloat64) ProtoMessage()
- func (m *RedisResultFloat64) Reset()
- func (m *RedisResultFloat64) String() string
- func (m *RedisResultFloat64) XXX_DiscardUnknown()
- func (m *RedisResultFloat64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RedisResultFloat64) XXX_Merge(src proto.Message)
- func (m *RedisResultFloat64) XXX_Size() int
- func (m *RedisResultFloat64) XXX_Unmarshal(b []byte) error
- type RedisResultInt
- func (*RedisResultInt) Descriptor() ([]byte, []int)
- func (m *RedisResultInt) GetResponse() int32
- func (*RedisResultInt) ProtoMessage()
- func (m *RedisResultInt) Reset()
- func (m *RedisResultInt) String() string
- func (m *RedisResultInt) XXX_DiscardUnknown()
- func (m *RedisResultInt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RedisResultInt) XXX_Merge(src proto.Message)
- func (m *RedisResultInt) XXX_Size() int
- func (m *RedisResultInt) XXX_Unmarshal(b []byte) error
- type RedisResultInt64
- func (*RedisResultInt64) Descriptor() ([]byte, []int)
- func (m *RedisResultInt64) GetResponse() int64
- func (*RedisResultInt64) ProtoMessage()
- func (m *RedisResultInt64) Reset()
- func (m *RedisResultInt64) String() string
- func (m *RedisResultInt64) XXX_DiscardUnknown()
- func (m *RedisResultInt64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RedisResultInt64) XXX_Merge(src proto.Message)
- func (m *RedisResultInt64) XXX_Size() int
- func (m *RedisResultInt64) XXX_Unmarshal(b []byte) error
- type RedisResultString
- func (*RedisResultString) Descriptor() ([]byte, []int)
- func (m *RedisResultString) GetResponse() string
- func (*RedisResultString) ProtoMessage()
- func (m *RedisResultString) Reset()
- func (m *RedisResultString) String() string
- func (m *RedisResultString) XXX_DiscardUnknown()
- func (m *RedisResultString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RedisResultString) XXX_Merge(src proto.Message)
- func (m *RedisResultString) XXX_Size() int
- func (m *RedisResultString) XXX_Unmarshal(b []byte) error
- type RedisResultUInt64
- func (*RedisResultUInt64) Descriptor() ([]byte, []int)
- func (m *RedisResultUInt64) GetResponse() uint64
- func (*RedisResultUInt64) ProtoMessage()
- func (m *RedisResultUInt64) Reset()
- func (m *RedisResultUInt64) String() string
- func (m *RedisResultUInt64) XXX_DiscardUnknown()
- func (m *RedisResultUInt64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RedisResultUInt64) XXX_Merge(src proto.Message)
- func (m *RedisResultUInt64) XXX_Size() int
- func (m *RedisResultUInt64) XXX_Unmarshal(b []byte) error
- type RedisService
- type RedisServiceHandler
- type SetRedisObject
- func (*SetRedisObject) Descriptor() ([]byte, []int)
- func (m *SetRedisObject) GetExpiration() int64
- func (m *SetRedisObject) GetKey() string
- func (m *SetRedisObject) GetValue() string
- func (*SetRedisObject) ProtoMessage()
- func (m *SetRedisObject) Reset()
- func (m *SetRedisObject) String() string
- func (m *SetRedisObject) XXX_DiscardUnknown()
- func (m *SetRedisObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetRedisObject) XXX_Merge(src proto.Message)
- func (m *SetRedisObject) XXX_Size() int
- func (m *SetRedisObject) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRedisServiceHandler ¶
func RegisterRedisServiceHandler(s server.Server, hdlr RedisServiceHandler, opts ...server.HandlerOption) error
Types ¶
type Duration ¶
type Duration struct { Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"` Nanos int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Duration) Descriptor ¶
func (*Duration) GetSeconds ¶
func (*Duration) ProtoMessage ¶
func (*Duration) ProtoMessage()
func (*Duration) XXX_DiscardUnknown ¶
func (m *Duration) XXX_DiscardUnknown()
func (*Duration) XXX_Marshal ¶
func (*Duration) XXX_Unmarshal ¶
type GetRedisKey ¶
type GetRedisKey struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRedisKey) Descriptor ¶
func (*GetRedisKey) Descriptor() ([]byte, []int)
func (*GetRedisKey) GetKey ¶
func (m *GetRedisKey) GetKey() string
func (*GetRedisKey) ProtoMessage ¶
func (*GetRedisKey) ProtoMessage()
func (*GetRedisKey) Reset ¶
func (m *GetRedisKey) Reset()
func (*GetRedisKey) String ¶
func (m *GetRedisKey) String() string
func (*GetRedisKey) XXX_DiscardUnknown ¶
func (m *GetRedisKey) XXX_DiscardUnknown()
func (*GetRedisKey) XXX_Marshal ¶
func (m *GetRedisKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRedisKey) XXX_Merge ¶
func (m *GetRedisKey) XXX_Merge(src proto.Message)
func (*GetRedisKey) XXX_Size ¶
func (m *GetRedisKey) XXX_Size() int
func (*GetRedisKey) XXX_Unmarshal ¶
func (m *GetRedisKey) XXX_Unmarshal(b []byte) error
type GetRedisKeys ¶
type GetRedisKeys struct { Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRedisKeys) Descriptor ¶
func (*GetRedisKeys) Descriptor() ([]byte, []int)
func (*GetRedisKeys) GetKeys ¶
func (m *GetRedisKeys) GetKeys() []string
func (*GetRedisKeys) ProtoMessage ¶
func (*GetRedisKeys) ProtoMessage()
func (*GetRedisKeys) Reset ¶
func (m *GetRedisKeys) Reset()
func (*GetRedisKeys) String ¶
func (m *GetRedisKeys) String() string
func (*GetRedisKeys) XXX_DiscardUnknown ¶
func (m *GetRedisKeys) XXX_DiscardUnknown()
func (*GetRedisKeys) XXX_Marshal ¶
func (m *GetRedisKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRedisKeys) XXX_Merge ¶
func (m *GetRedisKeys) XXX_Merge(src proto.Message)
func (*GetRedisKeys) XXX_Size ¶
func (m *GetRedisKeys) XXX_Size() int
func (*GetRedisKeys) XXX_Unmarshal ¶
func (m *GetRedisKeys) XXX_Unmarshal(b []byte) error
type IncrementDecrementRedis ¶
type IncrementDecrementRedis struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IncrementDecrementRedis) Descriptor ¶
func (*IncrementDecrementRedis) Descriptor() ([]byte, []int)
func (*IncrementDecrementRedis) GetKey ¶
func (m *IncrementDecrementRedis) GetKey() string
func (*IncrementDecrementRedis) GetValue ¶
func (m *IncrementDecrementRedis) GetValue() int64
func (*IncrementDecrementRedis) ProtoMessage ¶
func (*IncrementDecrementRedis) ProtoMessage()
func (*IncrementDecrementRedis) Reset ¶
func (m *IncrementDecrementRedis) Reset()
func (*IncrementDecrementRedis) String ¶
func (m *IncrementDecrementRedis) String() string
func (*IncrementDecrementRedis) XXX_DiscardUnknown ¶
func (m *IncrementDecrementRedis) XXX_DiscardUnknown()
func (*IncrementDecrementRedis) XXX_Marshal ¶
func (m *IncrementDecrementRedis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IncrementDecrementRedis) XXX_Merge ¶
func (m *IncrementDecrementRedis) XXX_Merge(src proto.Message)
func (*IncrementDecrementRedis) XXX_Size ¶
func (m *IncrementDecrementRedis) XXX_Size() int
func (*IncrementDecrementRedis) XXX_Unmarshal ¶
func (m *IncrementDecrementRedis) XXX_Unmarshal(b []byte) error
type RedisEmpty ¶
type RedisEmpty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RedisEmpty) Descriptor ¶
func (*RedisEmpty) Descriptor() ([]byte, []int)
func (*RedisEmpty) ProtoMessage ¶
func (*RedisEmpty) ProtoMessage()
func (*RedisEmpty) Reset ¶
func (m *RedisEmpty) Reset()
func (*RedisEmpty) String ¶
func (m *RedisEmpty) String() string
func (*RedisEmpty) XXX_DiscardUnknown ¶
func (m *RedisEmpty) XXX_DiscardUnknown()
func (*RedisEmpty) XXX_Marshal ¶
func (m *RedisEmpty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RedisEmpty) XXX_Merge ¶
func (m *RedisEmpty) XXX_Merge(src proto.Message)
func (*RedisEmpty) XXX_Size ¶
func (m *RedisEmpty) XXX_Size() int
func (*RedisEmpty) XXX_Unmarshal ¶
func (m *RedisEmpty) XXX_Unmarshal(b []byte) error
type RedisResultBoolean ¶
type RedisResultBoolean struct { Response bool `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RedisResultBoolean) Descriptor ¶
func (*RedisResultBoolean) Descriptor() ([]byte, []int)
func (*RedisResultBoolean) GetResponse ¶
func (m *RedisResultBoolean) GetResponse() bool
func (*RedisResultBoolean) ProtoMessage ¶
func (*RedisResultBoolean) ProtoMessage()
func (*RedisResultBoolean) Reset ¶
func (m *RedisResultBoolean) Reset()
func (*RedisResultBoolean) String ¶
func (m *RedisResultBoolean) String() string
func (*RedisResultBoolean) XXX_DiscardUnknown ¶
func (m *RedisResultBoolean) XXX_DiscardUnknown()
func (*RedisResultBoolean) XXX_Marshal ¶
func (m *RedisResultBoolean) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RedisResultBoolean) XXX_Merge ¶
func (m *RedisResultBoolean) XXX_Merge(src proto.Message)
func (*RedisResultBoolean) XXX_Size ¶
func (m *RedisResultBoolean) XXX_Size() int
func (*RedisResultBoolean) XXX_Unmarshal ¶
func (m *RedisResultBoolean) XXX_Unmarshal(b []byte) error
type RedisResultBytes ¶
type RedisResultBytes struct { Response []byte `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RedisResultBytes) Descriptor ¶
func (*RedisResultBytes) Descriptor() ([]byte, []int)
func (*RedisResultBytes) GetResponse ¶
func (m *RedisResultBytes) GetResponse() []byte
func (*RedisResultBytes) ProtoMessage ¶
func (*RedisResultBytes) ProtoMessage()
func (*RedisResultBytes) Reset ¶
func (m *RedisResultBytes) Reset()
func (*RedisResultBytes) String ¶
func (m *RedisResultBytes) String() string
func (*RedisResultBytes) XXX_DiscardUnknown ¶
func (m *RedisResultBytes) XXX_DiscardUnknown()
func (*RedisResultBytes) XXX_Marshal ¶
func (m *RedisResultBytes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RedisResultBytes) XXX_Merge ¶
func (m *RedisResultBytes) XXX_Merge(src proto.Message)
func (*RedisResultBytes) XXX_Size ¶
func (m *RedisResultBytes) XXX_Size() int
func (*RedisResultBytes) XXX_Unmarshal ¶
func (m *RedisResultBytes) XXX_Unmarshal(b []byte) error
type RedisResultFloat32 ¶
type RedisResultFloat32 struct { Response float32 `protobuf:"fixed32,1,opt,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RedisResultFloat32) Descriptor ¶
func (*RedisResultFloat32) Descriptor() ([]byte, []int)
func (*RedisResultFloat32) GetResponse ¶
func (m *RedisResultFloat32) GetResponse() float32
func (*RedisResultFloat32) ProtoMessage ¶
func (*RedisResultFloat32) ProtoMessage()
func (*RedisResultFloat32) Reset ¶
func (m *RedisResultFloat32) Reset()
func (*RedisResultFloat32) String ¶
func (m *RedisResultFloat32) String() string
func (*RedisResultFloat32) XXX_DiscardUnknown ¶
func (m *RedisResultFloat32) XXX_DiscardUnknown()
func (*RedisResultFloat32) XXX_Marshal ¶
func (m *RedisResultFloat32) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RedisResultFloat32) XXX_Merge ¶
func (m *RedisResultFloat32) XXX_Merge(src proto.Message)
func (*RedisResultFloat32) XXX_Size ¶
func (m *RedisResultFloat32) XXX_Size() int
func (*RedisResultFloat32) XXX_Unmarshal ¶
func (m *RedisResultFloat32) XXX_Unmarshal(b []byte) error
type RedisResultFloat64 ¶
type RedisResultFloat64 struct { Response float64 `protobuf:"fixed64,1,opt,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RedisResultFloat64) Descriptor ¶
func (*RedisResultFloat64) Descriptor() ([]byte, []int)
func (*RedisResultFloat64) GetResponse ¶
func (m *RedisResultFloat64) GetResponse() float64
func (*RedisResultFloat64) ProtoMessage ¶
func (*RedisResultFloat64) ProtoMessage()
func (*RedisResultFloat64) Reset ¶
func (m *RedisResultFloat64) Reset()
func (*RedisResultFloat64) String ¶
func (m *RedisResultFloat64) String() string
func (*RedisResultFloat64) XXX_DiscardUnknown ¶
func (m *RedisResultFloat64) XXX_DiscardUnknown()
func (*RedisResultFloat64) XXX_Marshal ¶
func (m *RedisResultFloat64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RedisResultFloat64) XXX_Merge ¶
func (m *RedisResultFloat64) XXX_Merge(src proto.Message)
func (*RedisResultFloat64) XXX_Size ¶
func (m *RedisResultFloat64) XXX_Size() int
func (*RedisResultFloat64) XXX_Unmarshal ¶
func (m *RedisResultFloat64) XXX_Unmarshal(b []byte) error
type RedisResultInt ¶
type RedisResultInt struct { Response int32 `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RedisResultInt) Descriptor ¶
func (*RedisResultInt) Descriptor() ([]byte, []int)
func (*RedisResultInt) GetResponse ¶
func (m *RedisResultInt) GetResponse() int32
func (*RedisResultInt) ProtoMessage ¶
func (*RedisResultInt) ProtoMessage()
func (*RedisResultInt) Reset ¶
func (m *RedisResultInt) Reset()
func (*RedisResultInt) String ¶
func (m *RedisResultInt) String() string
func (*RedisResultInt) XXX_DiscardUnknown ¶
func (m *RedisResultInt) XXX_DiscardUnknown()
func (*RedisResultInt) XXX_Marshal ¶
func (m *RedisResultInt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RedisResultInt) XXX_Merge ¶
func (m *RedisResultInt) XXX_Merge(src proto.Message)
func (*RedisResultInt) XXX_Size ¶
func (m *RedisResultInt) XXX_Size() int
func (*RedisResultInt) XXX_Unmarshal ¶
func (m *RedisResultInt) XXX_Unmarshal(b []byte) error
type RedisResultInt64 ¶
type RedisResultInt64 struct { Response int64 `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RedisResultInt64) Descriptor ¶
func (*RedisResultInt64) Descriptor() ([]byte, []int)
func (*RedisResultInt64) GetResponse ¶
func (m *RedisResultInt64) GetResponse() int64
func (*RedisResultInt64) ProtoMessage ¶
func (*RedisResultInt64) ProtoMessage()
func (*RedisResultInt64) Reset ¶
func (m *RedisResultInt64) Reset()
func (*RedisResultInt64) String ¶
func (m *RedisResultInt64) String() string
func (*RedisResultInt64) XXX_DiscardUnknown ¶
func (m *RedisResultInt64) XXX_DiscardUnknown()
func (*RedisResultInt64) XXX_Marshal ¶
func (m *RedisResultInt64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RedisResultInt64) XXX_Merge ¶
func (m *RedisResultInt64) XXX_Merge(src proto.Message)
func (*RedisResultInt64) XXX_Size ¶
func (m *RedisResultInt64) XXX_Size() int
func (*RedisResultInt64) XXX_Unmarshal ¶
func (m *RedisResultInt64) XXX_Unmarshal(b []byte) error
type RedisResultString ¶
type RedisResultString struct { Response string `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RedisResultString) Descriptor ¶
func (*RedisResultString) Descriptor() ([]byte, []int)
func (*RedisResultString) GetResponse ¶
func (m *RedisResultString) GetResponse() string
func (*RedisResultString) ProtoMessage ¶
func (*RedisResultString) ProtoMessage()
func (*RedisResultString) Reset ¶
func (m *RedisResultString) Reset()
func (*RedisResultString) String ¶
func (m *RedisResultString) String() string
func (*RedisResultString) XXX_DiscardUnknown ¶
func (m *RedisResultString) XXX_DiscardUnknown()
func (*RedisResultString) XXX_Marshal ¶
func (m *RedisResultString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RedisResultString) XXX_Merge ¶
func (m *RedisResultString) XXX_Merge(src proto.Message)
func (*RedisResultString) XXX_Size ¶
func (m *RedisResultString) XXX_Size() int
func (*RedisResultString) XXX_Unmarshal ¶
func (m *RedisResultString) XXX_Unmarshal(b []byte) error
type RedisResultUInt64 ¶
type RedisResultUInt64 struct { Response uint64 `protobuf:"varint,1,opt,name=response,proto3" json:"response,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RedisResultUInt64) Descriptor ¶
func (*RedisResultUInt64) Descriptor() ([]byte, []int)
func (*RedisResultUInt64) GetResponse ¶
func (m *RedisResultUInt64) GetResponse() uint64
func (*RedisResultUInt64) ProtoMessage ¶
func (*RedisResultUInt64) ProtoMessage()
func (*RedisResultUInt64) Reset ¶
func (m *RedisResultUInt64) Reset()
func (*RedisResultUInt64) String ¶
func (m *RedisResultUInt64) String() string
func (*RedisResultUInt64) XXX_DiscardUnknown ¶
func (m *RedisResultUInt64) XXX_DiscardUnknown()
func (*RedisResultUInt64) XXX_Marshal ¶
func (m *RedisResultUInt64) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RedisResultUInt64) XXX_Merge ¶
func (m *RedisResultUInt64) XXX_Merge(src proto.Message)
func (*RedisResultUInt64) XXX_Size ¶
func (m *RedisResultUInt64) XXX_Size() int
func (*RedisResultUInt64) XXX_Unmarshal ¶
func (m *RedisResultUInt64) XXX_Unmarshal(b []byte) error
type RedisService ¶
type RedisService interface { SetValue(ctx context.Context, in *SetRedisObject, opts ...client.CallOption) (*RedisEmpty, error) GetValue(ctx context.Context, in *GetRedisKey, opts ...client.CallOption) (*RedisResultBytes, error) GetValueAllowEmpty(ctx context.Context, in *GetRedisKey, opts ...client.CallOption) (*RedisResultString, error) GetValueAsInt(ctx context.Context, in *GetRedisKey, opts ...client.CallOption) (*RedisResultInt, error) GetValueAsInt64(ctx context.Context, in *GetRedisKey, opts ...client.CallOption) (*RedisResultInt64, error) GetValueAsUInt64(ctx context.Context, in *GetRedisKey, opts ...client.CallOption) (*RedisResultUInt64, error) GetValueAsFloat32(ctx context.Context, in *GetRedisKey, opts ...client.CallOption) (*RedisResultFloat32, error) GetValueAsFloat64(ctx context.Context, in *GetRedisKey, opts ...client.CallOption) (*RedisResultFloat64, error) GetValueAsTime(ctx context.Context, in *GetRedisKey, opts ...client.CallOption) (*RedisResultUInt64, error) Increment(ctx context.Context, in *GetRedisKey, opts ...client.CallOption) (*RedisResultInt64, error) IncrementBy(ctx context.Context, in *IncrementDecrementRedis, opts ...client.CallOption) (*RedisResultInt64, error) Decrement(ctx context.Context, in *GetRedisKey, opts ...client.CallOption) (*RedisResultInt64, error) DecrementBy(ctx context.Context, in *IncrementDecrementRedis, opts ...client.CallOption) (*RedisResultInt64, error) Has(ctx context.Context, in *GetRedisKey, opts ...client.CallOption) (*RedisResultBoolean, error) Remove(ctx context.Context, in *GetRedisKeys, opts ...client.CallOption) (*RedisResultInt64, error) }
func NewRedisService ¶
func NewRedisService(name string, c client.Client) RedisService
type RedisServiceHandler ¶
type RedisServiceHandler interface { SetValue(context.Context, *SetRedisObject, *RedisEmpty) error GetValue(context.Context, *GetRedisKey, *RedisResultBytes) error GetValueAllowEmpty(context.Context, *GetRedisKey, *RedisResultString) error GetValueAsInt(context.Context, *GetRedisKey, *RedisResultInt) error GetValueAsInt64(context.Context, *GetRedisKey, *RedisResultInt64) error GetValueAsUInt64(context.Context, *GetRedisKey, *RedisResultUInt64) error GetValueAsFloat32(context.Context, *GetRedisKey, *RedisResultFloat32) error GetValueAsFloat64(context.Context, *GetRedisKey, *RedisResultFloat64) error GetValueAsTime(context.Context, *GetRedisKey, *RedisResultUInt64) error Increment(context.Context, *GetRedisKey, *RedisResultInt64) error IncrementBy(context.Context, *IncrementDecrementRedis, *RedisResultInt64) error Decrement(context.Context, *GetRedisKey, *RedisResultInt64) error DecrementBy(context.Context, *IncrementDecrementRedis, *RedisResultInt64) error Has(context.Context, *GetRedisKey, *RedisResultBoolean) error Remove(context.Context, *GetRedisKeys, *RedisResultInt64) error }
type SetRedisObject ¶
type SetRedisObject 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"` Expiration int64 `protobuf:"varint,3,opt,name=expiration,proto3" json:"expiration,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetRedisObject) Descriptor ¶
func (*SetRedisObject) Descriptor() ([]byte, []int)
func (*SetRedisObject) GetExpiration ¶
func (m *SetRedisObject) GetExpiration() int64
func (*SetRedisObject) GetKey ¶
func (m *SetRedisObject) GetKey() string
func (*SetRedisObject) GetValue ¶
func (m *SetRedisObject) GetValue() string
func (*SetRedisObject) ProtoMessage ¶
func (*SetRedisObject) ProtoMessage()
func (*SetRedisObject) Reset ¶
func (m *SetRedisObject) Reset()
func (*SetRedisObject) String ¶
func (m *SetRedisObject) String() string
func (*SetRedisObject) XXX_DiscardUnknown ¶
func (m *SetRedisObject) XXX_DiscardUnknown()
func (*SetRedisObject) XXX_Marshal ¶
func (m *SetRedisObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetRedisObject) XXX_Merge ¶
func (m *SetRedisObject) XXX_Merge(src proto.Message)
func (*SetRedisObject) XXX_Size ¶
func (m *SetRedisObject) XXX_Size() int
func (*SetRedisObject) XXX_Unmarshal ¶
func (m *SetRedisObject) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.