Documentation ¶
Index ¶
- Constants
- Variables
- type BytesResponse
- func (p *BytesResponse) GetCode() int32
- func (p *BytesResponse) GetMsg() string
- func (p *BytesResponse) GetRes() []byte
- func (p *BytesResponse) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *BytesResponse) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *BytesResponse) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *BytesResponse) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *BytesResponse) String() string
- func (p *BytesResponse) Write(ctx context.Context, tp thrift.TProtocol) error
- type ClusterInfoArgs
- func (p *ClusterInfoArgs) GetAppid() string
- func (p *ClusterInfoArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ClusterInfoArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *ClusterInfoArgs) String() string
- func (p *ClusterInfoArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type ClusterInfoResult
- func (p *ClusterInfoResult) GetSuccess() *Response
- func (p *ClusterInfoResult) IsSetSuccess() bool
- func (p *ClusterInfoResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ClusterInfoResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *ClusterInfoResult) String() string
- func (p *ClusterInfoResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type ClusterNodesArgs
- func (p *ClusterNodesArgs) GetAppid() string
- func (p *ClusterNodesArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ClusterNodesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *ClusterNodesArgs) String() string
- func (p *ClusterNodesArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type ClusterNodesResult
- func (p *ClusterNodesResult) GetSuccess() *Response
- func (p *ClusterNodesResult) IsSetSuccess() bool
- func (p *ClusterNodesResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ClusterNodesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *ClusterNodesResult) String() string
- func (p *ClusterNodesResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type DelArgs
- func (p *DelArgs) GetAppid() string
- func (p *DelArgs) GetKey() string
- func (p *DelArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *DelArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *DelArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *DelArgs) String() string
- func (p *DelArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type DelResult
- func (p *DelResult) GetSuccess() *IntResponse
- func (p *DelResult) IsSetSuccess() bool
- func (p *DelResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *DelResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *DelResult) String() string
- func (p *DelResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type ExistsArgs
- func (p *ExistsArgs) GetAppid() string
- func (p *ExistsArgs) GetKey() string
- func (p *ExistsArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ExistsArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *ExistsArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *ExistsArgs) String() string
- func (p *ExistsArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type ExistsResult
- func (p *ExistsResult) GetSuccess() *Response
- func (p *ExistsResult) IsSetSuccess() bool
- func (p *ExistsResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ExistsResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *ExistsResult) String() string
- func (p *ExistsResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type ExpireArgs
- func (p *ExpireArgs) GetAppid() string
- func (p *ExpireArgs) GetKey() string
- func (p *ExpireArgs) GetTTL() int64
- func (p *ExpireArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ExpireArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *ExpireArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *ExpireArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *ExpireArgs) String() string
- func (p *ExpireArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type ExpireResult
- func (p *ExpireResult) GetSuccess() *Response
- func (p *ExpireResult) IsSetSuccess() bool
- func (p *ExpireResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ExpireResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *ExpireResult) String() string
- func (p *ExpireResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type FloatResponse
- func (p *FloatResponse) GetCode() int32
- func (p *FloatResponse) GetMsg() string
- func (p *FloatResponse) GetRes() float64
- func (p *FloatResponse) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *FloatResponse) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *FloatResponse) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *FloatResponse) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *FloatResponse) String() string
- func (p *FloatResponse) Write(ctx context.Context, tp thrift.TProtocol) error
- type GetArgs
- func (p *GetArgs) GetAppid() string
- func (p *GetArgs) GetKey() string
- func (p *GetArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetArgs) String() string
- func (p *GetArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type GetBytesArgs
- func (p *GetBytesArgs) GetAppid() string
- func (p *GetBytesArgs) GetKey() string
- func (p *GetBytesArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetBytesArgs) String() string
- func (p *GetBytesArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type GetBytesResult
- func (p *GetBytesResult) GetSuccess() *BytesResponse
- func (p *GetBytesResult) IsSetSuccess() bool
- func (p *GetBytesResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetBytesResult) String() string
- func (p *GetBytesResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type GetResult
- func (p *GetResult) GetSuccess() *Response
- func (p *GetResult) IsSetSuccess() bool
- func (p *GetResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetResult) String() string
- func (p *GetResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type GetSetArgs
- func (p *GetSetArgs) GetAppid() string
- func (p *GetSetArgs) GetKey() string
- func (p *GetSetArgs) GetValue() string
- func (p *GetSetArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetSetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetSetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetSetArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetSetArgs) String() string
- func (p *GetSetArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type GetSetBytesArgs
- func (p *GetSetBytesArgs) GetAppid() string
- func (p *GetSetBytesArgs) GetKey() string
- func (p *GetSetBytesArgs) GetValue() []byte
- func (p *GetSetBytesArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetSetBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetSetBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetSetBytesArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetSetBytesArgs) String() string
- func (p *GetSetBytesArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type GetSetBytesResult
- func (p *GetSetBytesResult) GetSuccess() *BytesResponse
- func (p *GetSetBytesResult) IsSetSuccess() bool
- func (p *GetSetBytesResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetSetBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetSetBytesResult) String() string
- func (p *GetSetBytesResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type GetSetResult
- func (p *GetSetResult) GetSuccess() *Response
- func (p *GetSetResult) IsSetSuccess() bool
- func (p *GetSetResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetSetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *GetSetResult) String() string
- func (p *GetSetResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type HDelArgs
- func (p *HDelArgs) GetAppid() string
- func (p *HDelArgs) GetField() string
- func (p *HDelArgs) GetKey() string
- func (p *HDelArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HDelArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *HDelArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *HDelArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *HDelArgs) String() string
- func (p *HDelArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type HDelResult
- func (p *HDelResult) GetSuccess() *IntResponse
- func (p *HDelResult) IsSetSuccess() bool
- func (p *HDelResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HDelResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *HDelResult) String() string
- func (p *HDelResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type HExistsArgs
- func (p *HExistsArgs) GetAppid() string
- func (p *HExistsArgs) GetField() string
- func (p *HExistsArgs) GetKey() string
- func (p *HExistsArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HExistsArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *HExistsArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *HExistsArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *HExistsArgs) String() string
- func (p *HExistsArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type HExistsResult
- func (p *HExistsResult) GetSuccess() *Response
- func (p *HExistsResult) IsSetSuccess() bool
- func (p *HExistsResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HExistsResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *HExistsResult) String() string
- func (p *HExistsResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type HGetAllArgs
- func (p *HGetAllArgs) GetAppid() string
- func (p *HGetAllArgs) GetKey() string
- func (p *HGetAllArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HGetAllArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *HGetAllArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *HGetAllArgs) String() string
- func (p *HGetAllArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type HGetAllResult
- func (p *HGetAllResult) GetSuccess() *MResponse
- func (p *HGetAllResult) IsSetSuccess() bool
- func (p *HGetAllResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HGetAllResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *HGetAllResult) String() string
- func (p *HGetAllResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type HGetBytesResult
- func (p *HGetBytesResult) GetSuccess() *BytesResponse
- func (p *HGetBytesResult) IsSetSuccess() bool
- func (p *HGetBytesResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HGetBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *HGetBytesResult) String() string
- func (p *HGetBytesResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type HGetResult
- func (p *HGetResult) GetSuccess() *Response
- func (p *HGetResult) IsSetSuccess() bool
- func (p *HGetResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HGetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *HGetResult) String() string
- func (p *HGetResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type HIncrByArgs
- func (p *HIncrByArgs) GetAppid() string
- func (p *HIncrByArgs) GetField() string
- func (p *HIncrByArgs) GetInrc() int64
- func (p *HIncrByArgs) GetKey() string
- func (p *HIncrByArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HIncrByArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *HIncrByArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *HIncrByArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *HIncrByArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *HIncrByArgs) String() string
- func (p *HIncrByArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type HIncrByFloatArgs
- func (p *HIncrByFloatArgs) GetAppid() string
- func (p *HIncrByFloatArgs) GetField() string
- func (p *HIncrByFloatArgs) GetInrc() float64
- func (p *HIncrByFloatArgs) GetKey() string
- func (p *HIncrByFloatArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HIncrByFloatArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *HIncrByFloatArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *HIncrByFloatArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *HIncrByFloatArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *HIncrByFloatArgs) String() string
- func (p *HIncrByFloatArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type HIncrByFloatResult
- func (p *HIncrByFloatResult) GetSuccess() *FloatResponse
- func (p *HIncrByFloatResult) IsSetSuccess() bool
- func (p *HIncrByFloatResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HIncrByFloatResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *HIncrByFloatResult) String() string
- func (p *HIncrByFloatResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type HIncrByResult
- func (p *HIncrByResult) GetSuccess() *IntResponse
- func (p *HIncrByResult) IsSetSuccess() bool
- func (p *HIncrByResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HIncrByResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *HIncrByResult) String() string
- func (p *HIncrByResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type HKeysArgs
- func (p *HKeysArgs) GetAppid() string
- func (p *HKeysArgs) GetKey() string
- func (p *HKeysArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HKeysArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *HKeysArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *HKeysArgs) String() string
- func (p *HKeysArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type HKeysResult
- func (p *HKeysResult) GetSuccess() *LResponse
- func (p *HKeysResult) IsSetSuccess() bool
- func (p *HKeysResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HKeysResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *HKeysResult) String() string
- func (p *HKeysResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type HMGetBytesArgs
- func (p *HMGetBytesArgs) GetAppid() string
- func (p *HMGetBytesArgs) GetFields() []string
- func (p *HMGetBytesArgs) GetKey() string
- func (p *HMGetBytesArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HMGetBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *HMGetBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *HMGetBytesArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *HMGetBytesArgs) String() string
- func (p *HMGetBytesArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type HMGetBytesResult
- func (p *HMGetBytesResult) GetSuccess() *MBytesResponse
- func (p *HMGetBytesResult) IsSetSuccess() bool
- func (p *HMGetBytesResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HMGetBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *HMGetBytesResult) String() string
- func (p *HMGetBytesResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type HMGetResult
- func (p *HMGetResult) GetSuccess() *MResponse
- func (p *HMGetResult) IsSetSuccess() bool
- func (p *HMGetResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HMGetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *HMGetResult) String() string
- func (p *HMGetResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type HSetArgs
- func (p *HSetArgs) GetAppid() string
- func (p *HSetArgs) GetField() string
- func (p *HSetArgs) GetKey() string
- func (p *HSetArgs) GetValue() string
- func (p *HSetArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetArgs) String() string
- func (p *HSetArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type HSetBytesArgs
- func (p *HSetBytesArgs) GetAppid() string
- func (p *HSetBytesArgs) GetField() string
- func (p *HSetBytesArgs) GetKey() string
- func (p *HSetBytesArgs) GetValue() []byte
- func (p *HSetBytesArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetBytesArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetBytesArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetBytesArgs) String() string
- func (p *HSetBytesArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type HSetBytesResult
- func (p *HSetBytesResult) GetSuccess() *Response
- func (p *HSetBytesResult) IsSetSuccess() bool
- func (p *HSetBytesResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetBytesResult) String() string
- func (p *HSetBytesResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type HSetNXArgs
- func (p *HSetNXArgs) GetAppid() string
- func (p *HSetNXArgs) GetField() string
- func (p *HSetNXArgs) GetKey() string
- func (p *HSetNXArgs) GetValue() string
- func (p *HSetNXArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetNXArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetNXArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetNXArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetNXArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetNXArgs) String() string
- func (p *HSetNXArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type HSetNXBytesArgs
- func (p *HSetNXBytesArgs) GetAppid() string
- func (p *HSetNXBytesArgs) GetField() string
- func (p *HSetNXBytesArgs) GetKey() string
- func (p *HSetNXBytesArgs) GetValue() string
- func (p *HSetNXBytesArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetNXBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetNXBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetNXBytesArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetNXBytesArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetNXBytesArgs) String() string
- func (p *HSetNXBytesArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type HSetNXBytesResult
- func (p *HSetNXBytesResult) GetSuccess() *Response
- func (p *HSetNXBytesResult) IsSetSuccess() bool
- func (p *HSetNXBytesResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetNXBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetNXBytesResult) String() string
- func (p *HSetNXBytesResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type HSetNXResult
- func (p *HSetNXResult) GetSuccess() *Response
- func (p *HSetNXResult) IsSetSuccess() bool
- func (p *HSetNXResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetNXResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetNXResult) String() string
- func (p *HSetNXResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type HSetResult
- func (p *HSetResult) GetSuccess() *Response
- func (p *HSetResult) IsSetSuccess() bool
- func (p *HSetResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *HSetResult) String() string
- func (p *HSetResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type HValuesArgs
- func (p *HValuesArgs) GetAppid() string
- func (p *HValuesArgs) GetKey() string
- func (p *HValuesArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HValuesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *HValuesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *HValuesArgs) String() string
- func (p *HValuesArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type HValuesResult
- func (p *HValuesResult) GetSuccess() *LResponse
- func (p *HValuesResult) IsSetSuccess() bool
- func (p *HValuesResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HValuesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *HValuesResult) String() string
- func (p *HValuesResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type HmGetArgs
- func (p *HmGetArgs) GetAppid() string
- func (p *HmGetArgs) GetFields() []string
- func (p *HmGetArgs) GetKey() string
- func (p *HmGetArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HmGetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *HmGetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *HmGetArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *HmGetArgs) String() string
- func (p *HmGetArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type HmSetArgs
- func (p *HmSetArgs) GetAppid() string
- func (p *HmSetArgs) GetFields() map[string]string
- func (p *HmSetArgs) GetKey() string
- func (p *HmSetArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HmSetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *HmSetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *HmSetArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *HmSetArgs) String() string
- func (p *HmSetArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type HmSetBytesArgs
- func (p *HmSetBytesArgs) GetAppid() string
- func (p *HmSetBytesArgs) GetFields() map[string][]byte
- func (p *HmSetBytesArgs) GetKey() string
- func (p *HmSetBytesArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HmSetBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *HmSetBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *HmSetBytesArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *HmSetBytesArgs) String() string
- func (p *HmSetBytesArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type HmSetBytesResult
- func (p *HmSetBytesResult) GetSuccess() *Response
- func (p *HmSetBytesResult) IsSetSuccess() bool
- func (p *HmSetBytesResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HmSetBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *HmSetBytesResult) String() string
- func (p *HmSetBytesResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type HmSetResult
- func (p *HmSetResult) GetSuccess() *Response
- func (p *HmSetResult) IsSetSuccess() bool
- func (p *HmSetResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *HmSetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *HmSetResult) String() string
- func (p *HmSetResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type InfoArgs
- func (p *InfoArgs) GetAppid() string
- func (p *InfoArgs) GetSections() []string
- func (p *InfoArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *InfoArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *InfoArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *InfoArgs) String() string
- func (p *InfoArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type InfoResult
- func (p *InfoResult) GetSuccess() *MResponse
- func (p *InfoResult) IsSetSuccess() bool
- func (p *InfoResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *InfoResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *InfoResult) String() string
- func (p *InfoResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type IntResponse
- func (p *IntResponse) GetCode() int32
- func (p *IntResponse) GetMsg() string
- func (p *IntResponse) GetRes() int64
- func (p *IntResponse) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *IntResponse) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *IntResponse) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *IntResponse) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *IntResponse) String() string
- func (p *IntResponse) Write(ctx context.Context, tp thrift.TProtocol) error
- type KeysArgs
- func (p *KeysArgs) GetAppid() string
- func (p *KeysArgs) GetKey() string
- func (p *KeysArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *KeysArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *KeysArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *KeysArgs) String() string
- func (p *KeysArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type KeysResult
- func (p *KeysResult) GetSuccess() *LResponse
- func (p *KeysResult) IsSetSuccess() bool
- func (p *KeysResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *KeysResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *KeysResult) String() string
- func (p *KeysResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type LBytesResponse
- func (p *LBytesResponse) GetCode() int32
- func (p *LBytesResponse) GetMsg() string
- func (p *LBytesResponse) GetRes() [][]byte
- func (p *LBytesResponse) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LBytesResponse) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *LBytesResponse) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *LBytesResponse) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *LBytesResponse) String() string
- func (p *LBytesResponse) Write(ctx context.Context, tp thrift.TProtocol) error
- type LIndexArgs
- func (p *LIndexArgs) GetAppid() string
- func (p *LIndexArgs) GetIndex() int64
- func (p *LIndexArgs) GetKey() string
- func (p *LIndexArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LIndexArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *LIndexArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *LIndexArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *LIndexArgs) String() string
- func (p *LIndexArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type LIndexResult
- func (p *LIndexResult) GetSuccess() *Response
- func (p *LIndexResult) IsSetSuccess() bool
- func (p *LIndexResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LIndexResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *LIndexResult) String() string
- func (p *LIndexResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type LInsertAfterArgs
- func (p *LInsertAfterArgs) GetAppid() string
- func (p *LInsertAfterArgs) GetKey() string
- func (p *LInsertAfterArgs) GetPivot() string
- func (p *LInsertAfterArgs) GetValue() string
- func (p *LInsertAfterArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LInsertAfterArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *LInsertAfterArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *LInsertAfterArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *LInsertAfterArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *LInsertAfterArgs) String() string
- func (p *LInsertAfterArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type LInsertAfterResult
- func (p *LInsertAfterResult) GetSuccess() *IntResponse
- func (p *LInsertAfterResult) IsSetSuccess() bool
- func (p *LInsertAfterResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LInsertAfterResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *LInsertAfterResult) String() string
- func (p *LInsertAfterResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type LInsertBeforeArgs
- func (p *LInsertBeforeArgs) GetAppid() string
- func (p *LInsertBeforeArgs) GetKey() string
- func (p *LInsertBeforeArgs) GetPivot() string
- func (p *LInsertBeforeArgs) GetValue() string
- func (p *LInsertBeforeArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LInsertBeforeArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *LInsertBeforeArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *LInsertBeforeArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *LInsertBeforeArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *LInsertBeforeArgs) String() string
- func (p *LInsertBeforeArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type LInsertBeforeResult
- func (p *LInsertBeforeResult) GetSuccess() *IntResponse
- func (p *LInsertBeforeResult) IsSetSuccess() bool
- func (p *LInsertBeforeResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LInsertBeforeResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *LInsertBeforeResult) String() string
- func (p *LInsertBeforeResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type LLenArgs
- func (p *LLenArgs) GetAppid() string
- func (p *LLenArgs) GetKey() string
- func (p *LLenArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LLenArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *LLenArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *LLenArgs) String() string
- func (p *LLenArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type LLenResult
- func (p *LLenResult) GetSuccess() *IntResponse
- func (p *LLenResult) IsSetSuccess() bool
- func (p *LLenResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LLenResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *LLenResult) String() string
- func (p *LLenResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type LPopByteArgs
- func (p *LPopByteArgs) GetAppid() string
- func (p *LPopByteArgs) GetKey() string
- func (p *LPopByteArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPopByteArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPopByteArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPopByteArgs) String() string
- func (p *LPopByteArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type LPopByteResult
- func (p *LPopByteResult) GetSuccess() *BytesResponse
- func (p *LPopByteResult) IsSetSuccess() bool
- func (p *LPopByteResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPopByteResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPopByteResult) String() string
- func (p *LPopByteResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type LPopResult
- func (p *LPopResult) GetSuccess() *Response
- func (p *LPopResult) IsSetSuccess() bool
- func (p *LPopResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPopResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPopResult) String() string
- func (p *LPopResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type LPushArgs
- func (p *LPushArgs) GetAppid() string
- func (p *LPushArgs) GetKey() string
- func (p *LPushArgs) GetValue() string
- func (p *LPushArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPushArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPushArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPushArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPushArgs) String() string
- func (p *LPushArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type LPushByteArgs
- func (p *LPushByteArgs) GetAppid() string
- func (p *LPushByteArgs) GetKey() string
- func (p *LPushByteArgs) GetValue() []byte
- func (p *LPushByteArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPushByteArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPushByteArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPushByteArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPushByteArgs) String() string
- func (p *LPushByteArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type LPushByteResult
- func (p *LPushByteResult) GetSuccess() *IntResponse
- func (p *LPushByteResult) IsSetSuccess() bool
- func (p *LPushByteResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPushByteResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPushByteResult) String() string
- func (p *LPushByteResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type LPushResult
- func (p *LPushResult) GetSuccess() *IntResponse
- func (p *LPushResult) IsSetSuccess() bool
- func (p *LPushResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPushResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *LPushResult) String() string
- func (p *LPushResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type LRangeArgs
- func (p *LRangeArgs) GetAppid() string
- func (p *LRangeArgs) GetKey() string
- func (p *LRangeArgs) GetStart() int64
- func (p *LRangeArgs) GetStop() int64
- func (p *LRangeArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LRangeArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *LRangeArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *LRangeArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *LRangeArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *LRangeArgs) String() string
- func (p *LRangeArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type LRangeResult
- func (p *LRangeResult) GetSuccess() *LResponse
- func (p *LRangeResult) IsSetSuccess() bool
- func (p *LRangeResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LRangeResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *LRangeResult) String() string
- func (p *LRangeResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type LResponse
- func (p *LResponse) GetCode() int32
- func (p *LResponse) GetMsg() string
- func (p *LResponse) GetRes() []string
- func (p *LResponse) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LResponse) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *LResponse) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *LResponse) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *LResponse) String() string
- func (p *LResponse) Write(ctx context.Context, tp thrift.TProtocol) error
- type LSetArgs
- func (p *LSetArgs) GetAppid() string
- func (p *LSetArgs) GetIndex() int64
- func (p *LSetArgs) GetKey() string
- func (p *LSetArgs) GetValue() string
- func (p *LSetArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LSetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *LSetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *LSetArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *LSetArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *LSetArgs) String() string
- func (p *LSetArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type LSetResult
- func (p *LSetResult) GetSuccess() *Response
- func (p *LSetResult) IsSetSuccess() bool
- func (p *LSetResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LSetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *LSetResult) String() string
- func (p *LSetResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type LTrimArgs
- func (p *LTrimArgs) GetAppid() string
- func (p *LTrimArgs) GetKey() string
- func (p *LTrimArgs) GetStart() int64
- func (p *LTrimArgs) GetStop() int64
- func (p *LTrimArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LTrimArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *LTrimArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *LTrimArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *LTrimArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *LTrimArgs) String() string
- func (p *LTrimArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type LTrimResult
- func (p *LTrimResult) GetSuccess() *Response
- func (p *LTrimResult) IsSetSuccess() bool
- func (p *LTrimResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *LTrimResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *LTrimResult) String() string
- func (p *LTrimResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type MBytesResponse
- func (p *MBytesResponse) GetCode() int32
- func (p *MBytesResponse) GetMsg() string
- func (p *MBytesResponse) GetRes() map[string][]byte
- func (p *MBytesResponse) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MBytesResponse) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *MBytesResponse) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *MBytesResponse) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *MBytesResponse) String() string
- func (p *MBytesResponse) Write(ctx context.Context, tp thrift.TProtocol) error
- type MDelArgs
- func (p *MDelArgs) GetAppid() string
- func (p *MDelArgs) GetKeys() []string
- func (p *MDelArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MDelArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *MDelArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *MDelArgs) String() string
- func (p *MDelArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type MDelResult
- func (p *MDelResult) GetSuccess() *IntResponse
- func (p *MDelResult) IsSetSuccess() bool
- func (p *MDelResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MDelResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *MDelResult) String() string
- func (p *MDelResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type MGetArgs
- func (p *MGetArgs) GetAppid() string
- func (p *MGetArgs) GetKeys() []string
- func (p *MGetArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MGetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *MGetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *MGetArgs) String() string
- func (p *MGetArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type MGetBytesArgs
- func (p *MGetBytesArgs) GetAppid() string
- func (p *MGetBytesArgs) GetKeys() []string
- func (p *MGetBytesArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MGetBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *MGetBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *MGetBytesArgs) String() string
- func (p *MGetBytesArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type MGetBytesResult
- func (p *MGetBytesResult) GetSuccess() *MBytesResponse
- func (p *MGetBytesResult) IsSetSuccess() bool
- func (p *MGetBytesResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MGetBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *MGetBytesResult) String() string
- func (p *MGetBytesResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type MGetResult
- func (p *MGetResult) GetSuccess() *MResponse
- func (p *MGetResult) IsSetSuccess() bool
- func (p *MGetResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MGetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *MGetResult) String() string
- func (p *MGetResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type MIntResponse
- func (p *MIntResponse) GetCode() int32
- func (p *MIntResponse) GetMsg() string
- func (p *MIntResponse) GetRes() map[string]int64
- func (p *MIntResponse) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MIntResponse) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *MIntResponse) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *MIntResponse) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *MIntResponse) String() string
- func (p *MIntResponse) Write(ctx context.Context, tp thrift.TProtocol) error
- type MResponse
- func (p *MResponse) GetCode() int32
- func (p *MResponse) GetMsg() string
- func (p *MResponse) GetRes() map[string]string
- func (p *MResponse) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MResponse) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *MResponse) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *MResponse) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *MResponse) String() string
- func (p *MResponse) Write(ctx context.Context, tp thrift.TProtocol) error
- type MSetArgs
- func (p *MSetArgs) GetAppid() string
- func (p *MSetArgs) GetReqs() map[string]string
- func (p *MSetArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MSetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *MSetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *MSetArgs) String() string
- func (p *MSetArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type MSetBytesResult
- func (p *MSetBytesResult) GetSuccess() *Response
- func (p *MSetBytesResult) IsSetSuccess() bool
- func (p *MSetBytesResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MSetBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *MSetBytesResult) String() string
- func (p *MSetBytesResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type MSetResult
- func (p *MSetResult) GetSuccess() *Response
- func (p *MSetResult) IsSetSuccess() bool
- func (p *MSetResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MSetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *MSetResult) String() string
- func (p *MSetResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type MhDelArgs
- func (p *MhDelArgs) GetAppid() string
- func (p *MhDelArgs) GetFields() []string
- func (p *MhDelArgs) GetKey() string
- func (p *MhDelArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MhDelArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *MhDelArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *MhDelArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *MhDelArgs) String() string
- func (p *MhDelArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type MhDelResult
- func (p *MhDelResult) GetSuccess() *IntResponse
- func (p *MhDelResult) IsSetSuccess() bool
- func (p *MhDelResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MhDelResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *MhDelResult) String() string
- func (p *MhDelResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type MlLenArgs
- func (p *MlLenArgs) GetAppid() string
- func (p *MlLenArgs) GetKeys() []string
- func (p *MlLenArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlLenArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlLenArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlLenArgs) String() string
- func (p *MlLenArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type MlLenResult
- func (p *MlLenResult) GetSuccess() *MIntResponse
- func (p *MlLenResult) IsSetSuccess() bool
- func (p *MlLenResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlLenResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlLenResult) String() string
- func (p *MlLenResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type MlPushArgs
- func (p *MlPushArgs) GetAppid() string
- func (p *MlPushArgs) GetKey() string
- func (p *MlPushArgs) GetValue() []string
- func (p *MlPushArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushArgs) String() string
- func (p *MlPushArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type MlPushByteWithTTLArgs
- func (p *MlPushByteWithTTLArgs) GetAppid() string
- func (p *MlPushByteWithTTLArgs) GetKey() string
- func (p *MlPushByteWithTTLArgs) GetTTL() int64
- func (p *MlPushByteWithTTLArgs) GetValue() [][]byte
- func (p *MlPushByteWithTTLArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushByteWithTTLArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushByteWithTTLArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushByteWithTTLArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushByteWithTTLArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushByteWithTTLArgs) String() string
- func (p *MlPushByteWithTTLArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type MlPushByteWithTTLResult
- func (p *MlPushByteWithTTLResult) GetSuccess() *IntResponse
- func (p *MlPushByteWithTTLResult) IsSetSuccess() bool
- func (p *MlPushByteWithTTLResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushByteWithTTLResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushByteWithTTLResult) String() string
- func (p *MlPushByteWithTTLResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type MlPushResult
- func (p *MlPushResult) GetSuccess() *IntResponse
- func (p *MlPushResult) IsSetSuccess() bool
- func (p *MlPushResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushResult) String() string
- func (p *MlPushResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type MlPushWithTTLArgs
- func (p *MlPushWithTTLArgs) GetAppid() string
- func (p *MlPushWithTTLArgs) GetKey() string
- func (p *MlPushWithTTLArgs) GetTTL() int64
- func (p *MlPushWithTTLArgs) GetValue() []string
- func (p *MlPushWithTTLArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushWithTTLArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushWithTTLArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushWithTTLArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushWithTTLArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushWithTTLArgs) String() string
- func (p *MlPushWithTTLArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type MlPushWithTTLResult
- func (p *MlPushWithTTLResult) GetSuccess() *IntResponse
- func (p *MlPushWithTTLResult) IsSetSuccess() bool
- func (p *MlPushWithTTLResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushWithTTLResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *MlPushWithTTLResult) String() string
- func (p *MlPushWithTTLResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type MrPushByteWithTTLArgs
- func (p *MrPushByteWithTTLArgs) GetAppid() string
- func (p *MrPushByteWithTTLArgs) GetKey() string
- func (p *MrPushByteWithTTLArgs) GetTTL() int64
- func (p *MrPushByteWithTTLArgs) GetValue() [][]byte
- func (p *MrPushByteWithTTLArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MrPushByteWithTTLArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *MrPushByteWithTTLArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *MrPushByteWithTTLArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *MrPushByteWithTTLArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *MrPushByteWithTTLArgs) String() string
- func (p *MrPushByteWithTTLArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type MrPushByteWithTTLResult
- func (p *MrPushByteWithTTLResult) GetSuccess() *IntResponse
- func (p *MrPushByteWithTTLResult) IsSetSuccess() bool
- func (p *MrPushByteWithTTLResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MrPushByteWithTTLResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *MrPushByteWithTTLResult) String() string
- func (p *MrPushByteWithTTLResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type MrPushWithTTLArgs
- func (p *MrPushWithTTLArgs) GetAppid() string
- func (p *MrPushWithTTLArgs) GetKey() string
- func (p *MrPushWithTTLArgs) GetTTL() int64
- func (p *MrPushWithTTLArgs) GetValue() []string
- func (p *MrPushWithTTLArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MrPushWithTTLArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *MrPushWithTTLArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *MrPushWithTTLArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *MrPushWithTTLArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *MrPushWithTTLArgs) String() string
- func (p *MrPushWithTTLArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type MrPushWithTTLResult
- func (p *MrPushWithTTLResult) GetSuccess() *IntResponse
- func (p *MrPushWithTTLResult) IsSetSuccess() bool
- func (p *MrPushWithTTLResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MrPushWithTTLResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *MrPushWithTTLResult) String() string
- func (p *MrPushWithTTLResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type MsAddArgs
- func (p *MsAddArgs) GetAppid() string
- func (p *MsAddArgs) GetKey() string
- func (p *MsAddArgs) GetMembers() []string
- func (p *MsAddArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MsAddArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *MsAddArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *MsAddArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *MsAddArgs) String() string
- func (p *MsAddArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type MsAddResult
- func (p *MsAddResult) GetSuccess() *IntResponse
- func (p *MsAddResult) IsSetSuccess() bool
- func (p *MsAddResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MsAddResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *MsAddResult) String() string
- func (p *MsAddResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type MsRemArgs
- func (p *MsRemArgs) GetAppid() string
- func (p *MsRemArgs) GetKey() string
- func (p *MsRemArgs) GetMember() []string
- func (p *MsRemArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MsRemArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *MsRemArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *MsRemArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *MsRemArgs) String() string
- func (p *MsRemArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type MsRemResult
- func (p *MsRemResult) GetSuccess() *IntResponse
- func (p *MsRemResult) IsSetSuccess() bool
- func (p *MsRemResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MsRemResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *MsRemResult) String() string
- func (p *MsRemResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type MzAddArgs
- func (p *MzAddArgs) GetAppid() string
- func (p *MzAddArgs) GetKey() string
- func (p *MzAddArgs) GetMembers() []*Z
- func (p *MzAddArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MzAddArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *MzAddArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *MzAddArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *MzAddArgs) String() string
- func (p *MzAddArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type MzAddResult
- func (p *MzAddResult) GetSuccess() *IntResponse
- func (p *MzAddResult) IsSetSuccess() bool
- func (p *MzAddResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MzAddResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *MzAddResult) String() string
- func (p *MzAddResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type MzRemArgs
- func (p *MzRemArgs) GetAppid() string
- func (p *MzRemArgs) GetKey() string
- func (p *MzRemArgs) GetMembers() []string
- func (p *MzRemArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MzRemArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *MzRemArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *MzRemArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *MzRemArgs) String() string
- func (p *MzRemArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type MzRemResult
- func (p *MzRemResult) GetSuccess() *IntResponse
- func (p *MzRemResult) IsSetSuccess() bool
- func (p *MzRemResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *MzRemResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *MzRemResult) String() string
- func (p *MzRemResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type NodeInfoArgs
- func (p *NodeInfoArgs) GetAddr() string
- func (p *NodeInfoArgs) GetAppid() string
- func (p *NodeInfoArgs) GetSections() []string
- func (p *NodeInfoArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *NodeInfoArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *NodeInfoArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *NodeInfoArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *NodeInfoArgs) String() string
- func (p *NodeInfoArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type NodeInfoResult
- func (p *NodeInfoResult) GetSuccess() *Response
- func (p *NodeInfoResult) IsSetSuccess() bool
- func (p *NodeInfoResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *NodeInfoResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *NodeInfoResult) String() string
- func (p *NodeInfoResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type PingArgs
- type PingResult
- func (p *PingResult) GetSuccess() int32
- func (p *PingResult) IsSetSuccess() bool
- func (p *PingResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *PingResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *PingResult) String() string
- func (p *PingResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type ProxyHGetArgs
- func (p *ProxyHGetArgs) GetAppid() string
- func (p *ProxyHGetArgs) GetField() string
- func (p *ProxyHGetArgs) GetKey() string
- func (p *ProxyHGetArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ProxyHGetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *ProxyHGetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *ProxyHGetArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *ProxyHGetArgs) String() string
- func (p *ProxyHGetArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type ProxyLPopArgs
- func (p *ProxyLPopArgs) GetAppid() string
- func (p *ProxyLPopArgs) GetKey() string
- func (p *ProxyLPopArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ProxyLPopArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *ProxyLPopArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *ProxyLPopArgs) String() string
- func (p *ProxyLPopArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type RPopArgs
- func (p *RPopArgs) GetAppid() string
- func (p *RPopArgs) GetKey() string
- func (p *RPopArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPopArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPopArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPopArgs) String() string
- func (p *RPopArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type RPopByteArgs
- func (p *RPopByteArgs) GetAppid() string
- func (p *RPopByteArgs) GetKey() string
- func (p *RPopByteArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPopByteArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPopByteArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPopByteArgs) String() string
- func (p *RPopByteArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type RPopByteResult
- func (p *RPopByteResult) GetSuccess() *BytesResponse
- func (p *RPopByteResult) IsSetSuccess() bool
- func (p *RPopByteResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPopByteResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPopByteResult) String() string
- func (p *RPopByteResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type RPopResult
- func (p *RPopResult) GetSuccess() *Response
- func (p *RPopResult) IsSetSuccess() bool
- func (p *RPopResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPopResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPopResult) String() string
- func (p *RPopResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type RPushArgs
- func (p *RPushArgs) GetAppid() string
- func (p *RPushArgs) GetKey() string
- func (p *RPushArgs) GetValue() string
- func (p *RPushArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPushArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPushArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPushArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPushArgs) String() string
- func (p *RPushArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type RPushByteArgs
- func (p *RPushByteArgs) GetAppid() string
- func (p *RPushByteArgs) GetKey() string
- func (p *RPushByteArgs) GetValue() []byte
- func (p *RPushByteArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPushByteArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPushByteArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPushByteArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPushByteArgs) String() string
- func (p *RPushByteArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type RPushByteResult
- func (p *RPushByteResult) GetSuccess() *IntResponse
- func (p *RPushByteResult) IsSetSuccess() bool
- func (p *RPushByteResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPushByteResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPushByteResult) String() string
- func (p *RPushByteResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type RPushResult
- func (p *RPushResult) GetSuccess() *IntResponse
- func (p *RPushResult) IsSetSuccess() bool
- func (p *RPushResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPushResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *RPushResult) String() string
- func (p *RPushResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type RedisProxy
- type RedisProxyClient
- func (p *RedisProxyClient) Client_() thrift.TClient
- func (p *RedisProxyClient) ClusterInfo(ctx context.Context, appid string) (r *Response, err error)
- func (p *RedisProxyClient) ClusterNodes(ctx context.Context, appid string) (r *Response, err error)
- func (p *RedisProxyClient) Del(ctx context.Context, appid string, key string) (r *IntResponse, err error)
- func (p *RedisProxyClient) Exists(ctx context.Context, appid string, key string) (r *Response, err error)
- func (p *RedisProxyClient) Expire(ctx context.Context, appid string, key string, ttl int64) (r *Response, err error)
- func (p *RedisProxyClient) Get(ctx context.Context, appid string, key string) (r *Response, err error)
- func (p *RedisProxyClient) GetBytes(ctx context.Context, appid string, key string) (r *BytesResponse, err error)
- func (p *RedisProxyClient) GetSet(ctx context.Context, appid string, key string, value string) (r *Response, err error)
- func (p *RedisProxyClient) GetSetBytes(ctx context.Context, appid string, key string, value []byte) (r *BytesResponse, err error)
- func (p *RedisProxyClient) HDel(ctx context.Context, appid string, key string, field string) (r *IntResponse, err error)
- func (p *RedisProxyClient) HExists(ctx context.Context, appid string, key string, field string) (r *Response, err error)
- func (p *RedisProxyClient) HGet(ctx context.Context, appid string, key string, field string) (r *Response, err error)
- func (p *RedisProxyClient) HGetAll(ctx context.Context, appid string, key string) (r *MResponse, err error)
- func (p *RedisProxyClient) HGetBytes(ctx context.Context, appid string, key string, field string) (r *BytesResponse, err error)
- func (p *RedisProxyClient) HIncrBy(ctx context.Context, appid string, key string, field string, inrc int64) (r *IntResponse, err error)
- func (p *RedisProxyClient) HIncrByFloat(ctx context.Context, appid string, key string, field string, inrc float64) (r *FloatResponse, err error)
- func (p *RedisProxyClient) HKeys(ctx context.Context, appid string, key string) (r *LResponse, err error)
- func (p *RedisProxyClient) HMGet(ctx context.Context, appid string, key string, fields []string) (r *MResponse, err error)
- func (p *RedisProxyClient) HMGetBytes(ctx context.Context, appid string, key string, fields []string) (r *MBytesResponse, err error)
- func (p *RedisProxyClient) HMSet(ctx context.Context, appid string, key string, fields map[string]string) (r *Response, err error)
- func (p *RedisProxyClient) HMSetBytes(ctx context.Context, appid string, key string, fields map[string][]byte) (r *Response, err error)
- func (p *RedisProxyClient) HSet(ctx context.Context, appid string, key string, field string, value string) (r *Response, err error)
- func (p *RedisProxyClient) HSetBytes(ctx context.Context, appid string, key string, field string, value []byte) (r *Response, err error)
- func (p *RedisProxyClient) HSetNX(ctx context.Context, appid string, key string, field string, value string) (r *Response, err error)
- func (p *RedisProxyClient) HSetNXBytes(ctx context.Context, appid string, key string, field string, value string) (r *Response, err error)
- func (p *RedisProxyClient) HVals(ctx context.Context, appid string, key string) (r *LResponse, err error)
- func (p *RedisProxyClient) Info(ctx context.Context, appid string, sections []string) (r *MResponse, err error)
- func (p *RedisProxyClient) Keys(ctx context.Context, appid string, key string) (r *LResponse, err error)
- func (p *RedisProxyClient) LIndex(ctx context.Context, appid string, key string, index int64) (r *Response, err error)
- func (p *RedisProxyClient) LInsertAfter(ctx context.Context, appid string, key string, pivot string, value string) (r *IntResponse, err error)
- func (p *RedisProxyClient) LInsertBefore(ctx context.Context, appid string, key string, pivot string, value string) (r *IntResponse, err error)
- func (p *RedisProxyClient) LLen(ctx context.Context, appid string, key string) (r *IntResponse, err error)
- func (p *RedisProxyClient) LPop(ctx context.Context, appid string, key string) (r *Response, err error)
- func (p *RedisProxyClient) LPopByte(ctx context.Context, appid string, key string) (r *BytesResponse, err error)
- func (p *RedisProxyClient) LPush(ctx context.Context, appid string, key string, value string) (r *IntResponse, err error)
- func (p *RedisProxyClient) LPushByte(ctx context.Context, appid string, key string, value []byte) (r *IntResponse, err error)
- func (p *RedisProxyClient) LRange(ctx context.Context, appid string, key string, start int64, stop int64) (r *LResponse, err error)
- func (p *RedisProxyClient) LSet(ctx context.Context, appid string, key string, index int64, value string) (r *Response, err error)
- func (p *RedisProxyClient) LTrim(ctx context.Context, appid string, key string, start int64, stop int64) (r *Response, err error)
- func (p *RedisProxyClient) MDel(ctx context.Context, appid string, keys []string) (r *IntResponse, err error)
- func (p *RedisProxyClient) MGet(ctx context.Context, appid string, keys []string) (r *MResponse, err error)
- func (p *RedisProxyClient) MGetBytes(ctx context.Context, appid string, keys []string) (r *MBytesResponse, err error)
- func (p *RedisProxyClient) MHDel(ctx context.Context, appid string, key string, fields []string) (r *IntResponse, err error)
- func (p *RedisProxyClient) MLLen(ctx context.Context, appid string, keys []string) (r *MIntResponse, err error)
- func (p *RedisProxyClient) MLPush(ctx context.Context, appid string, key string, value []string) (r *IntResponse, err error)
- func (p *RedisProxyClient) MLPushByteWithTTL(ctx context.Context, appid string, key string, value [][]byte, ttl int64) (r *IntResponse, err error)
- func (p *RedisProxyClient) MLPushWithTTL(ctx context.Context, appid string, key string, value []string, ttl int64) (r *IntResponse, err error)
- func (p *RedisProxyClient) MRPushByteWithTTL(ctx context.Context, appid string, key string, value [][]byte, ttl int64) (r *IntResponse, err error)
- func (p *RedisProxyClient) MRPushWithTTL(ctx context.Context, appid string, key string, value []string, ttl int64) (r *IntResponse, err error)
- func (p *RedisProxyClient) MSAdd(ctx context.Context, appid string, key string, members []string) (r *IntResponse, err error)
- func (p *RedisProxyClient) MSRem(ctx context.Context, appid string, key string, member []string) (r *IntResponse, err error)
- func (p *RedisProxyClient) MSet(ctx context.Context, appid string, reqs map[string]string) (r *Response, err error)
- func (p *RedisProxyClient) MSetBytes(ctx context.Context, appid string, reqs map[string][]byte) (r *Response, err error)
- func (p *RedisProxyClient) MZAdd(ctx context.Context, appid string, key string, members []*Z) (r *IntResponse, err error)
- func (p *RedisProxyClient) MZRem(ctx context.Context, appid string, key string, members []string) (r *IntResponse, err error)
- func (p *RedisProxyClient) NodeInfo(ctx context.Context, appid string, addr string, sections []string) (r *Response, err error)
- func (p *RedisProxyClient) Ping(ctx context.Context, echo int32) (r int32, err error)
- func (p *RedisProxyClient) RPop(ctx context.Context, appid string, key string) (r *Response, err error)
- func (p *RedisProxyClient) RPopByte(ctx context.Context, appid string, key string) (r *BytesResponse, err error)
- func (p *RedisProxyClient) RPush(ctx context.Context, appid string, key string, value string) (r *IntResponse, err error)
- func (p *RedisProxyClient) RPushByte(ctx context.Context, appid string, key string, value []byte) (r *IntResponse, err error)
- func (p *RedisProxyClient) RedisProxyPing(ctx context.Context, echo int32) (r int32, err error)
- func (p *RedisProxyClient) SAdd(ctx context.Context, appid string, key string, member string) (r *IntResponse, err error)
- func (p *RedisProxyClient) SCard(ctx context.Context, appid string, key string) (r *IntResponse, err error)
- func (p *RedisProxyClient) SIsMember(ctx context.Context, appid string, key string, member string) (r *Response, err error)
- func (p *RedisProxyClient) SMembers(ctx context.Context, appid string, key string) (r *LResponse, err error)
- func (p *RedisProxyClient) SRandMember(ctx context.Context, appid string, key string) (r *Response, err error)
- func (p *RedisProxyClient) SRandMemberN(ctx context.Context, appid string, key string, n int64) (r *LResponse, err error)
- func (p *RedisProxyClient) SRem(ctx context.Context, appid string, key string, member string) (r *IntResponse, err error)
- func (p *RedisProxyClient) Set(ctx context.Context, appid string, key string, value string, ttl int64) (r *Response, err error)
- func (p *RedisProxyClient) SetBytes(ctx context.Context, appid string, key string, value []byte, ttl int64) (r *Response, err error)
- func (p *RedisProxyClient) SetNX(ctx context.Context, appid string, key string, value string, ttl int64) (r *Response, err error)
- func (p *RedisProxyClient) SetNXBytes(ctx context.Context, appid string, key string, value []byte, ttl int64) (r *Response, err error)
- func (p *RedisProxyClient) TTL(ctx context.Context, appid string, key string) (r *IntResponse, err error)
- func (p *RedisProxyClient) ZAdd(ctx context.Context, appid string, key string, member *Z) (r *IntResponse, err error)
- func (p *RedisProxyClient) ZCard(ctx context.Context, appid string, key string) (r *IntResponse, err error)
- func (p *RedisProxyClient) ZCount(ctx context.Context, appid string, key string, min string, max string) (r *IntResponse, err error)
- func (p *RedisProxyClient) ZIncrBy(ctx context.Context, appid string, key string, increment float64, ...) (r *FloatResponse, err error)
- func (p *RedisProxyClient) ZRangeByScoreWithScores(ctx context.Context, appid string, key string, min string, max string, ...) (r *ZResponse, err error)
- func (p *RedisProxyClient) ZRangeWithScores(ctx context.Context, appid string, key string, start int64, stop int64) (r *ZResponse, err error)
- func (p *RedisProxyClient) ZRem(ctx context.Context, appid string, key string, member string) (r *IntResponse, err error)
- func (p *RedisProxyClient) ZRemRangeByRank(ctx context.Context, appid string, key string, start int64, stop int64) (r *IntResponse, err error)
- func (p *RedisProxyClient) ZRemRangeByScore(ctx context.Context, appid string, key string, min string, max string) (r *IntResponse, err error)
- func (p *RedisProxyClient) ZScore(ctx context.Context, appid string, key string, member string) (r *FloatResponse, err error)
- type RedisProxyHGetBytesArgs
- func (p *RedisProxyHGetBytesArgs) GetAppid() string
- func (p *RedisProxyHGetBytesArgs) GetField() string
- func (p *RedisProxyHGetBytesArgs) GetKey() string
- func (p *RedisProxyHGetBytesArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *RedisProxyHGetBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *RedisProxyHGetBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *RedisProxyHGetBytesArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *RedisProxyHGetBytesArgs) String() string
- func (p *RedisProxyHGetBytesArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type RedisProxyMSetBytesArgs
- func (p *RedisProxyMSetBytesArgs) GetAppid() string
- func (p *RedisProxyMSetBytesArgs) GetReqs() map[string][]byte
- func (p *RedisProxyMSetBytesArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *RedisProxyMSetBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *RedisProxyMSetBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *RedisProxyMSetBytesArgs) String() string
- func (p *RedisProxyMSetBytesArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type RedisProxyPingArgs
- func (p *RedisProxyPingArgs) GetEcho() int32
- func (p *RedisProxyPingArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *RedisProxyPingArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *RedisProxyPingArgs) String() string
- func (p *RedisProxyPingArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type RedisProxyPingResult
- func (p *RedisProxyPingResult) GetSuccess() int32
- func (p *RedisProxyPingResult) IsSetSuccess() bool
- func (p *RedisProxyPingResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *RedisProxyPingResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *RedisProxyPingResult) String() string
- func (p *RedisProxyPingResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type RedisProxyProcessor
- func (p *RedisProxyProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *RedisProxyProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *RedisProxyProcessor) Process(ctx context.Context, in, out thrift.TProtocol) (success bool, err thrift.TException)
- func (p *RedisProxyProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type RedisProxySetBytesResult
- func (p *RedisProxySetBytesResult) GetSuccess() *Response
- func (p *RedisProxySetBytesResult) IsSetSuccess() bool
- func (p *RedisProxySetBytesResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *RedisProxySetBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *RedisProxySetBytesResult) String() string
- func (p *RedisProxySetBytesResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type Response
- func (p *Response) GetCode() int32
- func (p *Response) GetMsg() string
- func (p *Response) GetRes() string
- func (p *Response) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *Response) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *Response) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *Response) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *Response) String() string
- func (p *Response) Write(ctx context.Context, tp thrift.TProtocol) error
- type SAddArgs
- func (p *SAddArgs) GetAppid() string
- func (p *SAddArgs) GetKey() string
- func (p *SAddArgs) GetMember() string
- func (p *SAddArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SAddArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *SAddArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *SAddArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *SAddArgs) String() string
- func (p *SAddArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type SAddResult
- func (p *SAddResult) GetSuccess() *IntResponse
- func (p *SAddResult) IsSetSuccess() bool
- func (p *SAddResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SAddResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *SAddResult) String() string
- func (p *SAddResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type SCardArgs
- func (p *SCardArgs) GetAppid() string
- func (p *SCardArgs) GetKey() string
- func (p *SCardArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SCardArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *SCardArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *SCardArgs) String() string
- func (p *SCardArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type SCardResult
- func (p *SCardResult) GetSuccess() *IntResponse
- func (p *SCardResult) IsSetSuccess() bool
- func (p *SCardResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SCardResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *SCardResult) String() string
- func (p *SCardResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type SIsMemberArgs
- func (p *SIsMemberArgs) GetAppid() string
- func (p *SIsMemberArgs) GetKey() string
- func (p *SIsMemberArgs) GetMember() string
- func (p *SIsMemberArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SIsMemberArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *SIsMemberArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *SIsMemberArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *SIsMemberArgs) String() string
- func (p *SIsMemberArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type SIsMemberResult
- func (p *SIsMemberResult) GetSuccess() *Response
- func (p *SIsMemberResult) IsSetSuccess() bool
- func (p *SIsMemberResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SIsMemberResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *SIsMemberResult) String() string
- func (p *SIsMemberResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type SMembersArgs
- func (p *SMembersArgs) GetAppid() string
- func (p *SMembersArgs) GetKey() string
- func (p *SMembersArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SMembersArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *SMembersArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *SMembersArgs) String() string
- func (p *SMembersArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type SMembersResult
- func (p *SMembersResult) GetSuccess() *LResponse
- func (p *SMembersResult) IsSetSuccess() bool
- func (p *SMembersResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SMembersResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *SMembersResult) String() string
- func (p *SMembersResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type SRandMemberArgs
- func (p *SRandMemberArgs) GetAppid() string
- func (p *SRandMemberArgs) GetKey() string
- func (p *SRandMemberArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SRandMemberArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *SRandMemberArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *SRandMemberArgs) String() string
- func (p *SRandMemberArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type SRandMemberNArgs
- func (p *SRandMemberNArgs) GetAppid() string
- func (p *SRandMemberNArgs) GetKey() string
- func (p *SRandMemberNArgs) GetN() int64
- func (p *SRandMemberNArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SRandMemberNArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *SRandMemberNArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *SRandMemberNArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *SRandMemberNArgs) String() string
- func (p *SRandMemberNArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type SRandMemberNResult
- func (p *SRandMemberNResult) GetSuccess() *LResponse
- func (p *SRandMemberNResult) IsSetSuccess() bool
- func (p *SRandMemberNResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SRandMemberNResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *SRandMemberNResult) String() string
- func (p *SRandMemberNResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type SRandMemberResult
- func (p *SRandMemberResult) GetSuccess() *Response
- func (p *SRandMemberResult) IsSetSuccess() bool
- func (p *SRandMemberResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SRandMemberResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *SRandMemberResult) String() string
- func (p *SRandMemberResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type SRemArgs
- func (p *SRemArgs) GetAppid() string
- func (p *SRemArgs) GetKey() string
- func (p *SRemArgs) GetMember() string
- func (p *SRemArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SRemArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *SRemArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *SRemArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *SRemArgs) String() string
- func (p *SRemArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type SRemResult
- func (p *SRemResult) GetSuccess() *IntResponse
- func (p *SRemResult) IsSetSuccess() bool
- func (p *SRemResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SRemResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *SRemResult) String() string
- func (p *SRemResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type SetArgs
- func (p *SetArgs) GetAppid() string
- func (p *SetArgs) GetKey() string
- func (p *SetArgs) GetTTL() int64
- func (p *SetArgs) GetValue() string
- func (p *SetArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetArgs) String() string
- func (p *SetArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type SetBytesArgs
- func (p *SetBytesArgs) GetAppid() string
- func (p *SetBytesArgs) GetKey() string
- func (p *SetBytesArgs) GetTTL() int64
- func (p *SetBytesArgs) GetValue() []byte
- func (p *SetBytesArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetBytesArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetBytesArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetBytesArgs) String() string
- func (p *SetBytesArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type SetNXArgs
- func (p *SetNXArgs) GetAppid() string
- func (p *SetNXArgs) GetKey() string
- func (p *SetNXArgs) GetTTL() int64
- func (p *SetNXArgs) GetValue() string
- func (p *SetNXArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetNXArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetNXArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetNXArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetNXArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetNXArgs) String() string
- func (p *SetNXArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type SetNXBytesArgs
- func (p *SetNXBytesArgs) GetAppid() string
- func (p *SetNXBytesArgs) GetKey() string
- func (p *SetNXBytesArgs) GetTTL() int64
- func (p *SetNXBytesArgs) GetValue() []byte
- func (p *SetNXBytesArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetNXBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetNXBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetNXBytesArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetNXBytesArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetNXBytesArgs) String() string
- func (p *SetNXBytesArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type SetNXBytesResult
- func (p *SetNXBytesResult) GetSuccess() *Response
- func (p *SetNXBytesResult) IsSetSuccess() bool
- func (p *SetNXBytesResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetNXBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetNXBytesResult) String() string
- func (p *SetNXBytesResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type SetNXResult
- func (p *SetNXResult) GetSuccess() *Response
- func (p *SetNXResult) IsSetSuccess() bool
- func (p *SetNXResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetNXResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetNXResult) String() string
- func (p *SetNXResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type SetResult
- func (p *SetResult) GetSuccess() *Response
- func (p *SetResult) IsSetSuccess() bool
- func (p *SetResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *SetResult) String() string
- func (p *SetResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type TtlArgs
- func (p *TtlArgs) GetAppid() string
- func (p *TtlArgs) GetKey() string
- func (p *TtlArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *TtlArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *TtlArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *TtlArgs) String() string
- func (p *TtlArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type TtlResult
- func (p *TtlResult) GetSuccess() *IntResponse
- func (p *TtlResult) IsSetSuccess() bool
- func (p *TtlResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *TtlResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *TtlResult) String() string
- func (p *TtlResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type Z
- func (p *Z) GetMember() string
- func (p *Z) GetScore() float64
- func (p *Z) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *Z) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *Z) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *Z) String() string
- func (p *Z) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZAddArgs
- func (p *ZAddArgs) GetAppid() string
- func (p *ZAddArgs) GetKey() string
- func (p *ZAddArgs) GetMember() *Z
- func (p *ZAddArgs) IsSetMember() bool
- func (p *ZAddArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZAddArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZAddArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZAddArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZAddArgs) String() string
- func (p *ZAddArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZAddResult
- func (p *ZAddResult) GetSuccess() *IntResponse
- func (p *ZAddResult) IsSetSuccess() bool
- func (p *ZAddResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZAddResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZAddResult) String() string
- func (p *ZAddResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZCardArgs
- func (p *ZCardArgs) GetAppid() string
- func (p *ZCardArgs) GetKey() string
- func (p *ZCardArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZCardArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZCardArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZCardArgs) String() string
- func (p *ZCardArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZCardResult
- func (p *ZCardResult) GetSuccess() *IntResponse
- func (p *ZCardResult) IsSetSuccess() bool
- func (p *ZCardResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZCardResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZCardResult) String() string
- func (p *ZCardResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZCountArgs
- func (p *ZCountArgs) GetAppid() string
- func (p *ZCountArgs) GetKey() string
- func (p *ZCountArgs) GetMax() string
- func (p *ZCountArgs) GetMin() string
- func (p *ZCountArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZCountArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZCountArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZCountArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZCountArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZCountArgs) String() string
- func (p *ZCountArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZCountResult
- func (p *ZCountResult) GetSuccess() *IntResponse
- func (p *ZCountResult) IsSetSuccess() bool
- func (p *ZCountResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZCountResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZCountResult) String() string
- func (p *ZCountResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZIncrByArgs
- func (p *ZIncrByArgs) GetAppid() string
- func (p *ZIncrByArgs) GetIncrement() float64
- func (p *ZIncrByArgs) GetKey() string
- func (p *ZIncrByArgs) GetMember() string
- func (p *ZIncrByArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZIncrByArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZIncrByArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZIncrByArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZIncrByArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZIncrByArgs) String() string
- func (p *ZIncrByArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZIncrByResult
- func (p *ZIncrByResult) GetSuccess() *FloatResponse
- func (p *ZIncrByResult) IsSetSuccess() bool
- func (p *ZIncrByResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZIncrByResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZIncrByResult) String() string
- func (p *ZIncrByResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZRangeByScoreWithScoresArgs
- func (p *ZRangeByScoreWithScoresArgs) GetAppid() string
- func (p *ZRangeByScoreWithScoresArgs) GetCount() int64
- func (p *ZRangeByScoreWithScoresArgs) GetKey() string
- func (p *ZRangeByScoreWithScoresArgs) GetMax() string
- func (p *ZRangeByScoreWithScoresArgs) GetMin() string
- func (p *ZRangeByScoreWithScoresArgs) GetOffset() int64
- func (p *ZRangeByScoreWithScoresArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRangeByScoreWithScoresArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRangeByScoreWithScoresArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRangeByScoreWithScoresArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRangeByScoreWithScoresArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRangeByScoreWithScoresArgs) ReadField5(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRangeByScoreWithScoresArgs) ReadField6(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRangeByScoreWithScoresArgs) String() string
- func (p *ZRangeByScoreWithScoresArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZRangeByScoreWithScoresResult
- func (p *ZRangeByScoreWithScoresResult) GetSuccess() *ZResponse
- func (p *ZRangeByScoreWithScoresResult) IsSetSuccess() bool
- func (p *ZRangeByScoreWithScoresResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRangeByScoreWithScoresResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRangeByScoreWithScoresResult) String() string
- func (p *ZRangeByScoreWithScoresResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZRangeWithScoresArgs
- func (p *ZRangeWithScoresArgs) GetAppid() string
- func (p *ZRangeWithScoresArgs) GetKey() string
- func (p *ZRangeWithScoresArgs) GetStart() int64
- func (p *ZRangeWithScoresArgs) GetStop() int64
- func (p *ZRangeWithScoresArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRangeWithScoresArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRangeWithScoresArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRangeWithScoresArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRangeWithScoresArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRangeWithScoresArgs) String() string
- func (p *ZRangeWithScoresArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZRangeWithScoresResult
- func (p *ZRangeWithScoresResult) GetSuccess() *ZResponse
- func (p *ZRangeWithScoresResult) IsSetSuccess() bool
- func (p *ZRangeWithScoresResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRangeWithScoresResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRangeWithScoresResult) String() string
- func (p *ZRangeWithScoresResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZRemArgs
- func (p *ZRemArgs) GetAppid() string
- func (p *ZRemArgs) GetKey() string
- func (p *ZRemArgs) GetMember() string
- func (p *ZRemArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemArgs) String() string
- func (p *ZRemArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZRemRangeByRankArgs
- func (p *ZRemRangeByRankArgs) GetAppid() string
- func (p *ZRemRangeByRankArgs) GetKey() string
- func (p *ZRemRangeByRankArgs) GetStart() int64
- func (p *ZRemRangeByRankArgs) GetStop() int64
- func (p *ZRemRangeByRankArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemRangeByRankArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemRangeByRankArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemRangeByRankArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemRangeByRankArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemRangeByRankArgs) String() string
- func (p *ZRemRangeByRankArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZRemRangeByRankResult
- func (p *ZRemRangeByRankResult) GetSuccess() *IntResponse
- func (p *ZRemRangeByRankResult) IsSetSuccess() bool
- func (p *ZRemRangeByRankResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemRangeByRankResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemRangeByRankResult) String() string
- func (p *ZRemRangeByRankResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZRemRangeByScoreArgs
- func (p *ZRemRangeByScoreArgs) GetAppid() string
- func (p *ZRemRangeByScoreArgs) GetKey() string
- func (p *ZRemRangeByScoreArgs) GetMax() string
- func (p *ZRemRangeByScoreArgs) GetMin() string
- func (p *ZRemRangeByScoreArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemRangeByScoreArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemRangeByScoreArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemRangeByScoreArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemRangeByScoreArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemRangeByScoreArgs) String() string
- func (p *ZRemRangeByScoreArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZRemRangeByScoreResult
- func (p *ZRemRangeByScoreResult) GetSuccess() *IntResponse
- func (p *ZRemRangeByScoreResult) IsSetSuccess() bool
- func (p *ZRemRangeByScoreResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemRangeByScoreResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemRangeByScoreResult) String() string
- func (p *ZRemRangeByScoreResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZRemResult
- func (p *ZRemResult) GetSuccess() *IntResponse
- func (p *ZRemResult) IsSetSuccess() bool
- func (p *ZRemResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZRemResult) String() string
- func (p *ZRemResult) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZResponse
- func (p *ZResponse) GetCode() int32
- func (p *ZResponse) GetMsg() string
- func (p *ZResponse) GetRes() []*Z
- func (p *ZResponse) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZResponse) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZResponse) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZResponse) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZResponse) String() string
- func (p *ZResponse) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZScoreArgs
- func (p *ZScoreArgs) GetAppid() string
- func (p *ZScoreArgs) GetKey() string
- func (p *ZScoreArgs) GetMember() string
- func (p *ZScoreArgs) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZScoreArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZScoreArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZScoreArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZScoreArgs) String() string
- func (p *ZScoreArgs) Write(ctx context.Context, tp thrift.TProtocol) error
- type ZScoreResult
- func (p *ZScoreResult) GetSuccess() *FloatResponse
- func (p *ZScoreResult) IsSetSuccess() bool
- func (p *ZScoreResult) Read(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZScoreResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error
- func (p *ZScoreResult) String() string
- func (p *ZScoreResult) Write(ctx context.Context, tp thrift.TProtocol) error
Constants ¶
const RES_ASK = 302
const RES_CANNOT_LOAD_SLOTS = 502
const RES_CLUSTERDOWN = 503
const RES_CONNECTION_REFUSED = 501
const RES_FAIL = 1
const RES_MOVED = 301
const RES_NOT_NULL = 3
const RES_OK = 0
const RES_WRONG_TYPE = 2
Variables ¶
var GoUnusedProtection__ int
var PingResult_Success_DEFAULT int32
Functions ¶
This section is empty.
Types ¶
type BytesResponse ¶
type BytesResponse struct { Code int32 `thrift:"code,1" db:"code" json:"code"` Msg string `thrift:"msg,2" db:"msg" json:"msg"` Res []byte `thrift:"res,3" db:"res" json:"res"` }
Attributes:
- Code
- Msg
- Res
var GetSetBytesResult_Success_DEFAULT *BytesResponse
var HGetBytesResult_Success_DEFAULT *BytesResponse
var LPopByteResult_Success_DEFAULT *BytesResponse
var RPopByteResult_Success_DEFAULT *BytesResponse
var RedisProxyGetBytesResult_Success_DEFAULT *BytesResponse
func NewBytesResponse ¶
func NewBytesResponse() *BytesResponse
func (*BytesResponse) GetCode ¶
func (p *BytesResponse) GetCode() int32
func (*BytesResponse) GetMsg ¶
func (p *BytesResponse) GetMsg() string
func (*BytesResponse) GetRes ¶
func (p *BytesResponse) GetRes() []byte
func (*BytesResponse) ReadField1 ¶
func (*BytesResponse) ReadField2 ¶
func (*BytesResponse) ReadField3 ¶
func (*BytesResponse) String ¶
func (p *BytesResponse) String() string
type ClusterInfoArgs ¶
type ClusterInfoArgs struct {
Appid string `thrift:"appid,1" db:"appid" json:"appid"`
}
Attributes:
- Appid
func NewClusterInfoArgs ¶
func NewClusterInfoArgs() *ClusterInfoArgs
func (*ClusterInfoArgs) GetAppid ¶
func (p *ClusterInfoArgs) GetAppid() string
func (*ClusterInfoArgs) ReadField1 ¶
func (*ClusterInfoArgs) String ¶
func (p *ClusterInfoArgs) String() string
type ClusterInfoResult ¶
type ClusterInfoResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewClusterInfoResult ¶
func NewClusterInfoResult() *ClusterInfoResult
func (*ClusterInfoResult) GetSuccess ¶
func (p *ClusterInfoResult) GetSuccess() *Response
func (*ClusterInfoResult) IsSetSuccess ¶
func (p *ClusterInfoResult) IsSetSuccess() bool
func (*ClusterInfoResult) ReadField0 ¶
func (*ClusterInfoResult) String ¶
func (p *ClusterInfoResult) String() string
type ClusterNodesArgs ¶
type ClusterNodesArgs struct {
Appid string `thrift:"appid,1" db:"appid" json:"appid"`
}
Attributes:
- Appid
func NewClusterNodesArgs ¶
func NewClusterNodesArgs() *ClusterNodesArgs
func (*ClusterNodesArgs) GetAppid ¶
func (p *ClusterNodesArgs) GetAppid() string
func (*ClusterNodesArgs) ReadField1 ¶
func (*ClusterNodesArgs) String ¶
func (p *ClusterNodesArgs) String() string
type ClusterNodesResult ¶
type ClusterNodesResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewClusterNodesResult ¶
func NewClusterNodesResult() *ClusterNodesResult
func (*ClusterNodesResult) GetSuccess ¶
func (p *ClusterNodesResult) GetSuccess() *Response
func (*ClusterNodesResult) IsSetSuccess ¶
func (p *ClusterNodesResult) IsSetSuccess() bool
func (*ClusterNodesResult) ReadField0 ¶
func (*ClusterNodesResult) String ¶
func (p *ClusterNodesResult) String() string
type DelArgs ¶
type DelArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` }
Attributes:
- Appid
- Key
func NewDelArgs ¶
func NewDelArgs() *DelArgs
func (*DelArgs) ReadField1 ¶
func (*DelArgs) ReadField2 ¶
type DelResult ¶
type DelResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewDelResult ¶
func NewDelResult() *DelResult
func (*DelResult) GetSuccess ¶
func (p *DelResult) GetSuccess() *IntResponse
func (*DelResult) IsSetSuccess ¶
func (*DelResult) ReadField0 ¶
type ExistsArgs ¶
type ExistsArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` }
Attributes:
- Appid
- Key
func NewExistsArgs ¶
func NewExistsArgs() *ExistsArgs
func (*ExistsArgs) GetAppid ¶
func (p *ExistsArgs) GetAppid() string
func (*ExistsArgs) GetKey ¶
func (p *ExistsArgs) GetKey() string
func (*ExistsArgs) ReadField1 ¶
func (*ExistsArgs) ReadField2 ¶
func (*ExistsArgs) String ¶
func (p *ExistsArgs) String() string
type ExistsResult ¶
type ExistsResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewExistsResult ¶
func NewExistsResult() *ExistsResult
func (*ExistsResult) GetSuccess ¶
func (p *ExistsResult) GetSuccess() *Response
func (*ExistsResult) IsSetSuccess ¶
func (p *ExistsResult) IsSetSuccess() bool
func (*ExistsResult) ReadField0 ¶
func (*ExistsResult) String ¶
func (p *ExistsResult) String() string
type ExpireArgs ¶
type ExpireArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` TTL int64 `thrift:"ttl,3" db:"ttl" json:"ttl"` }
Attributes:
- Appid
- Key
- TTL
func NewExpireArgs ¶
func NewExpireArgs() *ExpireArgs
func (*ExpireArgs) GetAppid ¶
func (p *ExpireArgs) GetAppid() string
func (*ExpireArgs) GetKey ¶
func (p *ExpireArgs) GetKey() string
func (*ExpireArgs) GetTTL ¶
func (p *ExpireArgs) GetTTL() int64
func (*ExpireArgs) ReadField1 ¶
func (*ExpireArgs) ReadField2 ¶
func (*ExpireArgs) ReadField3 ¶
func (*ExpireArgs) String ¶
func (p *ExpireArgs) String() string
type ExpireResult ¶
type ExpireResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewExpireResult ¶
func NewExpireResult() *ExpireResult
func (*ExpireResult) GetSuccess ¶
func (p *ExpireResult) GetSuccess() *Response
func (*ExpireResult) IsSetSuccess ¶
func (p *ExpireResult) IsSetSuccess() bool
func (*ExpireResult) ReadField0 ¶
func (*ExpireResult) String ¶
func (p *ExpireResult) String() string
type FloatResponse ¶
type FloatResponse struct { Code int32 `thrift:"code,1" db:"code" json:"code"` Msg string `thrift:"msg,2" db:"msg" json:"msg"` Res float64 `thrift:"res,3" db:"res" json:"res"` }
Attributes:
- Code
- Msg
- Res
var HIncrByFloatResult_Success_DEFAULT *FloatResponse
var ZIncrByResult_Success_DEFAULT *FloatResponse
var ZScoreResult_Success_DEFAULT *FloatResponse
func NewFloatResponse ¶
func NewFloatResponse() *FloatResponse
func (*FloatResponse) GetCode ¶
func (p *FloatResponse) GetCode() int32
func (*FloatResponse) GetMsg ¶
func (p *FloatResponse) GetMsg() string
func (*FloatResponse) GetRes ¶
func (p *FloatResponse) GetRes() float64
func (*FloatResponse) ReadField1 ¶
func (*FloatResponse) ReadField2 ¶
func (*FloatResponse) ReadField3 ¶
func (*FloatResponse) String ¶
func (p *FloatResponse) String() string
type GetArgs ¶
type GetArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` }
Attributes:
- Appid
- Key
func NewRedisProxyGetArgs ¶
func NewRedisProxyGetArgs() *GetArgs
func (*GetArgs) ReadField1 ¶
func (*GetArgs) ReadField2 ¶
type GetBytesArgs ¶
type GetBytesArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` }
Attributes:
- Appid
- Key
func NewRedisProxyGetBytesArgs ¶
func NewRedisProxyGetBytesArgs() *GetBytesArgs
func (*GetBytesArgs) GetAppid ¶
func (p *GetBytesArgs) GetAppid() string
func (*GetBytesArgs) GetKey ¶
func (p *GetBytesArgs) GetKey() string
func (*GetBytesArgs) ReadField1 ¶
func (*GetBytesArgs) ReadField2 ¶
func (*GetBytesArgs) String ¶
func (p *GetBytesArgs) String() string
type GetBytesResult ¶
type GetBytesResult struct {
Success *BytesResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewRedisProxyGetBytesResult ¶
func NewRedisProxyGetBytesResult() *GetBytesResult
func (*GetBytesResult) GetSuccess ¶
func (p *GetBytesResult) GetSuccess() *BytesResponse
func (*GetBytesResult) IsSetSuccess ¶
func (p *GetBytesResult) IsSetSuccess() bool
func (*GetBytesResult) ReadField0 ¶
func (*GetBytesResult) String ¶
func (p *GetBytesResult) String() string
type GetResult ¶
type GetResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewRedisProxyGetResult ¶
func NewRedisProxyGetResult() *GetResult
func (*GetResult) GetSuccess ¶
func (*GetResult) IsSetSuccess ¶
func (*GetResult) ReadField0 ¶
type GetSetArgs ¶
type GetSetArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Value string `thrift:"value,3" db:"value" json:"value"` }
Attributes:
- Appid
- Key
- Value
func NewGetSetArgs ¶
func NewGetSetArgs() *GetSetArgs
func (*GetSetArgs) GetAppid ¶
func (p *GetSetArgs) GetAppid() string
func (*GetSetArgs) GetKey ¶
func (p *GetSetArgs) GetKey() string
func (*GetSetArgs) GetValue ¶
func (p *GetSetArgs) GetValue() string
func (*GetSetArgs) ReadField1 ¶
func (*GetSetArgs) ReadField2 ¶
func (*GetSetArgs) ReadField3 ¶
func (*GetSetArgs) String ¶
func (p *GetSetArgs) String() string
type GetSetBytesArgs ¶
type GetSetBytesArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Value []byte `thrift:"value,3" db:"value" json:"value"` }
Attributes:
- Appid
- Key
- Value
func NewRedisProxyGetSetBytesArgs ¶
func NewRedisProxyGetSetBytesArgs() *GetSetBytesArgs
func (*GetSetBytesArgs) GetAppid ¶
func (p *GetSetBytesArgs) GetAppid() string
func (*GetSetBytesArgs) GetKey ¶
func (p *GetSetBytesArgs) GetKey() string
func (*GetSetBytesArgs) GetValue ¶
func (p *GetSetBytesArgs) GetValue() []byte
func (*GetSetBytesArgs) ReadField1 ¶
func (*GetSetBytesArgs) ReadField2 ¶
func (*GetSetBytesArgs) ReadField3 ¶
func (*GetSetBytesArgs) String ¶
func (p *GetSetBytesArgs) String() string
type GetSetBytesResult ¶
type GetSetBytesResult struct {
Success *BytesResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewGetSetBytesResult ¶
func NewGetSetBytesResult() *GetSetBytesResult
func (*GetSetBytesResult) GetSuccess ¶
func (p *GetSetBytesResult) GetSuccess() *BytesResponse
func (*GetSetBytesResult) IsSetSuccess ¶
func (p *GetSetBytesResult) IsSetSuccess() bool
func (*GetSetBytesResult) ReadField0 ¶
func (*GetSetBytesResult) String ¶
func (p *GetSetBytesResult) String() string
type GetSetResult ¶
type GetSetResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewRedisProxyGetSetResult ¶
func NewRedisProxyGetSetResult() *GetSetResult
func (*GetSetResult) GetSuccess ¶
func (p *GetSetResult) GetSuccess() *Response
func (*GetSetResult) IsSetSuccess ¶
func (p *GetSetResult) IsSetSuccess() bool
func (*GetSetResult) ReadField0 ¶
func (*GetSetResult) String ¶
func (p *GetSetResult) String() string
type HDelArgs ¶
type HDelArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Field string `thrift:"field,3" db:"field" json:"field"` }
Attributes:
- Appid
- Key
- Field
func NewHDelArgs ¶
func NewHDelArgs() *HDelArgs
func (*HDelArgs) ReadField1 ¶
func (*HDelArgs) ReadField2 ¶
func (*HDelArgs) ReadField3 ¶
type HDelResult ¶
type HDelResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewHDelResult ¶
func NewHDelResult() *HDelResult
func (*HDelResult) GetSuccess ¶
func (p *HDelResult) GetSuccess() *IntResponse
func (*HDelResult) IsSetSuccess ¶
func (p *HDelResult) IsSetSuccess() bool
func (*HDelResult) ReadField0 ¶
func (*HDelResult) String ¶
func (p *HDelResult) String() string
type HExistsArgs ¶
type HExistsArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Field string `thrift:"field,3" db:"field" json:"field"` }
Attributes:
- Appid
- Key
- Field
func NewHExistsArgs ¶
func NewHExistsArgs() *HExistsArgs
func (*HExistsArgs) GetAppid ¶
func (p *HExistsArgs) GetAppid() string
func (*HExistsArgs) GetField ¶
func (p *HExistsArgs) GetField() string
func (*HExistsArgs) GetKey ¶
func (p *HExistsArgs) GetKey() string
func (*HExistsArgs) ReadField1 ¶
func (*HExistsArgs) ReadField2 ¶
func (*HExistsArgs) ReadField3 ¶
func (*HExistsArgs) String ¶
func (p *HExistsArgs) String() string
type HExistsResult ¶
type HExistsResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewHExistsResult ¶
func NewHExistsResult() *HExistsResult
func (*HExistsResult) GetSuccess ¶
func (p *HExistsResult) GetSuccess() *Response
func (*HExistsResult) IsSetSuccess ¶
func (p *HExistsResult) IsSetSuccess() bool
func (*HExistsResult) ReadField0 ¶
func (*HExistsResult) String ¶
func (p *HExistsResult) String() string
type HGetAllArgs ¶
type HGetAllArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` }
Attributes:
- Appid
- Key
func NewHGetAllArgs ¶
func NewHGetAllArgs() *HGetAllArgs
func (*HGetAllArgs) GetAppid ¶
func (p *HGetAllArgs) GetAppid() string
func (*HGetAllArgs) GetKey ¶
func (p *HGetAllArgs) GetKey() string
func (*HGetAllArgs) ReadField1 ¶
func (*HGetAllArgs) ReadField2 ¶
func (*HGetAllArgs) String ¶
func (p *HGetAllArgs) String() string
type HGetAllResult ¶
type HGetAllResult struct {
Success *MResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewHGetAllResult ¶
func NewHGetAllResult() *HGetAllResult
func (*HGetAllResult) GetSuccess ¶
func (p *HGetAllResult) GetSuccess() *MResponse
func (*HGetAllResult) IsSetSuccess ¶
func (p *HGetAllResult) IsSetSuccess() bool
func (*HGetAllResult) ReadField0 ¶
func (*HGetAllResult) String ¶
func (p *HGetAllResult) String() string
type HGetBytesResult ¶
type HGetBytesResult struct {
Success *BytesResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewHGetBytesResult ¶
func NewHGetBytesResult() *HGetBytesResult
func (*HGetBytesResult) GetSuccess ¶
func (p *HGetBytesResult) GetSuccess() *BytesResponse
func (*HGetBytesResult) IsSetSuccess ¶
func (p *HGetBytesResult) IsSetSuccess() bool
func (*HGetBytesResult) ReadField0 ¶
func (*HGetBytesResult) String ¶
func (p *HGetBytesResult) String() string
type HGetResult ¶
type HGetResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewHGetResult ¶
func NewHGetResult() *HGetResult
func (*HGetResult) GetSuccess ¶
func (p *HGetResult) GetSuccess() *Response
func (*HGetResult) IsSetSuccess ¶
func (p *HGetResult) IsSetSuccess() bool
func (*HGetResult) ReadField0 ¶
func (*HGetResult) String ¶
func (p *HGetResult) String() string
type HIncrByArgs ¶
type HIncrByArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Field string `thrift:"field,3" db:"field" json:"field"` Inrc int64 `thrift:"inrc,4" db:"inrc" json:"inrc"` }
Attributes:
- Appid
- Key
- Field
- Inrc
func NewHIncrByArgs ¶
func NewHIncrByArgs() *HIncrByArgs
func (*HIncrByArgs) GetAppid ¶
func (p *HIncrByArgs) GetAppid() string
func (*HIncrByArgs) GetField ¶
func (p *HIncrByArgs) GetField() string
func (*HIncrByArgs) GetInrc ¶
func (p *HIncrByArgs) GetInrc() int64
func (*HIncrByArgs) GetKey ¶
func (p *HIncrByArgs) GetKey() string
func (*HIncrByArgs) ReadField1 ¶
func (*HIncrByArgs) ReadField2 ¶
func (*HIncrByArgs) ReadField3 ¶
func (*HIncrByArgs) ReadField4 ¶
func (*HIncrByArgs) String ¶
func (p *HIncrByArgs) String() string
type HIncrByFloatArgs ¶
type HIncrByFloatArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Field string `thrift:"field,3" db:"field" json:"field"` Inrc float64 `thrift:"inrc,4" db:"inrc" json:"inrc"` }
Attributes:
- Appid
- Key
- Field
- Inrc
func NewHIncrByFloatArgs ¶
func NewHIncrByFloatArgs() *HIncrByFloatArgs
func (*HIncrByFloatArgs) GetAppid ¶
func (p *HIncrByFloatArgs) GetAppid() string
func (*HIncrByFloatArgs) GetField ¶
func (p *HIncrByFloatArgs) GetField() string
func (*HIncrByFloatArgs) GetInrc ¶
func (p *HIncrByFloatArgs) GetInrc() float64
func (*HIncrByFloatArgs) GetKey ¶
func (p *HIncrByFloatArgs) GetKey() string
func (*HIncrByFloatArgs) ReadField1 ¶
func (*HIncrByFloatArgs) ReadField2 ¶
func (*HIncrByFloatArgs) ReadField3 ¶
func (*HIncrByFloatArgs) ReadField4 ¶
func (*HIncrByFloatArgs) String ¶
func (p *HIncrByFloatArgs) String() string
type HIncrByFloatResult ¶
type HIncrByFloatResult struct {
Success *FloatResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewHIncrByFloatResult ¶
func NewHIncrByFloatResult() *HIncrByFloatResult
func (*HIncrByFloatResult) GetSuccess ¶
func (p *HIncrByFloatResult) GetSuccess() *FloatResponse
func (*HIncrByFloatResult) IsSetSuccess ¶
func (p *HIncrByFloatResult) IsSetSuccess() bool
func (*HIncrByFloatResult) ReadField0 ¶
func (*HIncrByFloatResult) String ¶
func (p *HIncrByFloatResult) String() string
type HIncrByResult ¶
type HIncrByResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewHIncrByResult ¶
func NewHIncrByResult() *HIncrByResult
func (*HIncrByResult) GetSuccess ¶
func (p *HIncrByResult) GetSuccess() *IntResponse
func (*HIncrByResult) IsSetSuccess ¶
func (p *HIncrByResult) IsSetSuccess() bool
func (*HIncrByResult) ReadField0 ¶
func (*HIncrByResult) String ¶
func (p *HIncrByResult) String() string
type HKeysArgs ¶
type HKeysArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` }
Attributes:
- Appid
- Key
func NewHKeysArgs ¶
func NewHKeysArgs() *HKeysArgs
func (*HKeysArgs) ReadField1 ¶
func (*HKeysArgs) ReadField2 ¶
type HKeysResult ¶
type HKeysResult struct {
Success *LResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewHKeysResult ¶
func NewHKeysResult() *HKeysResult
func (*HKeysResult) GetSuccess ¶
func (p *HKeysResult) GetSuccess() *LResponse
func (*HKeysResult) IsSetSuccess ¶
func (p *HKeysResult) IsSetSuccess() bool
func (*HKeysResult) ReadField0 ¶
func (*HKeysResult) String ¶
func (p *HKeysResult) String() string
type HMGetBytesArgs ¶
type HMGetBytesArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Fields []string `thrift:"fields,3" db:"fields" json:"fields"` }
Attributes:
- Appid
- Key
- Fields
func NewHMGetBytesArgs ¶
func NewHMGetBytesArgs() *HMGetBytesArgs
func (*HMGetBytesArgs) GetAppid ¶
func (p *HMGetBytesArgs) GetAppid() string
func (*HMGetBytesArgs) GetFields ¶
func (p *HMGetBytesArgs) GetFields() []string
func (*HMGetBytesArgs) GetKey ¶
func (p *HMGetBytesArgs) GetKey() string
func (*HMGetBytesArgs) ReadField1 ¶
func (*HMGetBytesArgs) ReadField2 ¶
func (*HMGetBytesArgs) ReadField3 ¶
func (*HMGetBytesArgs) String ¶
func (p *HMGetBytesArgs) String() string
type HMGetBytesResult ¶
type HMGetBytesResult struct {
Success *MBytesResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewHMGetBytesResult ¶
func NewHMGetBytesResult() *HMGetBytesResult
func (*HMGetBytesResult) GetSuccess ¶
func (p *HMGetBytesResult) GetSuccess() *MBytesResponse
func (*HMGetBytesResult) IsSetSuccess ¶
func (p *HMGetBytesResult) IsSetSuccess() bool
func (*HMGetBytesResult) ReadField0 ¶
func (*HMGetBytesResult) String ¶
func (p *HMGetBytesResult) String() string
type HMGetResult ¶
type HMGetResult struct {
Success *MResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewRedisProxyHMGetResult ¶
func NewRedisProxyHMGetResult() *HMGetResult
func (*HMGetResult) GetSuccess ¶
func (p *HMGetResult) GetSuccess() *MResponse
func (*HMGetResult) IsSetSuccess ¶
func (p *HMGetResult) IsSetSuccess() bool
func (*HMGetResult) ReadField0 ¶
func (*HMGetResult) String ¶
func (p *HMGetResult) String() string
type HSetArgs ¶
type HSetArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Field string `thrift:"field,3" db:"field" json:"field"` Value string `thrift:"value,4" db:"value" json:"value"` }
Attributes:
- Appid
- Key
- Field
- Value
func NewHSetArgs ¶
func NewHSetArgs() *HSetArgs
func (*HSetArgs) ReadField1 ¶
func (*HSetArgs) ReadField2 ¶
func (*HSetArgs) ReadField3 ¶
func (*HSetArgs) ReadField4 ¶
type HSetBytesArgs ¶
type HSetBytesArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Field string `thrift:"field,3" db:"field" json:"field"` Value []byte `thrift:"value,4" db:"value" json:"value"` }
Attributes:
- Appid
- Key
- Field
- Value
func NewHSetBytesArgs ¶
func NewHSetBytesArgs() *HSetBytesArgs
func (*HSetBytesArgs) GetAppid ¶
func (p *HSetBytesArgs) GetAppid() string
func (*HSetBytesArgs) GetField ¶
func (p *HSetBytesArgs) GetField() string
func (*HSetBytesArgs) GetKey ¶
func (p *HSetBytesArgs) GetKey() string
func (*HSetBytesArgs) GetValue ¶
func (p *HSetBytesArgs) GetValue() []byte
func (*HSetBytesArgs) ReadField1 ¶
func (*HSetBytesArgs) ReadField2 ¶
func (*HSetBytesArgs) ReadField3 ¶
func (*HSetBytesArgs) ReadField4 ¶
func (*HSetBytesArgs) String ¶
func (p *HSetBytesArgs) String() string
type HSetBytesResult ¶
type HSetBytesResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewHSetBytesResult ¶
func NewHSetBytesResult() *HSetBytesResult
func (*HSetBytesResult) GetSuccess ¶
func (p *HSetBytesResult) GetSuccess() *Response
func (*HSetBytesResult) IsSetSuccess ¶
func (p *HSetBytesResult) IsSetSuccess() bool
func (*HSetBytesResult) ReadField0 ¶
func (*HSetBytesResult) String ¶
func (p *HSetBytesResult) String() string
type HSetNXArgs ¶
type HSetNXArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Field string `thrift:"field,3" db:"field" json:"field"` Value string `thrift:"value,4" db:"value" json:"value"` }
Attributes:
- Appid
- Key
- Field
- Value
func NewHSetNXArgs ¶
func NewHSetNXArgs() *HSetNXArgs
func (*HSetNXArgs) GetAppid ¶
func (p *HSetNXArgs) GetAppid() string
func (*HSetNXArgs) GetField ¶
func (p *HSetNXArgs) GetField() string
func (*HSetNXArgs) GetKey ¶
func (p *HSetNXArgs) GetKey() string
func (*HSetNXArgs) GetValue ¶
func (p *HSetNXArgs) GetValue() string
func (*HSetNXArgs) ReadField1 ¶
func (*HSetNXArgs) ReadField2 ¶
func (*HSetNXArgs) ReadField3 ¶
func (*HSetNXArgs) ReadField4 ¶
func (*HSetNXArgs) String ¶
func (p *HSetNXArgs) String() string
type HSetNXBytesArgs ¶
type HSetNXBytesArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Field string `thrift:"field,3" db:"field" json:"field"` Value string `thrift:"value,4" db:"value" json:"value"` }
Attributes:
- Appid
- Key
- Field
- Value
func NewRedisProxyHSetNXBytesArgs ¶
func NewRedisProxyHSetNXBytesArgs() *HSetNXBytesArgs
func (*HSetNXBytesArgs) GetAppid ¶
func (p *HSetNXBytesArgs) GetAppid() string
func (*HSetNXBytesArgs) GetField ¶
func (p *HSetNXBytesArgs) GetField() string
func (*HSetNXBytesArgs) GetKey ¶
func (p *HSetNXBytesArgs) GetKey() string
func (*HSetNXBytesArgs) GetValue ¶
func (p *HSetNXBytesArgs) GetValue() string
func (*HSetNXBytesArgs) ReadField1 ¶
func (*HSetNXBytesArgs) ReadField2 ¶
func (*HSetNXBytesArgs) ReadField3 ¶
func (*HSetNXBytesArgs) ReadField4 ¶
func (*HSetNXBytesArgs) String ¶
func (p *HSetNXBytesArgs) String() string
type HSetNXBytesResult ¶
type HSetNXBytesResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewHSetNXBytesResult ¶
func NewHSetNXBytesResult() *HSetNXBytesResult
func (*HSetNXBytesResult) GetSuccess ¶
func (p *HSetNXBytesResult) GetSuccess() *Response
func (*HSetNXBytesResult) IsSetSuccess ¶
func (p *HSetNXBytesResult) IsSetSuccess() bool
func (*HSetNXBytesResult) ReadField0 ¶
func (*HSetNXBytesResult) String ¶
func (p *HSetNXBytesResult) String() string
type HSetNXResult ¶
type HSetNXResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewRedisProxyHSetNXResult ¶
func NewRedisProxyHSetNXResult() *HSetNXResult
func (*HSetNXResult) GetSuccess ¶
func (p *HSetNXResult) GetSuccess() *Response
func (*HSetNXResult) IsSetSuccess ¶
func (p *HSetNXResult) IsSetSuccess() bool
func (*HSetNXResult) ReadField0 ¶
func (*HSetNXResult) String ¶
func (p *HSetNXResult) String() string
type HSetResult ¶
type HSetResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewHSetResult ¶
func NewHSetResult() *HSetResult
func (*HSetResult) GetSuccess ¶
func (p *HSetResult) GetSuccess() *Response
func (*HSetResult) IsSetSuccess ¶
func (p *HSetResult) IsSetSuccess() bool
func (*HSetResult) ReadField0 ¶
func (*HSetResult) String ¶
func (p *HSetResult) String() string
type HValuesArgs ¶
type HValuesArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` }
Attributes:
- Appid
- Key
func NewHValuesArgs ¶
func NewHValuesArgs() *HValuesArgs
func (*HValuesArgs) GetAppid ¶
func (p *HValuesArgs) GetAppid() string
func (*HValuesArgs) GetKey ¶
func (p *HValuesArgs) GetKey() string
func (*HValuesArgs) ReadField1 ¶
func (*HValuesArgs) ReadField2 ¶
func (*HValuesArgs) String ¶
func (p *HValuesArgs) String() string
type HValuesResult ¶
type HValuesResult struct {
Success *LResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewHValuesResult ¶
func NewHValuesResult() *HValuesResult
func (*HValuesResult) GetSuccess ¶
func (p *HValuesResult) GetSuccess() *LResponse
func (*HValuesResult) IsSetSuccess ¶
func (p *HValuesResult) IsSetSuccess() bool
func (*HValuesResult) ReadField0 ¶
func (*HValuesResult) String ¶
func (p *HValuesResult) String() string
type HmGetArgs ¶
type HmGetArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Fields []string `thrift:"fields,3" db:"fields" json:"fields"` }
Attributes:
- Appid
- Key
- Fields
func NewHMGetArgs ¶
func NewHMGetArgs() *HmGetArgs
func (*HmGetArgs) ReadField1 ¶
func (*HmGetArgs) ReadField2 ¶
func (*HmGetArgs) ReadField3 ¶
type HmSetArgs ¶
type HmSetArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Fields map[string]string `thrift:"fields,3" db:"fields" json:"fields"` }
Attributes:
- Appid
- Key
- Fields
func NewRedisProxyHMSetArgs ¶
func NewRedisProxyHMSetArgs() *HmSetArgs
func (*HmSetArgs) ReadField1 ¶
func (*HmSetArgs) ReadField2 ¶
func (*HmSetArgs) ReadField3 ¶
type HmSetBytesArgs ¶
type HmSetBytesArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Fields map[string][]byte `thrift:"fields,3" db:"fields" json:"fields"` }
Attributes:
- Appid
- Key
- Fields
func NewHMSetBytesArgs ¶
func NewHMSetBytesArgs() *HmSetBytesArgs
func (*HmSetBytesArgs) GetAppid ¶
func (p *HmSetBytesArgs) GetAppid() string
func (*HmSetBytesArgs) GetFields ¶
func (p *HmSetBytesArgs) GetFields() map[string][]byte
func (*HmSetBytesArgs) GetKey ¶
func (p *HmSetBytesArgs) GetKey() string
func (*HmSetBytesArgs) ReadField1 ¶
func (*HmSetBytesArgs) ReadField2 ¶
func (*HmSetBytesArgs) ReadField3 ¶
func (*HmSetBytesArgs) String ¶
func (p *HmSetBytesArgs) String() string
type HmSetBytesResult ¶
type HmSetBytesResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewRedisProxyHMSetBytesResult ¶
func NewRedisProxyHMSetBytesResult() *HmSetBytesResult
func (*HmSetBytesResult) GetSuccess ¶
func (p *HmSetBytesResult) GetSuccess() *Response
func (*HmSetBytesResult) IsSetSuccess ¶
func (p *HmSetBytesResult) IsSetSuccess() bool
func (*HmSetBytesResult) ReadField0 ¶
func (*HmSetBytesResult) String ¶
func (p *HmSetBytesResult) String() string
type HmSetResult ¶
type HmSetResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewHMSetResult ¶
func NewHMSetResult() *HmSetResult
func (*HmSetResult) GetSuccess ¶
func (p *HmSetResult) GetSuccess() *Response
func (*HmSetResult) IsSetSuccess ¶
func (p *HmSetResult) IsSetSuccess() bool
func (*HmSetResult) ReadField0 ¶
func (*HmSetResult) String ¶
func (p *HmSetResult) String() string
type InfoArgs ¶
type InfoArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Sections []string `thrift:"sections,2" db:"sections" json:"sections"` }
Attributes:
- Appid
- Sections
func NewInfoArgs ¶
func NewInfoArgs() *InfoArgs
func (*InfoArgs) GetSections ¶
func (*InfoArgs) ReadField1 ¶
func (*InfoArgs) ReadField2 ¶
type InfoResult ¶
type InfoResult struct {
Success *MResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewInfoResult ¶
func NewInfoResult() *InfoResult
func (*InfoResult) GetSuccess ¶
func (p *InfoResult) GetSuccess() *MResponse
func (*InfoResult) IsSetSuccess ¶
func (p *InfoResult) IsSetSuccess() bool
func (*InfoResult) ReadField0 ¶
func (*InfoResult) String ¶
func (p *InfoResult) String() string
type IntResponse ¶
type IntResponse struct { Code int32 `thrift:"code,1" db:"code" json:"code"` Msg string `thrift:"msg,2" db:"msg" json:"msg"` Res int64 `thrift:"res,3" db:"res" json:"res"` }
Attributes:
- Code
- Msg
- Res
var DelResult_Success_DEFAULT *IntResponse
var HDelResult_Success_DEFAULT *IntResponse
var HIncrByResult_Success_DEFAULT *IntResponse
var LInsertAfterResult_Success_DEFAULT *IntResponse
var LInsertBeforeResult_Success_DEFAULT *IntResponse
var LLenResult_Success_DEFAULT *IntResponse
var LPushByteResult_Success_DEFAULT *IntResponse
var LPushResult_Success_DEFAULT *IntResponse
var MDelResult_Success_DEFAULT *IntResponse
var MHDelResult_Success_DEFAULT *IntResponse
var MLPushByteWithTTLResult_Success_DEFAULT *IntResponse
var MLPushResult_Success_DEFAULT *IntResponse
var MLPushWithTTLResult_Success_DEFAULT *IntResponse
var MRPushByteWithTTLResult_Success_DEFAULT *IntResponse
var MRPushWithTTLResult_Success_DEFAULT *IntResponse
var MSAddResult_Success_DEFAULT *IntResponse
var MSRemResult_Success_DEFAULT *IntResponse
var MZAddResult_Success_DEFAULT *IntResponse
var MZRemResult_Success_DEFAULT *IntResponse
var RPushByteResult_Success_DEFAULT *IntResponse
var RPushResult_Success_DEFAULT *IntResponse
var SAddResult_Success_DEFAULT *IntResponse
var SCardResult_Success_DEFAULT *IntResponse
var SRemResult_Success_DEFAULT *IntResponse
var TTLResult_Success_DEFAULT *IntResponse
var ZAddResult_Success_DEFAULT *IntResponse
var ZCardResult_Success_DEFAULT *IntResponse
var ZCountResult_Success_DEFAULT *IntResponse
var ZRemRangeByRankResult_Success_DEFAULT *IntResponse
var ZRemRangeByScoreResult_Success_DEFAULT *IntResponse
var ZRemResult_Success_DEFAULT *IntResponse
func NewIntResponse ¶
func NewIntResponse() *IntResponse
func (*IntResponse) GetCode ¶
func (p *IntResponse) GetCode() int32
func (*IntResponse) GetMsg ¶
func (p *IntResponse) GetMsg() string
func (*IntResponse) GetRes ¶
func (p *IntResponse) GetRes() int64
func (*IntResponse) ReadField1 ¶
func (*IntResponse) ReadField2 ¶
func (*IntResponse) ReadField3 ¶
func (*IntResponse) String ¶
func (p *IntResponse) String() string
type KeysArgs ¶
type KeysArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` }
Attributes:
- Appid
- Key
func NewKeysArgs ¶
func NewKeysArgs() *KeysArgs
func (*KeysArgs) ReadField1 ¶
func (*KeysArgs) ReadField2 ¶
type KeysResult ¶
type KeysResult struct {
Success *LResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewKeysResult ¶
func NewKeysResult() *KeysResult
func (*KeysResult) GetSuccess ¶
func (p *KeysResult) GetSuccess() *LResponse
func (*KeysResult) IsSetSuccess ¶
func (p *KeysResult) IsSetSuccess() bool
func (*KeysResult) ReadField0 ¶
func (*KeysResult) String ¶
func (p *KeysResult) String() string
type LBytesResponse ¶
type LBytesResponse struct { Code int32 `thrift:"code,1" db:"code" json:"code"` Msg string `thrift:"msg,2" db:"msg" json:"msg"` Res [][]byte `thrift:"res,3" db:"res" json:"res"` }
Attributes:
- Code
- Msg
- Res
func NewLBytesResponse ¶
func NewLBytesResponse() *LBytesResponse
func (*LBytesResponse) GetCode ¶
func (p *LBytesResponse) GetCode() int32
func (*LBytesResponse) GetMsg ¶
func (p *LBytesResponse) GetMsg() string
func (*LBytesResponse) GetRes ¶
func (p *LBytesResponse) GetRes() [][]byte
func (*LBytesResponse) ReadField1 ¶
func (*LBytesResponse) ReadField2 ¶
func (*LBytesResponse) ReadField3 ¶
func (*LBytesResponse) String ¶
func (p *LBytesResponse) String() string
type LIndexArgs ¶
type LIndexArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Index int64 `thrift:"index,3" db:"index" json:"index"` }
Attributes:
- Appid
- Key
- Index
func NewLIndexArgs ¶
func NewLIndexArgs() *LIndexArgs
func (*LIndexArgs) GetAppid ¶
func (p *LIndexArgs) GetAppid() string
func (*LIndexArgs) GetIndex ¶
func (p *LIndexArgs) GetIndex() int64
func (*LIndexArgs) GetKey ¶
func (p *LIndexArgs) GetKey() string
func (*LIndexArgs) ReadField1 ¶
func (*LIndexArgs) ReadField2 ¶
func (*LIndexArgs) ReadField3 ¶
func (*LIndexArgs) String ¶
func (p *LIndexArgs) String() string
type LIndexResult ¶
type LIndexResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewLIndexResult ¶
func NewLIndexResult() *LIndexResult
func (*LIndexResult) GetSuccess ¶
func (p *LIndexResult) GetSuccess() *Response
func (*LIndexResult) IsSetSuccess ¶
func (p *LIndexResult) IsSetSuccess() bool
func (*LIndexResult) ReadField0 ¶
func (*LIndexResult) String ¶
func (p *LIndexResult) String() string
type LInsertAfterArgs ¶
type LInsertAfterArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Pivot string `thrift:"pivot,3" db:"pivot" json:"pivot"` Value string `thrift:"value,4" db:"value" json:"value"` }
Attributes:
- Appid
- Key
- Pivot
- Value
func NewLInsertAfterArgs ¶
func NewLInsertAfterArgs() *LInsertAfterArgs
func (*LInsertAfterArgs) GetAppid ¶
func (p *LInsertAfterArgs) GetAppid() string
func (*LInsertAfterArgs) GetKey ¶
func (p *LInsertAfterArgs) GetKey() string
func (*LInsertAfterArgs) GetPivot ¶
func (p *LInsertAfterArgs) GetPivot() string
func (*LInsertAfterArgs) GetValue ¶
func (p *LInsertAfterArgs) GetValue() string
func (*LInsertAfterArgs) ReadField1 ¶
func (*LInsertAfterArgs) ReadField2 ¶
func (*LInsertAfterArgs) ReadField3 ¶
func (*LInsertAfterArgs) ReadField4 ¶
func (*LInsertAfterArgs) String ¶
func (p *LInsertAfterArgs) String() string
type LInsertAfterResult ¶
type LInsertAfterResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewLInsertAfterResult ¶
func NewLInsertAfterResult() *LInsertAfterResult
func (*LInsertAfterResult) GetSuccess ¶
func (p *LInsertAfterResult) GetSuccess() *IntResponse
func (*LInsertAfterResult) IsSetSuccess ¶
func (p *LInsertAfterResult) IsSetSuccess() bool
func (*LInsertAfterResult) ReadField0 ¶
func (*LInsertAfterResult) String ¶
func (p *LInsertAfterResult) String() string
type LInsertBeforeArgs ¶
type LInsertBeforeArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Pivot string `thrift:"pivot,3" db:"pivot" json:"pivot"` Value string `thrift:"value,4" db:"value" json:"value"` }
Attributes:
- Appid
- Key
- Pivot
- Value
func NewLInsertBeforeArgs ¶
func NewLInsertBeforeArgs() *LInsertBeforeArgs
func (*LInsertBeforeArgs) GetAppid ¶
func (p *LInsertBeforeArgs) GetAppid() string
func (*LInsertBeforeArgs) GetKey ¶
func (p *LInsertBeforeArgs) GetKey() string
func (*LInsertBeforeArgs) GetPivot ¶
func (p *LInsertBeforeArgs) GetPivot() string
func (*LInsertBeforeArgs) GetValue ¶
func (p *LInsertBeforeArgs) GetValue() string
func (*LInsertBeforeArgs) ReadField1 ¶
func (*LInsertBeforeArgs) ReadField2 ¶
func (*LInsertBeforeArgs) ReadField3 ¶
func (*LInsertBeforeArgs) ReadField4 ¶
func (*LInsertBeforeArgs) String ¶
func (p *LInsertBeforeArgs) String() string
type LInsertBeforeResult ¶
type LInsertBeforeResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewLInsertBeforeResult ¶
func NewLInsertBeforeResult() *LInsertBeforeResult
func (*LInsertBeforeResult) GetSuccess ¶
func (p *LInsertBeforeResult) GetSuccess() *IntResponse
func (*LInsertBeforeResult) IsSetSuccess ¶
func (p *LInsertBeforeResult) IsSetSuccess() bool
func (*LInsertBeforeResult) ReadField0 ¶
func (*LInsertBeforeResult) String ¶
func (p *LInsertBeforeResult) String() string
type LLenArgs ¶
type LLenArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` }
Attributes:
- Appid
- Key
func NewLLenArgs ¶
func NewLLenArgs() *LLenArgs
func (*LLenArgs) ReadField1 ¶
func (*LLenArgs) ReadField2 ¶
type LLenResult ¶
type LLenResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewLLenResult ¶
func NewLLenResult() *LLenResult
func (*LLenResult) GetSuccess ¶
func (p *LLenResult) GetSuccess() *IntResponse
func (*LLenResult) IsSetSuccess ¶
func (p *LLenResult) IsSetSuccess() bool
func (*LLenResult) ReadField0 ¶
func (*LLenResult) String ¶
func (p *LLenResult) String() string
type LPopByteArgs ¶
type LPopByteArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` }
Attributes:
- Appid
- Key
func NewLPopByteArgs ¶
func NewLPopByteArgs() *LPopByteArgs
func (*LPopByteArgs) GetAppid ¶
func (p *LPopByteArgs) GetAppid() string
func (*LPopByteArgs) GetKey ¶
func (p *LPopByteArgs) GetKey() string
func (*LPopByteArgs) ReadField1 ¶
func (*LPopByteArgs) ReadField2 ¶
func (*LPopByteArgs) String ¶
func (p *LPopByteArgs) String() string
type LPopByteResult ¶
type LPopByteResult struct {
Success *BytesResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewLPopByteResult ¶
func NewLPopByteResult() *LPopByteResult
func (*LPopByteResult) GetSuccess ¶
func (p *LPopByteResult) GetSuccess() *BytesResponse
func (*LPopByteResult) IsSetSuccess ¶
func (p *LPopByteResult) IsSetSuccess() bool
func (*LPopByteResult) ReadField0 ¶
func (*LPopByteResult) String ¶
func (p *LPopByteResult) String() string
type LPopResult ¶
type LPopResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewLPopResult ¶
func NewLPopResult() *LPopResult
func (*LPopResult) GetSuccess ¶
func (p *LPopResult) GetSuccess() *Response
func (*LPopResult) IsSetSuccess ¶
func (p *LPopResult) IsSetSuccess() bool
func (*LPopResult) ReadField0 ¶
func (*LPopResult) String ¶
func (p *LPopResult) String() string
type LPushArgs ¶
type LPushArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Value string `thrift:"value,3" db:"value" json:"value"` }
Attributes:
- Appid
- Key
- Value
func NewLPushArgs ¶
func NewLPushArgs() *LPushArgs
func (*LPushArgs) ReadField1 ¶
func (*LPushArgs) ReadField2 ¶
func (*LPushArgs) ReadField3 ¶
type LPushByteArgs ¶
type LPushByteArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Value []byte `thrift:"value,3" db:"value" json:"value"` }
Attributes:
- Appid
- Key
- Value
func NewLPushByteArgs ¶
func NewLPushByteArgs() *LPushByteArgs
func (*LPushByteArgs) GetAppid ¶
func (p *LPushByteArgs) GetAppid() string
func (*LPushByteArgs) GetKey ¶
func (p *LPushByteArgs) GetKey() string
func (*LPushByteArgs) GetValue ¶
func (p *LPushByteArgs) GetValue() []byte
func (*LPushByteArgs) ReadField1 ¶
func (*LPushByteArgs) ReadField2 ¶
func (*LPushByteArgs) ReadField3 ¶
func (*LPushByteArgs) String ¶
func (p *LPushByteArgs) String() string
type LPushByteResult ¶
type LPushByteResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewLPushByteResult ¶
func NewLPushByteResult() *LPushByteResult
func (*LPushByteResult) GetSuccess ¶
func (p *LPushByteResult) GetSuccess() *IntResponse
func (*LPushByteResult) IsSetSuccess ¶
func (p *LPushByteResult) IsSetSuccess() bool
func (*LPushByteResult) ReadField0 ¶
func (*LPushByteResult) String ¶
func (p *LPushByteResult) String() string
type LPushResult ¶
type LPushResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewLPushResult ¶
func NewLPushResult() *LPushResult
func (*LPushResult) GetSuccess ¶
func (p *LPushResult) GetSuccess() *IntResponse
func (*LPushResult) IsSetSuccess ¶
func (p *LPushResult) IsSetSuccess() bool
func (*LPushResult) ReadField0 ¶
func (*LPushResult) String ¶
func (p *LPushResult) String() string
type LRangeArgs ¶
type LRangeArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Start int64 `thrift:"start,3" db:"start" json:"start"` Stop int64 `thrift:"stop,4" db:"stop" json:"stop"` }
Attributes:
- Appid
- Key
- Start
- Stop
func NewLRangeArgs ¶
func NewLRangeArgs() *LRangeArgs
func (*LRangeArgs) GetAppid ¶
func (p *LRangeArgs) GetAppid() string
func (*LRangeArgs) GetKey ¶
func (p *LRangeArgs) GetKey() string
func (*LRangeArgs) GetStart ¶
func (p *LRangeArgs) GetStart() int64
func (*LRangeArgs) GetStop ¶
func (p *LRangeArgs) GetStop() int64
func (*LRangeArgs) ReadField1 ¶
func (*LRangeArgs) ReadField2 ¶
func (*LRangeArgs) ReadField3 ¶
func (*LRangeArgs) ReadField4 ¶
func (*LRangeArgs) String ¶
func (p *LRangeArgs) String() string
type LRangeResult ¶
type LRangeResult struct {
Success *LResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewLRangeResult ¶
func NewLRangeResult() *LRangeResult
func (*LRangeResult) GetSuccess ¶
func (p *LRangeResult) GetSuccess() *LResponse
func (*LRangeResult) IsSetSuccess ¶
func (p *LRangeResult) IsSetSuccess() bool
func (*LRangeResult) ReadField0 ¶
func (*LRangeResult) String ¶
func (p *LRangeResult) String() string
type LResponse ¶
type LResponse struct { Code int32 `thrift:"code,1" db:"code" json:"code"` Msg string `thrift:"msg,2" db:"msg" json:"msg"` Res []string `thrift:"res,3" db:"res" json:"res"` }
Attributes:
- Code
- Msg
- Res
var HKeysResult_Success_DEFAULT *LResponse
var HValuesResult_Success_DEFAULT *LResponse
var KeysResult_Success_DEFAULT *LResponse
var LRangeResult_Success_DEFAULT *LResponse
var SMembersResult_Success_DEFAULT *LResponse
var SRandMemberNResult_Success_DEFAULT *LResponse
func NewLResponse ¶
func NewLResponse() *LResponse
func (*LResponse) ReadField1 ¶
func (*LResponse) ReadField2 ¶
func (*LResponse) ReadField3 ¶
type LSetArgs ¶
type LSetArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Index int64 `thrift:"index,3" db:"index" json:"index"` Value string `thrift:"value,4" db:"value" json:"value"` }
Attributes:
- Appid
- Key
- Index
- Value
func NewLSetArgs ¶
func NewLSetArgs() *LSetArgs
func (*LSetArgs) ReadField1 ¶
func (*LSetArgs) ReadField2 ¶
func (*LSetArgs) ReadField3 ¶
func (*LSetArgs) ReadField4 ¶
type LSetResult ¶
type LSetResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewLSetResult ¶
func NewLSetResult() *LSetResult
func (*LSetResult) GetSuccess ¶
func (p *LSetResult) GetSuccess() *Response
func (*LSetResult) IsSetSuccess ¶
func (p *LSetResult) IsSetSuccess() bool
func (*LSetResult) ReadField0 ¶
func (*LSetResult) String ¶
func (p *LSetResult) String() string
type LTrimArgs ¶
type LTrimArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Start int64 `thrift:"start,3" db:"start" json:"start"` Stop int64 `thrift:"stop,4" db:"stop" json:"stop"` }
Attributes:
- Appid
- Key
- Start
- Stop
func NewLTrimArgs ¶
func NewLTrimArgs() *LTrimArgs
func (*LTrimArgs) ReadField1 ¶
func (*LTrimArgs) ReadField2 ¶
func (*LTrimArgs) ReadField3 ¶
func (*LTrimArgs) ReadField4 ¶
type LTrimResult ¶
type LTrimResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewLTrimResult ¶
func NewLTrimResult() *LTrimResult
func (*LTrimResult) GetSuccess ¶
func (p *LTrimResult) GetSuccess() *Response
func (*LTrimResult) IsSetSuccess ¶
func (p *LTrimResult) IsSetSuccess() bool
func (*LTrimResult) ReadField0 ¶
func (*LTrimResult) String ¶
func (p *LTrimResult) String() string
type MBytesResponse ¶
type MBytesResponse struct { Code int32 `thrift:"code,1" db:"code" json:"code"` Msg string `thrift:"msg,2" db:"msg" json:"msg"` Res map[string][]byte `thrift:"res,3" db:"res" json:"res"` }
Attributes:
- Code
- Msg
- Res
var HMGetBytesResult_Success_DEFAULT *MBytesResponse
var MGetBytesResult_Success_DEFAULT *MBytesResponse
func NewMBytesResponse ¶
func NewMBytesResponse() *MBytesResponse
func (*MBytesResponse) GetCode ¶
func (p *MBytesResponse) GetCode() int32
func (*MBytesResponse) GetMsg ¶
func (p *MBytesResponse) GetMsg() string
func (*MBytesResponse) GetRes ¶
func (p *MBytesResponse) GetRes() map[string][]byte
func (*MBytesResponse) ReadField1 ¶
func (*MBytesResponse) ReadField2 ¶
func (*MBytesResponse) ReadField3 ¶
func (*MBytesResponse) String ¶
func (p *MBytesResponse) String() string
type MDelArgs ¶
type MDelArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Keys []string `thrift:"keys,2" db:"keys" json:"keys"` }
Attributes:
- Appid
- Keys
func NewMDelArgs ¶
func NewMDelArgs() *MDelArgs
func (*MDelArgs) ReadField1 ¶
func (*MDelArgs) ReadField2 ¶
type MDelResult ¶
type MDelResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewMDelResult ¶
func NewMDelResult() *MDelResult
func (*MDelResult) GetSuccess ¶
func (p *MDelResult) GetSuccess() *IntResponse
func (*MDelResult) IsSetSuccess ¶
func (p *MDelResult) IsSetSuccess() bool
func (*MDelResult) ReadField0 ¶
func (*MDelResult) String ¶
func (p *MDelResult) String() string
type MGetArgs ¶
type MGetArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Keys []string `thrift:"keys,2" db:"keys" json:"keys"` }
Attributes:
- Appid
- Keys
func NewRedisProxyMGetArgs ¶
func NewRedisProxyMGetArgs() *MGetArgs
func (*MGetArgs) ReadField1 ¶
func (*MGetArgs) ReadField2 ¶
type MGetBytesArgs ¶
type MGetBytesArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Keys []string `thrift:"keys,2" db:"keys" json:"keys"` }
Attributes:
- Appid
- Keys
func NewRedisProxyMGetBytesArgs ¶
func NewRedisProxyMGetBytesArgs() *MGetBytesArgs
func (*MGetBytesArgs) GetAppid ¶
func (p *MGetBytesArgs) GetAppid() string
func (*MGetBytesArgs) GetKeys ¶
func (p *MGetBytesArgs) GetKeys() []string
func (*MGetBytesArgs) ReadField1 ¶
func (*MGetBytesArgs) ReadField2 ¶
func (*MGetBytesArgs) String ¶
func (p *MGetBytesArgs) String() string
type MGetBytesResult ¶
type MGetBytesResult struct {
Success *MBytesResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewMGetBytesResult ¶
func NewMGetBytesResult() *MGetBytesResult
func (*MGetBytesResult) GetSuccess ¶
func (p *MGetBytesResult) GetSuccess() *MBytesResponse
func (*MGetBytesResult) IsSetSuccess ¶
func (p *MGetBytesResult) IsSetSuccess() bool
func (*MGetBytesResult) ReadField0 ¶
func (*MGetBytesResult) String ¶
func (p *MGetBytesResult) String() string
type MGetResult ¶
type MGetResult struct {
Success *MResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewMGetResult ¶
func NewMGetResult() *MGetResult
func (*MGetResult) GetSuccess ¶
func (p *MGetResult) GetSuccess() *MResponse
func (*MGetResult) IsSetSuccess ¶
func (p *MGetResult) IsSetSuccess() bool
func (*MGetResult) ReadField0 ¶
func (*MGetResult) String ¶
func (p *MGetResult) String() string
type MIntResponse ¶
type MIntResponse struct { Code int32 `thrift:"code,1" db:"code" json:"code"` Msg string `thrift:"msg,2" db:"msg" json:"msg"` Res map[string]int64 `thrift:"res,3" db:"res" json:"res"` }
Attributes:
- Code
- Msg
- Res
var MLLenResult_Success_DEFAULT *MIntResponse
func NewMIntResponse ¶
func NewMIntResponse() *MIntResponse
func (*MIntResponse) GetCode ¶
func (p *MIntResponse) GetCode() int32
func (*MIntResponse) GetMsg ¶
func (p *MIntResponse) GetMsg() string
func (*MIntResponse) GetRes ¶
func (p *MIntResponse) GetRes() map[string]int64
func (*MIntResponse) ReadField1 ¶
func (*MIntResponse) ReadField2 ¶
func (*MIntResponse) ReadField3 ¶
func (*MIntResponse) String ¶
func (p *MIntResponse) String() string
type MResponse ¶
type MResponse struct { Code int32 `thrift:"code,1" db:"code" json:"code"` Msg string `thrift:"msg,2" db:"msg" json:"msg"` Res map[string]string `thrift:"res,3" db:"res" json:"res"` }
Attributes:
- Code
- Msg
- Res
var HGetAllResult_Success_DEFAULT *MResponse
var InfoResult_Success_DEFAULT *MResponse
var MGetResult_Success_DEFAULT *MResponse
var RedisProxyHMGetResult_Success_DEFAULT *MResponse
func NewMResponse ¶
func NewMResponse() *MResponse
func (*MResponse) ReadField1 ¶
func (*MResponse) ReadField2 ¶
func (*MResponse) ReadField3 ¶
type MSetArgs ¶
type MSetArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Reqs map[string]string `thrift:"reqs,2" db:"reqs" json:"reqs"` }
Attributes:
- Appid
- Reqs
func NewRedisProxyMSetArgs ¶
func NewRedisProxyMSetArgs() *MSetArgs
func (*MSetArgs) ReadField1 ¶
func (*MSetArgs) ReadField2 ¶
type MSetBytesResult ¶
type MSetBytesResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewRedisProxyMSetBytesResult ¶
func NewRedisProxyMSetBytesResult() *MSetBytesResult
func (*MSetBytesResult) GetSuccess ¶
func (p *MSetBytesResult) GetSuccess() *Response
func (*MSetBytesResult) IsSetSuccess ¶
func (p *MSetBytesResult) IsSetSuccess() bool
func (*MSetBytesResult) ReadField0 ¶
func (*MSetBytesResult) String ¶
func (p *MSetBytesResult) String() string
type MSetResult ¶
type MSetResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewRedisProxyMSetResult ¶
func NewRedisProxyMSetResult() *MSetResult
func (*MSetResult) GetSuccess ¶
func (p *MSetResult) GetSuccess() *Response
func (*MSetResult) IsSetSuccess ¶
func (p *MSetResult) IsSetSuccess() bool
func (*MSetResult) ReadField0 ¶
func (*MSetResult) String ¶
func (p *MSetResult) String() string
type MhDelArgs ¶
type MhDelArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Fields []string `thrift:"fields,3" db:"fields" json:"fields"` }
Attributes:
- Appid
- Key
- Fields
func NewMHDelArgs ¶
func NewMHDelArgs() *MhDelArgs
func (*MhDelArgs) ReadField1 ¶
func (*MhDelArgs) ReadField2 ¶
func (*MhDelArgs) ReadField3 ¶
type MhDelResult ¶
type MhDelResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewMHDelResult ¶
func NewMHDelResult() *MhDelResult
func (*MhDelResult) GetSuccess ¶
func (p *MhDelResult) GetSuccess() *IntResponse
func (*MhDelResult) IsSetSuccess ¶
func (p *MhDelResult) IsSetSuccess() bool
func (*MhDelResult) ReadField0 ¶
func (*MhDelResult) String ¶
func (p *MhDelResult) String() string
type MlLenArgs ¶
type MlLenArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Keys []string `thrift:"keys,2" db:"keys" json:"keys"` }
Attributes:
- Appid
- Keys
func NewMLLenArgs ¶
func NewMLLenArgs() *MlLenArgs
func (*MlLenArgs) ReadField1 ¶
func (*MlLenArgs) ReadField2 ¶
type MlLenResult ¶
type MlLenResult struct {
Success *MIntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewMLLenResult ¶
func NewMLLenResult() *MlLenResult
func (*MlLenResult) GetSuccess ¶
func (p *MlLenResult) GetSuccess() *MIntResponse
func (*MlLenResult) IsSetSuccess ¶
func (p *MlLenResult) IsSetSuccess() bool
func (*MlLenResult) ReadField0 ¶
func (*MlLenResult) String ¶
func (p *MlLenResult) String() string
type MlPushArgs ¶
type MlPushArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Value []string `thrift:"value,3" db:"value" json:"value"` }
Attributes:
- Appid
- Key
- Value
func NewMLPushArgs ¶
func NewMLPushArgs() *MlPushArgs
func (*MlPushArgs) GetAppid ¶
func (p *MlPushArgs) GetAppid() string
func (*MlPushArgs) GetKey ¶
func (p *MlPushArgs) GetKey() string
func (*MlPushArgs) GetValue ¶
func (p *MlPushArgs) GetValue() []string
func (*MlPushArgs) ReadField1 ¶
func (*MlPushArgs) ReadField2 ¶
func (*MlPushArgs) ReadField3 ¶
func (*MlPushArgs) String ¶
func (p *MlPushArgs) String() string
type MlPushByteWithTTLArgs ¶
type MlPushByteWithTTLArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Value [][]byte `thrift:"value,3" db:"value" json:"value"` TTL int64 `thrift:"ttl,4" db:"ttl" json:"ttl"` }
Attributes:
- Appid
- Key
- Value
- TTL
func NewMLPushByteWithTTLArgs ¶
func NewMLPushByteWithTTLArgs() *MlPushByteWithTTLArgs
func (*MlPushByteWithTTLArgs) GetAppid ¶
func (p *MlPushByteWithTTLArgs) GetAppid() string
func (*MlPushByteWithTTLArgs) GetKey ¶
func (p *MlPushByteWithTTLArgs) GetKey() string
func (*MlPushByteWithTTLArgs) GetTTL ¶
func (p *MlPushByteWithTTLArgs) GetTTL() int64
func (*MlPushByteWithTTLArgs) GetValue ¶
func (p *MlPushByteWithTTLArgs) GetValue() [][]byte
func (*MlPushByteWithTTLArgs) ReadField1 ¶
func (*MlPushByteWithTTLArgs) ReadField2 ¶
func (*MlPushByteWithTTLArgs) ReadField3 ¶
func (*MlPushByteWithTTLArgs) ReadField4 ¶
func (*MlPushByteWithTTLArgs) String ¶
func (p *MlPushByteWithTTLArgs) String() string
type MlPushByteWithTTLResult ¶
type MlPushByteWithTTLResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewMLPushByteWithTTLResult ¶
func NewMLPushByteWithTTLResult() *MlPushByteWithTTLResult
func (*MlPushByteWithTTLResult) GetSuccess ¶
func (p *MlPushByteWithTTLResult) GetSuccess() *IntResponse
func (*MlPushByteWithTTLResult) IsSetSuccess ¶
func (p *MlPushByteWithTTLResult) IsSetSuccess() bool
func (*MlPushByteWithTTLResult) ReadField0 ¶
func (*MlPushByteWithTTLResult) String ¶
func (p *MlPushByteWithTTLResult) String() string
type MlPushResult ¶
type MlPushResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewMLPushResult ¶
func NewMLPushResult() *MlPushResult
func (*MlPushResult) GetSuccess ¶
func (p *MlPushResult) GetSuccess() *IntResponse
func (*MlPushResult) IsSetSuccess ¶
func (p *MlPushResult) IsSetSuccess() bool
func (*MlPushResult) ReadField0 ¶
func (*MlPushResult) String ¶
func (p *MlPushResult) String() string
type MlPushWithTTLArgs ¶
type MlPushWithTTLArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Value []string `thrift:"value,3" db:"value" json:"value"` TTL int64 `thrift:"ttl,4" db:"ttl" json:"ttl"` }
Attributes:
- Appid
- Key
- Value
- TTL
func NewMLPushWithTTLArgs ¶
func NewMLPushWithTTLArgs() *MlPushWithTTLArgs
func (*MlPushWithTTLArgs) GetAppid ¶
func (p *MlPushWithTTLArgs) GetAppid() string
func (*MlPushWithTTLArgs) GetKey ¶
func (p *MlPushWithTTLArgs) GetKey() string
func (*MlPushWithTTLArgs) GetTTL ¶
func (p *MlPushWithTTLArgs) GetTTL() int64
func (*MlPushWithTTLArgs) GetValue ¶
func (p *MlPushWithTTLArgs) GetValue() []string
func (*MlPushWithTTLArgs) ReadField1 ¶
func (*MlPushWithTTLArgs) ReadField2 ¶
func (*MlPushWithTTLArgs) ReadField3 ¶
func (*MlPushWithTTLArgs) ReadField4 ¶
func (*MlPushWithTTLArgs) String ¶
func (p *MlPushWithTTLArgs) String() string
type MlPushWithTTLResult ¶
type MlPushWithTTLResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewMLPushWithTTLResult ¶
func NewMLPushWithTTLResult() *MlPushWithTTLResult
func (*MlPushWithTTLResult) GetSuccess ¶
func (p *MlPushWithTTLResult) GetSuccess() *IntResponse
func (*MlPushWithTTLResult) IsSetSuccess ¶
func (p *MlPushWithTTLResult) IsSetSuccess() bool
func (*MlPushWithTTLResult) ReadField0 ¶
func (*MlPushWithTTLResult) String ¶
func (p *MlPushWithTTLResult) String() string
type MrPushByteWithTTLArgs ¶
type MrPushByteWithTTLArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Value [][]byte `thrift:"value,3" db:"value" json:"value"` TTL int64 `thrift:"ttl,4" db:"ttl" json:"ttl"` }
Attributes:
- Appid
- Key
- Value
- TTL
func NewMRPushByteWithTTLArgs ¶
func NewMRPushByteWithTTLArgs() *MrPushByteWithTTLArgs
func (*MrPushByteWithTTLArgs) GetAppid ¶
func (p *MrPushByteWithTTLArgs) GetAppid() string
func (*MrPushByteWithTTLArgs) GetKey ¶
func (p *MrPushByteWithTTLArgs) GetKey() string
func (*MrPushByteWithTTLArgs) GetTTL ¶
func (p *MrPushByteWithTTLArgs) GetTTL() int64
func (*MrPushByteWithTTLArgs) GetValue ¶
func (p *MrPushByteWithTTLArgs) GetValue() [][]byte
func (*MrPushByteWithTTLArgs) ReadField1 ¶
func (*MrPushByteWithTTLArgs) ReadField2 ¶
func (*MrPushByteWithTTLArgs) ReadField3 ¶
func (*MrPushByteWithTTLArgs) ReadField4 ¶
func (*MrPushByteWithTTLArgs) String ¶
func (p *MrPushByteWithTTLArgs) String() string
type MrPushByteWithTTLResult ¶
type MrPushByteWithTTLResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewMRPushByteWithTTLResult ¶
func NewMRPushByteWithTTLResult() *MrPushByteWithTTLResult
func (*MrPushByteWithTTLResult) GetSuccess ¶
func (p *MrPushByteWithTTLResult) GetSuccess() *IntResponse
func (*MrPushByteWithTTLResult) IsSetSuccess ¶
func (p *MrPushByteWithTTLResult) IsSetSuccess() bool
func (*MrPushByteWithTTLResult) ReadField0 ¶
func (*MrPushByteWithTTLResult) String ¶
func (p *MrPushByteWithTTLResult) String() string
type MrPushWithTTLArgs ¶
type MrPushWithTTLArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Value []string `thrift:"value,3" db:"value" json:"value"` TTL int64 `thrift:"ttl,4" db:"ttl" json:"ttl"` }
Attributes:
- Appid
- Key
- Value
- TTL
func NewMRPushWithTTLArgs ¶
func NewMRPushWithTTLArgs() *MrPushWithTTLArgs
func (*MrPushWithTTLArgs) GetAppid ¶
func (p *MrPushWithTTLArgs) GetAppid() string
func (*MrPushWithTTLArgs) GetKey ¶
func (p *MrPushWithTTLArgs) GetKey() string
func (*MrPushWithTTLArgs) GetTTL ¶
func (p *MrPushWithTTLArgs) GetTTL() int64
func (*MrPushWithTTLArgs) GetValue ¶
func (p *MrPushWithTTLArgs) GetValue() []string
func (*MrPushWithTTLArgs) ReadField1 ¶
func (*MrPushWithTTLArgs) ReadField2 ¶
func (*MrPushWithTTLArgs) ReadField3 ¶
func (*MrPushWithTTLArgs) ReadField4 ¶
func (*MrPushWithTTLArgs) String ¶
func (p *MrPushWithTTLArgs) String() string
type MrPushWithTTLResult ¶
type MrPushWithTTLResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewMRPushWithTTLResult ¶
func NewMRPushWithTTLResult() *MrPushWithTTLResult
func (*MrPushWithTTLResult) GetSuccess ¶
func (p *MrPushWithTTLResult) GetSuccess() *IntResponse
func (*MrPushWithTTLResult) IsSetSuccess ¶
func (p *MrPushWithTTLResult) IsSetSuccess() bool
func (*MrPushWithTTLResult) ReadField0 ¶
func (*MrPushWithTTLResult) String ¶
func (p *MrPushWithTTLResult) String() string
type MsAddArgs ¶
type MsAddArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Members []string `thrift:"members,3" db:"members" json:"members"` }
Attributes:
- Appid
- Key
- Members
func NewMSAddArgs ¶
func NewMSAddArgs() *MsAddArgs
func (*MsAddArgs) GetMembers ¶
func (*MsAddArgs) ReadField1 ¶
func (*MsAddArgs) ReadField2 ¶
func (*MsAddArgs) ReadField3 ¶
type MsAddResult ¶
type MsAddResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewMSAddResult ¶
func NewMSAddResult() *MsAddResult
func (*MsAddResult) GetSuccess ¶
func (p *MsAddResult) GetSuccess() *IntResponse
func (*MsAddResult) IsSetSuccess ¶
func (p *MsAddResult) IsSetSuccess() bool
func (*MsAddResult) ReadField0 ¶
func (*MsAddResult) String ¶
func (p *MsAddResult) String() string
type MsRemArgs ¶
type MsRemArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Member []string `thrift:"member,3" db:"member" json:"member"` }
Attributes:
- Appid
- Key
- Member
func NewMSRemArgs ¶
func NewMSRemArgs() *MsRemArgs
func (*MsRemArgs) ReadField1 ¶
func (*MsRemArgs) ReadField2 ¶
func (*MsRemArgs) ReadField3 ¶
type MsRemResult ¶
type MsRemResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewMSRemResult ¶
func NewMSRemResult() *MsRemResult
func (*MsRemResult) GetSuccess ¶
func (p *MsRemResult) GetSuccess() *IntResponse
func (*MsRemResult) IsSetSuccess ¶
func (p *MsRemResult) IsSetSuccess() bool
func (*MsRemResult) ReadField0 ¶
func (*MsRemResult) String ¶
func (p *MsRemResult) String() string
type MzAddArgs ¶
type MzAddArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Members []*Z `thrift:"members,3" db:"members" json:"members"` }
Attributes:
- Appid
- Key
- Members
func NewMZAddArgs ¶
func NewMZAddArgs() *MzAddArgs
func (*MzAddArgs) GetMembers ¶
func (*MzAddArgs) ReadField1 ¶
func (*MzAddArgs) ReadField2 ¶
func (*MzAddArgs) ReadField3 ¶
type MzAddResult ¶
type MzAddResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewMZAddResult ¶
func NewMZAddResult() *MzAddResult
func (*MzAddResult) GetSuccess ¶
func (p *MzAddResult) GetSuccess() *IntResponse
func (*MzAddResult) IsSetSuccess ¶
func (p *MzAddResult) IsSetSuccess() bool
func (*MzAddResult) ReadField0 ¶
func (*MzAddResult) String ¶
func (p *MzAddResult) String() string
type MzRemArgs ¶
type MzRemArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Members []string `thrift:"members,3" db:"members" json:"members"` }
Attributes:
- Appid
- Key
- Members
func NewMZRemArgs ¶
func NewMZRemArgs() *MzRemArgs
func (*MzRemArgs) GetMembers ¶
func (*MzRemArgs) ReadField1 ¶
func (*MzRemArgs) ReadField2 ¶
func (*MzRemArgs) ReadField3 ¶
type MzRemResult ¶
type MzRemResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewMZRemResult ¶
func NewMZRemResult() *MzRemResult
func (*MzRemResult) GetSuccess ¶
func (p *MzRemResult) GetSuccess() *IntResponse
func (*MzRemResult) IsSetSuccess ¶
func (p *MzRemResult) IsSetSuccess() bool
func (*MzRemResult) ReadField0 ¶
func (*MzRemResult) String ¶
func (p *MzRemResult) String() string
type NodeInfoArgs ¶
type NodeInfoArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Addr string `thrift:"addr,2" db:"addr" json:"addr"` Sections []string `thrift:"sections,3" db:"sections" json:"sections"` }
Attributes:
- Appid
- Addr
- Sections
func NewRedisProxyNodeInfoArgs ¶
func NewRedisProxyNodeInfoArgs() *NodeInfoArgs
func (*NodeInfoArgs) GetAddr ¶
func (p *NodeInfoArgs) GetAddr() string
func (*NodeInfoArgs) GetAppid ¶
func (p *NodeInfoArgs) GetAppid() string
func (*NodeInfoArgs) GetSections ¶
func (p *NodeInfoArgs) GetSections() []string
func (*NodeInfoArgs) ReadField1 ¶
func (*NodeInfoArgs) ReadField2 ¶
func (*NodeInfoArgs) ReadField3 ¶
func (*NodeInfoArgs) String ¶
func (p *NodeInfoArgs) String() string
type NodeInfoResult ¶
type NodeInfoResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewNodeInfoResult ¶
func NewNodeInfoResult() *NodeInfoResult
func (*NodeInfoResult) GetSuccess ¶
func (p *NodeInfoResult) GetSuccess() *Response
func (*NodeInfoResult) IsSetSuccess ¶
func (p *NodeInfoResult) IsSetSuccess() bool
func (*NodeInfoResult) ReadField0 ¶
func (*NodeInfoResult) String ¶
func (p *NodeInfoResult) String() string
type PingArgs ¶
type PingArgs struct {
Echo int32 `thrift:"echo,1" db:"echo" json:"echo"`
}
Attributes:
- Echo
func NewPingArgs ¶
func NewPingArgs() *PingArgs
func (*PingArgs) ReadField1 ¶
type PingResult ¶
type PingResult struct {
Success *int32 `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewPingResult ¶
func NewPingResult() *PingResult
func (*PingResult) GetSuccess ¶
func (p *PingResult) GetSuccess() int32
func (*PingResult) IsSetSuccess ¶
func (p *PingResult) IsSetSuccess() bool
func (*PingResult) ReadField0 ¶
func (*PingResult) String ¶
func (p *PingResult) String() string
type ProxyHGetArgs ¶
type ProxyHGetArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Field string `thrift:"field,3" db:"field" json:"field"` }
Attributes:
- Appid
- Key
- Field
func NewHGetArgs ¶
func NewHGetArgs() *ProxyHGetArgs
func (*ProxyHGetArgs) GetAppid ¶
func (p *ProxyHGetArgs) GetAppid() string
func (*ProxyHGetArgs) GetField ¶
func (p *ProxyHGetArgs) GetField() string
func (*ProxyHGetArgs) GetKey ¶
func (p *ProxyHGetArgs) GetKey() string
func (*ProxyHGetArgs) ReadField1 ¶
func (*ProxyHGetArgs) ReadField2 ¶
func (*ProxyHGetArgs) ReadField3 ¶
func (*ProxyHGetArgs) String ¶
func (p *ProxyHGetArgs) String() string
type ProxyLPopArgs ¶
type ProxyLPopArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` }
Attributes:
- Appid
- Key
func NewLPopArgs ¶
func NewLPopArgs() *ProxyLPopArgs
func (*ProxyLPopArgs) GetAppid ¶
func (p *ProxyLPopArgs) GetAppid() string
func (*ProxyLPopArgs) GetKey ¶
func (p *ProxyLPopArgs) GetKey() string
func (*ProxyLPopArgs) ReadField1 ¶
func (*ProxyLPopArgs) ReadField2 ¶
func (*ProxyLPopArgs) String ¶
func (p *ProxyLPopArgs) String() string
type RPopArgs ¶
type RPopArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` }
Attributes:
- Appid
- Key
func NewRPopArgs ¶
func NewRPopArgs() *RPopArgs
func (*RPopArgs) ReadField1 ¶
func (*RPopArgs) ReadField2 ¶
type RPopByteArgs ¶
type RPopByteArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` }
Attributes:
- Appid
- Key
func NewRPopByteArgs ¶
func NewRPopByteArgs() *RPopByteArgs
func (*RPopByteArgs) GetAppid ¶
func (p *RPopByteArgs) GetAppid() string
func (*RPopByteArgs) GetKey ¶
func (p *RPopByteArgs) GetKey() string
func (*RPopByteArgs) ReadField1 ¶
func (*RPopByteArgs) ReadField2 ¶
func (*RPopByteArgs) String ¶
func (p *RPopByteArgs) String() string
type RPopByteResult ¶
type RPopByteResult struct {
Success *BytesResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewRPopByteResult ¶
func NewRPopByteResult() *RPopByteResult
func (*RPopByteResult) GetSuccess ¶
func (p *RPopByteResult) GetSuccess() *BytesResponse
func (*RPopByteResult) IsSetSuccess ¶
func (p *RPopByteResult) IsSetSuccess() bool
func (*RPopByteResult) ReadField0 ¶
func (*RPopByteResult) String ¶
func (p *RPopByteResult) String() string
type RPopResult ¶
type RPopResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewRPopResult ¶
func NewRPopResult() *RPopResult
func (*RPopResult) GetSuccess ¶
func (p *RPopResult) GetSuccess() *Response
func (*RPopResult) IsSetSuccess ¶
func (p *RPopResult) IsSetSuccess() bool
func (*RPopResult) ReadField0 ¶
func (*RPopResult) String ¶
func (p *RPopResult) String() string
type RPushArgs ¶
type RPushArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Value string `thrift:"value,3" db:"value" json:"value"` }
Attributes:
- Appid
- Key
- Value
func NewRPushArgs ¶
func NewRPushArgs() *RPushArgs
func (*RPushArgs) ReadField1 ¶
func (*RPushArgs) ReadField2 ¶
func (*RPushArgs) ReadField3 ¶
type RPushByteArgs ¶
type RPushByteArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Value []byte `thrift:"value,3" db:"value" json:"value"` }
Attributes:
- Appid
- Key
- Value
func NewRPushByteArgs ¶
func NewRPushByteArgs() *RPushByteArgs
func (*RPushByteArgs) GetAppid ¶
func (p *RPushByteArgs) GetAppid() string
func (*RPushByteArgs) GetKey ¶
func (p *RPushByteArgs) GetKey() string
func (*RPushByteArgs) GetValue ¶
func (p *RPushByteArgs) GetValue() []byte
func (*RPushByteArgs) ReadField1 ¶
func (*RPushByteArgs) ReadField2 ¶
func (*RPushByteArgs) ReadField3 ¶
func (*RPushByteArgs) String ¶
func (p *RPushByteArgs) String() string
type RPushByteResult ¶
type RPushByteResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewRPushByteResult ¶
func NewRPushByteResult() *RPushByteResult
func (*RPushByteResult) GetSuccess ¶
func (p *RPushByteResult) GetSuccess() *IntResponse
func (*RPushByteResult) IsSetSuccess ¶
func (p *RPushByteResult) IsSetSuccess() bool
func (*RPushByteResult) ReadField0 ¶
func (*RPushByteResult) String ¶
func (p *RPushByteResult) String() string
type RPushResult ¶
type RPushResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewRPushResult ¶
func NewRPushResult() *RPushResult
func (*RPushResult) GetSuccess ¶
func (p *RPushResult) GetSuccess() *IntResponse
func (*RPushResult) IsSetSuccess ¶
func (p *RPushResult) IsSetSuccess() bool
func (*RPushResult) ReadField0 ¶
func (*RPushResult) String ¶
func (p *RPushResult) String() string
type RedisProxy ¶
type RedisProxy interface { // Parameters: // - Echo Ping(ctx context.Context, echo int32) (r int32, err error) // Parameters: // - Echo RedisProxyPing(ctx context.Context, echo int32) (r int32, err error) // Parameters: // - AppId // - Key // - Value GetSet(ctx context.Context, appid string, key string, value string) (r *Response, err error) // Parameters: // - AppId // - Key // - Value GetSetBytes(ctx context.Context, appid string, key string, value []byte) (r *BytesResponse, err error) // Parameters: // - AppId // - Key // - Value // - TTL Set(ctx context.Context, appid string, key string, value string, ttl int64) (r *Response, err error) // Parameters: // - AppId // - Key // - Value // - TTL SetBytes(ctx context.Context, appid string, key string, value []byte, ttl int64) (r *Response, err error) // Parameters: // - AppId // - Key // - Value // - TTL SetNX(ctx context.Context, appid string, key string, value string, ttl int64) (r *Response, err error) // Parameters: // - AppId // - Key // - Value // - TTL SetNXBytes(ctx context.Context, appid string, key string, value []byte, ttl int64) (r *Response, err error) // Parameters: // - AppId // - Key Get(ctx context.Context, appid string, key string) (r *Response, err error) // Parameters: // - AppId // - Key GetBytes(ctx context.Context, appid string, key string) (r *BytesResponse, err error) // Parameters: // - AppId // - Reqs MSet(ctx context.Context, appid string, reqs map[string]string) (r *Response, err error) // Parameters: // - AppId // - Reqs MSetBytes(ctx context.Context, appid string, reqs map[string][]byte) (r *Response, err error) // Parameters: // - AppId // - Keys MGet(ctx context.Context, appid string, keys []string) (r *MResponse, err error) // Parameters: // - AppId // - Keys MGetBytes(ctx context.Context, appid string, keys []string) (r *MBytesResponse, err error) // Parameters: // - AppId // - Key Del(ctx context.Context, appid string, key string) (r *IntResponse, err error) // Parameters: // - AppId // - Keys MDel(ctx context.Context, appid string, keys []string) (r *IntResponse, err error) // Parameters: // - AppId // - Key Keys(ctx context.Context, appid string, key string) (r *LResponse, err error) // Parameters: // - AppId // - Key // - TTL Expire(ctx context.Context, appid string, key string, ttl int64) (r *Response, err error) // Parameters: // - AppId // - Key TTL(ctx context.Context, appid string, key string) (r *IntResponse, err error) // Parameters: // - AppId // - Key Exists(ctx context.Context, appid string, key string) (r *Response, err error) // Parameters: // - AppId // - Key // - Field // - Value HSet(ctx context.Context, appid string, key string, field string, value string) (r *Response, err error) // Parameters: // - AppId // - Key // - Field // - Value HSetBytes(ctx context.Context, appid string, key string, field string, value []byte) (r *Response, err error) // Parameters: // - AppId // - Key // - Field // - Value HSetNX(ctx context.Context, appid string, key string, field string, value string) (r *Response, err error) // Parameters: // - AppId // - Key // - Field // - Value HSetNXBytes(ctx context.Context, appid string, key string, field string, value string) (r *Response, err error) // Parameters: // - AppId // - Key // - Field HGet(ctx context.Context, appid string, key string, field string) (r *Response, err error) // Parameters: // - AppId // - Key // - Field HGetBytes(ctx context.Context, appid string, key string, field string) (r *BytesResponse, err error) // Parameters: // - AppId // - Key // - Fields HMSet(ctx context.Context, appid string, key string, fields map[string]string) (r *Response, err error) // Parameters: // - AppId // - Key // - Fields HMSetBytes(ctx context.Context, appid string, key string, fields map[string][]byte) (r *Response, err error) // Parameters: // - AppId // - Key // - Fields HMGet(ctx context.Context, appid string, key string, fields []string) (r *MResponse, err error) // Parameters: // - AppId // - Key // - Fields HMGetBytes(ctx context.Context, appid string, key string, fields []string) (r *MBytesResponse, err error) // Parameters: // - AppId // - Key HGetAll(ctx context.Context, appid string, key string) (r *MResponse, err error) // Parameters: // - AppId // - Key // - Field HDel(ctx context.Context, appid string, key string, field string) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Fields MHDel(ctx context.Context, appid string, key string, fields []string) (r *IntResponse, err error) // Parameters: // - AppId // - Key HKeys(ctx context.Context, appid string, key string) (r *LResponse, err error) // Parameters: // - AppId // - Key HVals(ctx context.Context, appid string, key string) (r *LResponse, err error) // Parameters: // - AppId // - Key // - Field // - Inrc HIncrBy(ctx context.Context, appid string, key string, field string, inrc int64) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Field // - Inrc HIncrByFloat(ctx context.Context, appid string, key string, field string, inrc float64) (r *FloatResponse, err error) // Parameters: // - AppId // - Key // - Field HExists(ctx context.Context, appid string, key string, field string) (r *Response, err error) // Parameters: // - AppId // - Key // - Member ZAdd(ctx context.Context, appid string, key string, member *Z) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Members MZAdd(ctx context.Context, appid string, key string, members []*Z) (r *IntResponse, err error) // Parameters: // - AppId // - Key ZCard(ctx context.Context, appid string, key string) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Min // - Max ZCount(ctx context.Context, appid string, key string, min string, max string) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Start // - Stop ZRangeWithScores(ctx context.Context, appid string, key string, start int64, stop int64) (r *ZResponse, err error) // Parameters: // - AppId // - Key // - Min // - Max // - Offset // - Count ZRangeByScoreWithScores(ctx context.Context, appid string, key string, min string, max string, offset int64, count int64) (r *ZResponse, err error) // Parameters: // - AppId // - Key // - Member ZRem(ctx context.Context, appid string, key string, member string) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Members MZRem(ctx context.Context, appid string, key string, members []string) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Start // - Stop ZRemRangeByRank(ctx context.Context, appid string, key string, start int64, stop int64) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Min // - Max ZRemRangeByScore(ctx context.Context, appid string, key string, min string, max string) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Increment // - Member ZIncrBy(ctx context.Context, appid string, key string, increment float64, member string) (r *FloatResponse, err error) // Parameters: // - AppId // - Key // - Member ZScore(ctx context.Context, appid string, key string, member string) (r *FloatResponse, err error) // Parameters: // - AppId // - Key // - Member SAdd(ctx context.Context, appid string, key string, member string) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Members MSAdd(ctx context.Context, appid string, key string, members []string) (r *IntResponse, err error) // Parameters: // - AppId // - Key SCard(ctx context.Context, appid string, key string) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Member SIsMember(ctx context.Context, appid string, key string, member string) (r *Response, err error) // Parameters: // - AppId // - Key SMembers(ctx context.Context, appid string, key string) (r *LResponse, err error) // Parameters: // - AppId // - Key SRandMember(ctx context.Context, appid string, key string) (r *Response, err error) // Parameters: // - AppId // - Key // - N SRandMemberN(ctx context.Context, appid string, key string, n int64) (r *LResponse, err error) // Parameters: // - AppId // - Key // - Member SRem(ctx context.Context, appid string, key string, member string) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Member MSRem(ctx context.Context, appid string, key string, member []string) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Value LPush(ctx context.Context, appid string, key string, value string) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Value LPushByte(ctx context.Context, appid string, key string, value []byte) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Value RPush(ctx context.Context, appid string, key string, value string) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Value RPushByte(ctx context.Context, appid string, key string, value []byte) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Value MLPush(ctx context.Context, appid string, key string, value []string) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Value // - TTL MLPushWithTTL(ctx context.Context, appid string, key string, value []string, ttl int64) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Value // - TTL MLPushByteWithTTL(ctx context.Context, appid string, key string, value [][]byte, ttl int64) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Value // - TTL MRPushWithTTL(ctx context.Context, appid string, key string, value []string, ttl int64) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Value // - TTL MRPushByteWithTTL(ctx context.Context, appid string, key string, value [][]byte, ttl int64) (r *IntResponse, err error) // Parameters: // - AppId // - Key LPop(ctx context.Context, appid string, key string) (r *Response, err error) // Parameters: // - AppId // - Key LPopByte(ctx context.Context, appid string, key string) (r *BytesResponse, err error) // Parameters: // - AppId // - Key RPop(ctx context.Context, appid string, key string) (r *Response, err error) // Parameters: // - AppId // - Key RPopByte(ctx context.Context, appid string, key string) (r *BytesResponse, err error) // Parameters: // - AppId // - Key // - Pivot // - Value LInsertBefore(ctx context.Context, appid string, key string, pivot string, value string) (r *IntResponse, err error) // Parameters: // - AppId // - Key // - Pivot // - Value LInsertAfter(ctx context.Context, appid string, key string, pivot string, value string) (r *IntResponse, err error) // Parameters: // - AppId // - Key LLen(ctx context.Context, appid string, key string) (r *IntResponse, err error) // Parameters: // - AppId // - Keys MLLen(ctx context.Context, appid string, keys []string) (r *MIntResponse, err error) // Parameters: // - AppId // - Key // - Index // - Value LSet(ctx context.Context, appid string, key string, index int64, value string) (r *Response, err error) // Parameters: // - AppId // - Key // - Index LIndex(ctx context.Context, appid string, key string, index int64) (r *Response, err error) // Parameters: // - AppId // - Key // - Start // - Stop LRange(ctx context.Context, appid string, key string, start int64, stop int64) (r *LResponse, err error) // Parameters: // - AppId // - Key // - Start // - Stop LTrim(ctx context.Context, appid string, key string, start int64, stop int64) (r *Response, err error) // Parameters: // - AppId ClusterNodes(ctx context.Context, appid string) (r *Response, err error) // Parameters: // - AppId ClusterInfo(ctx context.Context, appid string) (r *Response, err error) // Parameters: // - AppId // - Sections Info(ctx context.Context, appid string, sections []string) (r *MResponse, err error) // Parameters: // - AppId // - Addr // - Sections NodeInfo(ctx context.Context, appid string, addr string, sections []string) (r *Response, err error) }
type RedisProxyClient ¶
type RedisProxyClient struct {
// contains filtered or unexported fields
}
func NewRedisProxyClient ¶
func NewRedisProxyClient(c thrift.TClient) *RedisProxyClient
func NewRedisProxyClientFactory ¶
func NewRedisProxyClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *RedisProxyClient
func NewRedisProxyClientProtocol ¶
func NewRedisProxyClientProtocol(t thrift.TTransport, inTp thrift.TProtocol, outTp thrift.TProtocol) *RedisProxyClient
func (*RedisProxyClient) Client_ ¶
func (p *RedisProxyClient) Client_() thrift.TClient
func (*RedisProxyClient) Del ¶
func (p *RedisProxyClient) Del(ctx context.Context, appid string, key string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
func (*RedisProxyClient) Exists ¶
func (p *RedisProxyClient) Exists(ctx context.Context, appid string, key string) (r *Response, err error)
Parameters:
- AppId
- Key
func (*RedisProxyClient) Expire ¶
func (p *RedisProxyClient) Expire(ctx context.Context, appid string, key string, ttl int64) (r *Response, err error)
Parameters:
- AppId
- Key
- TTL
func (*RedisProxyClient) Get ¶
func (p *RedisProxyClient) Get(ctx context.Context, appid string, key string) (r *Response, err error)
Parameters:
- AppId
- Key
func (*RedisProxyClient) GetBytes ¶
func (p *RedisProxyClient) GetBytes(ctx context.Context, appid string, key string) (r *BytesResponse, err error)
Parameters:
- AppId
- Key
func (*RedisProxyClient) GetSet ¶
func (p *RedisProxyClient) GetSet(ctx context.Context, appid string, key string, value string) (r *Response, err error)
Parameters:
- AppId
- Key
- Value
func (*RedisProxyClient) GetSetBytes ¶
func (p *RedisProxyClient) GetSetBytes(ctx context.Context, appid string, key string, value []byte) (r *BytesResponse, err error)
Parameters:
- AppId
- Key
- Value
func (*RedisProxyClient) HDel ¶
func (p *RedisProxyClient) HDel(ctx context.Context, appid string, key string, field string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Field
func (*RedisProxyClient) HExists ¶
func (p *RedisProxyClient) HExists(ctx context.Context, appid string, key string, field string) (r *Response, err error)
Parameters:
- AppId
- Key
- Field
func (*RedisProxyClient) HGet ¶
func (p *RedisProxyClient) HGet(ctx context.Context, appid string, key string, field string) (r *Response, err error)
Parameters:
- AppId
- Key
- Field
func (*RedisProxyClient) HGetAll ¶
func (p *RedisProxyClient) HGetAll(ctx context.Context, appid string, key string) (r *MResponse, err error)
Parameters:
- AppId
- Key
func (*RedisProxyClient) HGetBytes ¶
func (p *RedisProxyClient) HGetBytes(ctx context.Context, appid string, key string, field string) (r *BytesResponse, err error)
Parameters:
- AppId
- Key
- Field
func (*RedisProxyClient) HIncrBy ¶
func (p *RedisProxyClient) HIncrBy(ctx context.Context, appid string, key string, field string, inrc int64) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Field
- Inrc
func (*RedisProxyClient) HIncrByFloat ¶
func (p *RedisProxyClient) HIncrByFloat(ctx context.Context, appid string, key string, field string, inrc float64) (r *FloatResponse, err error)
Parameters:
- AppId
- Key
- Field
- Inrc
func (*RedisProxyClient) HKeys ¶
func (p *RedisProxyClient) HKeys(ctx context.Context, appid string, key string) (r *LResponse, err error)
Parameters:
- AppId
- Key
func (*RedisProxyClient) HMGet ¶
func (p *RedisProxyClient) HMGet(ctx context.Context, appid string, key string, fields []string) (r *MResponse, err error)
Parameters:
- AppId
- Key
- Fields
func (*RedisProxyClient) HMGetBytes ¶
func (p *RedisProxyClient) HMGetBytes(ctx context.Context, appid string, key string, fields []string) (r *MBytesResponse, err error)
Parameters:
- AppId
- Key
- Fields
func (*RedisProxyClient) HMSet ¶
func (p *RedisProxyClient) HMSet(ctx context.Context, appid string, key string, fields map[string]string) (r *Response, err error)
Parameters:
- AppId
- Key
- Fields
func (*RedisProxyClient) HMSetBytes ¶
func (p *RedisProxyClient) HMSetBytes(ctx context.Context, appid string, key string, fields map[string][]byte) (r *Response, err error)
Parameters:
- AppId
- Key
- Fields
func (*RedisProxyClient) HSet ¶
func (p *RedisProxyClient) HSet(ctx context.Context, appid string, key string, field string, value string) (r *Response, err error)
Parameters:
- AppId
- Key
- Field
- Value
func (*RedisProxyClient) HSetBytes ¶
func (p *RedisProxyClient) HSetBytes(ctx context.Context, appid string, key string, field string, value []byte) (r *Response, err error)
Parameters:
- AppId
- Key
- Field
- Value
func (*RedisProxyClient) HSetNX ¶
func (p *RedisProxyClient) HSetNX(ctx context.Context, appid string, key string, field string, value string) (r *Response, err error)
Parameters:
- AppId
- Key
- Field
- Value
func (*RedisProxyClient) HSetNXBytes ¶
func (p *RedisProxyClient) HSetNXBytes(ctx context.Context, appid string, key string, field string, value string) (r *Response, err error)
Parameters:
- AppId
- Key
- Field
- Value
func (*RedisProxyClient) HVals ¶
func (p *RedisProxyClient) HVals(ctx context.Context, appid string, key string) (r *LResponse, err error)
Parameters:
- AppId
- Key
func (*RedisProxyClient) Info ¶
func (p *RedisProxyClient) Info(ctx context.Context, appid string, sections []string) (r *MResponse, err error)
Parameters:
- AppId
- Sections
func (*RedisProxyClient) Keys ¶
func (p *RedisProxyClient) Keys(ctx context.Context, appid string, key string) (r *LResponse, err error)
Parameters:
- AppId
- Key
func (*RedisProxyClient) LIndex ¶
func (p *RedisProxyClient) LIndex(ctx context.Context, appid string, key string, index int64) (r *Response, err error)
Parameters:
- AppId
- Key
- Index
func (*RedisProxyClient) LInsertAfter ¶
func (p *RedisProxyClient) LInsertAfter(ctx context.Context, appid string, key string, pivot string, value string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Pivot
- Value
func (*RedisProxyClient) LInsertBefore ¶
func (p *RedisProxyClient) LInsertBefore(ctx context.Context, appid string, key string, pivot string, value string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Pivot
- Value
func (*RedisProxyClient) LLen ¶
func (p *RedisProxyClient) LLen(ctx context.Context, appid string, key string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
func (*RedisProxyClient) LPop ¶
func (p *RedisProxyClient) LPop(ctx context.Context, appid string, key string) (r *Response, err error)
Parameters:
- AppId
- Key
func (*RedisProxyClient) LPopByte ¶
func (p *RedisProxyClient) LPopByte(ctx context.Context, appid string, key string) (r *BytesResponse, err error)
Parameters:
- AppId
- Key
func (*RedisProxyClient) LPush ¶
func (p *RedisProxyClient) LPush(ctx context.Context, appid string, key string, value string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Value
func (*RedisProxyClient) LPushByte ¶
func (p *RedisProxyClient) LPushByte(ctx context.Context, appid string, key string, value []byte) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Value
func (*RedisProxyClient) LRange ¶
func (p *RedisProxyClient) LRange(ctx context.Context, appid string, key string, start int64, stop int64) (r *LResponse, err error)
Parameters:
- AppId
- Key
- Start
- Stop
func (*RedisProxyClient) LSet ¶
func (p *RedisProxyClient) LSet(ctx context.Context, appid string, key string, index int64, value string) (r *Response, err error)
Parameters:
- AppId
- Key
- Index
- Value
func (*RedisProxyClient) LTrim ¶
func (p *RedisProxyClient) LTrim(ctx context.Context, appid string, key string, start int64, stop int64) (r *Response, err error)
Parameters:
- AppId
- Key
- Start
- Stop
func (*RedisProxyClient) MDel ¶
func (p *RedisProxyClient) MDel(ctx context.Context, appid string, keys []string) (r *IntResponse, err error)
Parameters:
- AppId
- Keys
func (*RedisProxyClient) MGet ¶
func (p *RedisProxyClient) MGet(ctx context.Context, appid string, keys []string) (r *MResponse, err error)
Parameters:
- AppId
- Keys
func (*RedisProxyClient) MGetBytes ¶
func (p *RedisProxyClient) MGetBytes(ctx context.Context, appid string, keys []string) (r *MBytesResponse, err error)
Parameters:
- AppId
- Keys
func (*RedisProxyClient) MHDel ¶
func (p *RedisProxyClient) MHDel(ctx context.Context, appid string, key string, fields []string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Fields
func (*RedisProxyClient) MLLen ¶
func (p *RedisProxyClient) MLLen(ctx context.Context, appid string, keys []string) (r *MIntResponse, err error)
Parameters:
- AppId
- Keys
func (*RedisProxyClient) MLPush ¶
func (p *RedisProxyClient) MLPush(ctx context.Context, appid string, key string, value []string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Value
func (*RedisProxyClient) MLPushByteWithTTL ¶
func (p *RedisProxyClient) MLPushByteWithTTL(ctx context.Context, appid string, key string, value [][]byte, ttl int64) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Value
- TTL
func (*RedisProxyClient) MLPushWithTTL ¶
func (p *RedisProxyClient) MLPushWithTTL(ctx context.Context, appid string, key string, value []string, ttl int64) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Value
- TTL
func (*RedisProxyClient) MRPushByteWithTTL ¶
func (p *RedisProxyClient) MRPushByteWithTTL(ctx context.Context, appid string, key string, value [][]byte, ttl int64) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Value
- TTL
func (*RedisProxyClient) MRPushWithTTL ¶
func (p *RedisProxyClient) MRPushWithTTL(ctx context.Context, appid string, key string, value []string, ttl int64) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Value
- TTL
func (*RedisProxyClient) MSAdd ¶
func (p *RedisProxyClient) MSAdd(ctx context.Context, appid string, key string, members []string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Members
func (*RedisProxyClient) MSRem ¶
func (p *RedisProxyClient) MSRem(ctx context.Context, appid string, key string, member []string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Member
func (*RedisProxyClient) MSet ¶
func (p *RedisProxyClient) MSet(ctx context.Context, appid string, reqs map[string]string) (r *Response, err error)
Parameters:
- AppId
- Reqs
func (*RedisProxyClient) MSetBytes ¶
func (p *RedisProxyClient) MSetBytes(ctx context.Context, appid string, reqs map[string][]byte) (r *Response, err error)
Parameters:
- AppId
- Reqs
func (*RedisProxyClient) MZAdd ¶
func (p *RedisProxyClient) MZAdd(ctx context.Context, appid string, key string, members []*Z) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Members
func (*RedisProxyClient) MZRem ¶
func (p *RedisProxyClient) MZRem(ctx context.Context, appid string, key string, members []string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Members
func (*RedisProxyClient) NodeInfo ¶
func (p *RedisProxyClient) NodeInfo(ctx context.Context, appid string, addr string, sections []string) (r *Response, err error)
Parameters:
- AppId
- Addr
- Sections
func (*RedisProxyClient) RPop ¶
func (p *RedisProxyClient) RPop(ctx context.Context, appid string, key string) (r *Response, err error)
Parameters:
- AppId
- Key
func (*RedisProxyClient) RPopByte ¶
func (p *RedisProxyClient) RPopByte(ctx context.Context, appid string, key string) (r *BytesResponse, err error)
Parameters:
- AppId
- Key
func (*RedisProxyClient) RPush ¶
func (p *RedisProxyClient) RPush(ctx context.Context, appid string, key string, value string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Value
func (*RedisProxyClient) RPushByte ¶
func (p *RedisProxyClient) RPushByte(ctx context.Context, appid string, key string, value []byte) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Value
func (*RedisProxyClient) SAdd ¶
func (p *RedisProxyClient) SAdd(ctx context.Context, appid string, key string, member string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Member
func (*RedisProxyClient) SCard ¶
func (p *RedisProxyClient) SCard(ctx context.Context, appid string, key string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
func (*RedisProxyClient) SIsMember ¶
func (p *RedisProxyClient) SIsMember(ctx context.Context, appid string, key string, member string) (r *Response, err error)
Parameters:
- AppId
- Key
- Member
func (*RedisProxyClient) SMembers ¶
func (p *RedisProxyClient) SMembers(ctx context.Context, appid string, key string) (r *LResponse, err error)
Parameters:
- AppId
- Key
func (*RedisProxyClient) SRandMember ¶
func (p *RedisProxyClient) SRandMember(ctx context.Context, appid string, key string) (r *Response, err error)
Parameters:
- AppId
- Key
func (*RedisProxyClient) SRandMemberN ¶
func (p *RedisProxyClient) SRandMemberN(ctx context.Context, appid string, key string, n int64) (r *LResponse, err error)
Parameters:
- AppId
- Key
- N
func (*RedisProxyClient) SRem ¶
func (p *RedisProxyClient) SRem(ctx context.Context, appid string, key string, member string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Member
func (*RedisProxyClient) Set ¶
func (p *RedisProxyClient) Set(ctx context.Context, appid string, key string, value string, ttl int64) (r *Response, err error)
Parameters:
- AppId
- Key
- Value
- TTL
func (*RedisProxyClient) SetBytes ¶
func (p *RedisProxyClient) SetBytes(ctx context.Context, appid string, key string, value []byte, ttl int64) (r *Response, err error)
Parameters:
- AppId
- Key
- Value
- TTL
func (*RedisProxyClient) SetNX ¶
func (p *RedisProxyClient) SetNX(ctx context.Context, appid string, key string, value string, ttl int64) (r *Response, err error)
Parameters:
- AppId
- Key
- Value
- TTL
func (*RedisProxyClient) SetNXBytes ¶
func (p *RedisProxyClient) SetNXBytes(ctx context.Context, appid string, key string, value []byte, ttl int64) (r *Response, err error)
Parameters:
- AppId
- Key
- Value
- TTL
func (*RedisProxyClient) TTL ¶
func (p *RedisProxyClient) TTL(ctx context.Context, appid string, key string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
func (*RedisProxyClient) ZAdd ¶
func (p *RedisProxyClient) ZAdd(ctx context.Context, appid string, key string, member *Z) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Member
func (*RedisProxyClient) ZCard ¶
func (p *RedisProxyClient) ZCard(ctx context.Context, appid string, key string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
func (*RedisProxyClient) ZCount ¶
func (p *RedisProxyClient) ZCount(ctx context.Context, appid string, key string, min string, max string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Min
- Max
func (*RedisProxyClient) ZIncrBy ¶
func (p *RedisProxyClient) ZIncrBy(ctx context.Context, appid string, key string, increment float64, member string) (r *FloatResponse, err error)
Parameters:
- AppId
- Key
- Increment
- Member
func (*RedisProxyClient) ZRangeByScoreWithScores ¶
func (p *RedisProxyClient) ZRangeByScoreWithScores(ctx context.Context, appid string, key string, min string, max string, offset int64, count int64) (r *ZResponse, err error)
Parameters:
- AppId
- Key
- Min
- Max
- Offset
- Count
func (*RedisProxyClient) ZRangeWithScores ¶
func (p *RedisProxyClient) ZRangeWithScores(ctx context.Context, appid string, key string, start int64, stop int64) (r *ZResponse, err error)
Parameters:
- AppId
- Key
- Start
- Stop
func (*RedisProxyClient) ZRem ¶
func (p *RedisProxyClient) ZRem(ctx context.Context, appid string, key string, member string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Member
func (*RedisProxyClient) ZRemRangeByRank ¶
func (p *RedisProxyClient) ZRemRangeByRank(ctx context.Context, appid string, key string, start int64, stop int64) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Start
- Stop
func (*RedisProxyClient) ZRemRangeByScore ¶
func (p *RedisProxyClient) ZRemRangeByScore(ctx context.Context, appid string, key string, min string, max string) (r *IntResponse, err error)
Parameters:
- AppId
- Key
- Min
- Max
func (*RedisProxyClient) ZScore ¶
func (p *RedisProxyClient) ZScore(ctx context.Context, appid string, key string, member string) (r *FloatResponse, err error)
Parameters:
- AppId
- Key
- Member
type RedisProxyHGetBytesArgs ¶
type RedisProxyHGetBytesArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Field string `thrift:"field,3" db:"field" json:"field"` }
Attributes:
- Appid
- Key
- Field
func NewRedisProxyHGetBytesArgs ¶
func NewRedisProxyHGetBytesArgs() *RedisProxyHGetBytesArgs
func (*RedisProxyHGetBytesArgs) GetAppid ¶
func (p *RedisProxyHGetBytesArgs) GetAppid() string
func (*RedisProxyHGetBytesArgs) GetField ¶
func (p *RedisProxyHGetBytesArgs) GetField() string
func (*RedisProxyHGetBytesArgs) GetKey ¶
func (p *RedisProxyHGetBytesArgs) GetKey() string
func (*RedisProxyHGetBytesArgs) ReadField1 ¶
func (*RedisProxyHGetBytesArgs) ReadField2 ¶
func (*RedisProxyHGetBytesArgs) ReadField3 ¶
func (*RedisProxyHGetBytesArgs) String ¶
func (p *RedisProxyHGetBytesArgs) String() string
type RedisProxyMSetBytesArgs ¶
type RedisProxyMSetBytesArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Reqs map[string][]byte `thrift:"reqs,2" db:"reqs" json:"reqs"` }
Attributes:
- Appid
- Reqs
func NewRedisProxyMSetBytesArgs ¶
func NewRedisProxyMSetBytesArgs() *RedisProxyMSetBytesArgs
func (*RedisProxyMSetBytesArgs) GetAppid ¶
func (p *RedisProxyMSetBytesArgs) GetAppid() string
func (*RedisProxyMSetBytesArgs) GetReqs ¶
func (p *RedisProxyMSetBytesArgs) GetReqs() map[string][]byte
func (*RedisProxyMSetBytesArgs) ReadField1 ¶
func (*RedisProxyMSetBytesArgs) ReadField2 ¶
func (*RedisProxyMSetBytesArgs) String ¶
func (p *RedisProxyMSetBytesArgs) String() string
type RedisProxyPingArgs ¶
type RedisProxyPingArgs struct {
Echo int32 `thrift:"echo,1" db:"echo" json:"echo"`
}
Attributes:
- Echo
func NewRedisProxyPingArgs ¶
func NewRedisProxyPingArgs() *RedisProxyPingArgs
func (*RedisProxyPingArgs) GetEcho ¶
func (p *RedisProxyPingArgs) GetEcho() int32
func (*RedisProxyPingArgs) ReadField1 ¶
func (*RedisProxyPingArgs) String ¶
func (p *RedisProxyPingArgs) String() string
type RedisProxyPingResult ¶
type RedisProxyPingResult struct {
Success *int32 `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewRedisProxyPingResult ¶
func NewRedisProxyPingResult() *RedisProxyPingResult
func (*RedisProxyPingResult) GetSuccess ¶
func (p *RedisProxyPingResult) GetSuccess() int32
func (*RedisProxyPingResult) IsSetSuccess ¶
func (p *RedisProxyPingResult) IsSetSuccess() bool
func (*RedisProxyPingResult) ReadField0 ¶
func (*RedisProxyPingResult) String ¶
func (p *RedisProxyPingResult) String() string
type RedisProxyProcessor ¶
type RedisProxyProcessor struct {
// contains filtered or unexported fields
}
func NewRedisProxyProcessor ¶
func NewRedisProxyProcessor(handler RedisProxy) *RedisProxyProcessor
func (*RedisProxyProcessor) AddToProcessorMap ¶
func (p *RedisProxyProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*RedisProxyProcessor) GetProcessorFunction ¶
func (p *RedisProxyProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*RedisProxyProcessor) Process ¶
func (p *RedisProxyProcessor) Process(ctx context.Context, in, out thrift.TProtocol) (success bool, err thrift.TException)
func (*RedisProxyProcessor) ProcessorMap ¶
func (p *RedisProxyProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type RedisProxySetBytesResult ¶
type RedisProxySetBytesResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewRedisProxySetBytesResult ¶
func NewRedisProxySetBytesResult() *RedisProxySetBytesResult
func (*RedisProxySetBytesResult) GetSuccess ¶
func (p *RedisProxySetBytesResult) GetSuccess() *Response
func (*RedisProxySetBytesResult) IsSetSuccess ¶
func (p *RedisProxySetBytesResult) IsSetSuccess() bool
func (*RedisProxySetBytesResult) ReadField0 ¶
func (*RedisProxySetBytesResult) String ¶
func (p *RedisProxySetBytesResult) String() string
type Response ¶
type Response struct { Code int32 `thrift:"code,1" db:"code" json:"code"` Msg string `thrift:"msg,2" db:"msg" json:"msg"` Res string `thrift:"res,3" db:"res" json:"res"` }
Attributes:
- Code
- Msg
- Res
var ClusterInfoResult_Success_DEFAULT *Response
var ClusterNodesResult_Success_DEFAULT *Response
var ExistsResult_Success_DEFAULT *Response
var ExpireResult_Success_DEFAULT *Response
var HExistsResult_Success_DEFAULT *Response
var HGetResult_Success_DEFAULT *Response
var HMSetResult_Success_DEFAULT *Response
var HSetBytesResult_Success_DEFAULT *Response
var HSetNXBytesResult_Success_DEFAULT *Response
var HSetResult_Success_DEFAULT *Response
var LIndexResult_Success_DEFAULT *Response
var LPopResult_Success_DEFAULT *Response
var LSetResult_Success_DEFAULT *Response
var LTrimResult_Success_DEFAULT *Response
var NodeInfoResult_Success_DEFAULT *Response
var RPopResult_Success_DEFAULT *Response
var RedisProxyGetResult_Success_DEFAULT *Response
var RedisProxyGetSetResult_Success_DEFAULT *Response
var RedisProxyHMSetBytesResult_Success_DEFAULT *Response
var RedisProxyHSetNXResult_Success_DEFAULT *Response
var RedisProxyMSetBytesResult_Success_DEFAULT *Response
var RedisProxyMSetResult_Success_DEFAULT *Response
var RedisProxySetBytesResult_Success_DEFAULT *Response
var RedisProxySetNXBytesResult_Success_DEFAULT *Response
var RedisProxySetNXResult_Success_DEFAULT *Response
var RedisProxySetResult_Success_DEFAULT *Response
var SIsMemberResult_Success_DEFAULT *Response
var SRandMemberResult_Success_DEFAULT *Response
func NewResponse ¶
func NewResponse() *Response
func (*Response) ReadField1 ¶
func (*Response) ReadField2 ¶
func (*Response) ReadField3 ¶
type SAddArgs ¶
type SAddArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Member string `thrift:"member,3" db:"member" json:"member"` }
Attributes:
- Appid
- Key
- Member
func NewSAddArgs ¶
func NewSAddArgs() *SAddArgs
func (*SAddArgs) ReadField1 ¶
func (*SAddArgs) ReadField2 ¶
func (*SAddArgs) ReadField3 ¶
type SAddResult ¶
type SAddResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewSAddResult ¶
func NewSAddResult() *SAddResult
func (*SAddResult) GetSuccess ¶
func (p *SAddResult) GetSuccess() *IntResponse
func (*SAddResult) IsSetSuccess ¶
func (p *SAddResult) IsSetSuccess() bool
func (*SAddResult) ReadField0 ¶
func (*SAddResult) String ¶
func (p *SAddResult) String() string
type SCardArgs ¶
type SCardArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` }
Attributes:
- Appid
- Key
func NewSCardArgs ¶
func NewSCardArgs() *SCardArgs
func (*SCardArgs) ReadField1 ¶
func (*SCardArgs) ReadField2 ¶
type SCardResult ¶
type SCardResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewSCardResult ¶
func NewSCardResult() *SCardResult
func (*SCardResult) GetSuccess ¶
func (p *SCardResult) GetSuccess() *IntResponse
func (*SCardResult) IsSetSuccess ¶
func (p *SCardResult) IsSetSuccess() bool
func (*SCardResult) ReadField0 ¶
func (*SCardResult) String ¶
func (p *SCardResult) String() string
type SIsMemberArgs ¶
type SIsMemberArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Member string `thrift:"member,3" db:"member" json:"member"` }
Attributes:
- Appid
- Key
- Member
func NewSIsMemberArgs ¶
func NewSIsMemberArgs() *SIsMemberArgs
func (*SIsMemberArgs) GetAppid ¶
func (p *SIsMemberArgs) GetAppid() string
func (*SIsMemberArgs) GetKey ¶
func (p *SIsMemberArgs) GetKey() string
func (*SIsMemberArgs) GetMember ¶
func (p *SIsMemberArgs) GetMember() string
func (*SIsMemberArgs) ReadField1 ¶
func (*SIsMemberArgs) ReadField2 ¶
func (*SIsMemberArgs) ReadField3 ¶
func (*SIsMemberArgs) String ¶
func (p *SIsMemberArgs) String() string
type SIsMemberResult ¶
type SIsMemberResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewSIsMemberResult ¶
func NewSIsMemberResult() *SIsMemberResult
func (*SIsMemberResult) GetSuccess ¶
func (p *SIsMemberResult) GetSuccess() *Response
func (*SIsMemberResult) IsSetSuccess ¶
func (p *SIsMemberResult) IsSetSuccess() bool
func (*SIsMemberResult) ReadField0 ¶
func (*SIsMemberResult) String ¶
func (p *SIsMemberResult) String() string
type SMembersArgs ¶
type SMembersArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` }
Attributes:
- Appid
- Key
func NewSMembersArgs ¶
func NewSMembersArgs() *SMembersArgs
func (*SMembersArgs) GetAppid ¶
func (p *SMembersArgs) GetAppid() string
func (*SMembersArgs) GetKey ¶
func (p *SMembersArgs) GetKey() string
func (*SMembersArgs) ReadField1 ¶
func (*SMembersArgs) ReadField2 ¶
func (*SMembersArgs) String ¶
func (p *SMembersArgs) String() string
type SMembersResult ¶
type SMembersResult struct {
Success *LResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewSMembersResult ¶
func NewSMembersResult() *SMembersResult
func (*SMembersResult) GetSuccess ¶
func (p *SMembersResult) GetSuccess() *LResponse
func (*SMembersResult) IsSetSuccess ¶
func (p *SMembersResult) IsSetSuccess() bool
func (*SMembersResult) ReadField0 ¶
func (*SMembersResult) String ¶
func (p *SMembersResult) String() string
type SRandMemberArgs ¶
type SRandMemberArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` }
Attributes:
- Appid
- Key
func NewSRandMemberArgs ¶
func NewSRandMemberArgs() *SRandMemberArgs
func (*SRandMemberArgs) GetAppid ¶
func (p *SRandMemberArgs) GetAppid() string
func (*SRandMemberArgs) GetKey ¶
func (p *SRandMemberArgs) GetKey() string
func (*SRandMemberArgs) ReadField1 ¶
func (*SRandMemberArgs) ReadField2 ¶
func (*SRandMemberArgs) String ¶
func (p *SRandMemberArgs) String() string
type SRandMemberNArgs ¶
type SRandMemberNArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` N int64 `thrift:"n,3" db:"n" json:"n"` }
Attributes:
- Appid
- Key
- N
func NewSRandMemberNArgs ¶
func NewSRandMemberNArgs() *SRandMemberNArgs
func (*SRandMemberNArgs) GetAppid ¶
func (p *SRandMemberNArgs) GetAppid() string
func (*SRandMemberNArgs) GetKey ¶
func (p *SRandMemberNArgs) GetKey() string
func (*SRandMemberNArgs) GetN ¶
func (p *SRandMemberNArgs) GetN() int64
func (*SRandMemberNArgs) ReadField1 ¶
func (*SRandMemberNArgs) ReadField2 ¶
func (*SRandMemberNArgs) ReadField3 ¶
func (*SRandMemberNArgs) String ¶
func (p *SRandMemberNArgs) String() string
type SRandMemberNResult ¶
type SRandMemberNResult struct {
Success *LResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewSRandMemberNResult ¶
func NewSRandMemberNResult() *SRandMemberNResult
func (*SRandMemberNResult) GetSuccess ¶
func (p *SRandMemberNResult) GetSuccess() *LResponse
func (*SRandMemberNResult) IsSetSuccess ¶
func (p *SRandMemberNResult) IsSetSuccess() bool
func (*SRandMemberNResult) ReadField0 ¶
func (*SRandMemberNResult) String ¶
func (p *SRandMemberNResult) String() string
type SRandMemberResult ¶
type SRandMemberResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewSRandMemberResult ¶
func NewSRandMemberResult() *SRandMemberResult
func (*SRandMemberResult) GetSuccess ¶
func (p *SRandMemberResult) GetSuccess() *Response
func (*SRandMemberResult) IsSetSuccess ¶
func (p *SRandMemberResult) IsSetSuccess() bool
func (*SRandMemberResult) ReadField0 ¶
func (*SRandMemberResult) String ¶
func (p *SRandMemberResult) String() string
type SRemArgs ¶
type SRemArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Member string `thrift:"member,3" db:"member" json:"member"` }
Attributes:
- Appid
- Key
- Member
func NewSRemArgs ¶
func NewSRemArgs() *SRemArgs
func (*SRemArgs) ReadField1 ¶
func (*SRemArgs) ReadField2 ¶
func (*SRemArgs) ReadField3 ¶
type SRemResult ¶
type SRemResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewSRemResult ¶
func NewSRemResult() *SRemResult
func (*SRemResult) GetSuccess ¶
func (p *SRemResult) GetSuccess() *IntResponse
func (*SRemResult) IsSetSuccess ¶
func (p *SRemResult) IsSetSuccess() bool
func (*SRemResult) ReadField0 ¶
func (*SRemResult) String ¶
func (p *SRemResult) String() string
type SetArgs ¶
type SetArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Value string `thrift:"value,3" db:"value" json:"value"` TTL int64 `thrift:"ttl,4" db:"ttl" json:"ttl"` }
Attributes:
- Appid
- Key
- Value
- TTL
func NewRedisProxySetArgs ¶
func NewRedisProxySetArgs() *SetArgs
func (*SetArgs) ReadField1 ¶
func (*SetArgs) ReadField2 ¶
func (*SetArgs) ReadField3 ¶
func (*SetArgs) ReadField4 ¶
type SetBytesArgs ¶
type SetBytesArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Value []byte `thrift:"value,3" db:"value" json:"value"` TTL int64 `thrift:"ttl,4" db:"ttl" json:"ttl"` }
Attributes:
- Appid
- Key
- Value
- TTL
func NewSetBytesArgs ¶
func NewSetBytesArgs() *SetBytesArgs
func (*SetBytesArgs) GetAppid ¶
func (p *SetBytesArgs) GetAppid() string
func (*SetBytesArgs) GetKey ¶
func (p *SetBytesArgs) GetKey() string
func (*SetBytesArgs) GetTTL ¶
func (p *SetBytesArgs) GetTTL() int64
func (*SetBytesArgs) GetValue ¶
func (p *SetBytesArgs) GetValue() []byte
func (*SetBytesArgs) ReadField1 ¶
func (*SetBytesArgs) ReadField2 ¶
func (*SetBytesArgs) ReadField3 ¶
func (*SetBytesArgs) ReadField4 ¶
func (*SetBytesArgs) String ¶
func (p *SetBytesArgs) String() string
type SetNXArgs ¶
type SetNXArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Value string `thrift:"value,3" db:"value" json:"value"` TTL int64 `thrift:"ttl,4" db:"ttl" json:"ttl"` }
Attributes:
- Appid
- Key
- Value
- TTL
func NewRedisProxySetNXArgs ¶
func NewRedisProxySetNXArgs() *SetNXArgs
func (*SetNXArgs) ReadField1 ¶
func (*SetNXArgs) ReadField2 ¶
func (*SetNXArgs) ReadField3 ¶
func (*SetNXArgs) ReadField4 ¶
type SetNXBytesArgs ¶
type SetNXBytesArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Value []byte `thrift:"value,3" db:"value" json:"value"` TTL int64 `thrift:"ttl,4" db:"ttl" json:"ttl"` }
Attributes:
- Appid
- Key
- Value
- TTL
func NewRedisProxySetNXBytesArgs ¶
func NewRedisProxySetNXBytesArgs() *SetNXBytesArgs
func (*SetNXBytesArgs) GetAppid ¶
func (p *SetNXBytesArgs) GetAppid() string
func (*SetNXBytesArgs) GetKey ¶
func (p *SetNXBytesArgs) GetKey() string
func (*SetNXBytesArgs) GetTTL ¶
func (p *SetNXBytesArgs) GetTTL() int64
func (*SetNXBytesArgs) GetValue ¶
func (p *SetNXBytesArgs) GetValue() []byte
func (*SetNXBytesArgs) ReadField1 ¶
func (*SetNXBytesArgs) ReadField2 ¶
func (*SetNXBytesArgs) ReadField3 ¶
func (*SetNXBytesArgs) ReadField4 ¶
func (*SetNXBytesArgs) String ¶
func (p *SetNXBytesArgs) String() string
type SetNXBytesResult ¶
type SetNXBytesResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewRedisProxySetNXBytesResult ¶
func NewRedisProxySetNXBytesResult() *SetNXBytesResult
func (*SetNXBytesResult) GetSuccess ¶
func (p *SetNXBytesResult) GetSuccess() *Response
func (*SetNXBytesResult) IsSetSuccess ¶
func (p *SetNXBytesResult) IsSetSuccess() bool
func (*SetNXBytesResult) ReadField0 ¶
func (*SetNXBytesResult) String ¶
func (p *SetNXBytesResult) String() string
type SetNXResult ¶
type SetNXResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewRedisProxySetNXResult ¶
func NewRedisProxySetNXResult() *SetNXResult
func (*SetNXResult) GetSuccess ¶
func (p *SetNXResult) GetSuccess() *Response
func (*SetNXResult) IsSetSuccess ¶
func (p *SetNXResult) IsSetSuccess() bool
func (*SetNXResult) ReadField0 ¶
func (*SetNXResult) String ¶
func (p *SetNXResult) String() string
type SetResult ¶
type SetResult struct {
Success *Response `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewRedisProxySetResult ¶
func NewRedisProxySetResult() *SetResult
func (*SetResult) GetSuccess ¶
func (*SetResult) IsSetSuccess ¶
func (*SetResult) ReadField0 ¶
type TtlArgs ¶
type TtlArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` }
Attributes:
- Appid
- Key
func NewTTLArgs ¶
func NewTTLArgs() *TtlArgs
func (*TtlArgs) ReadField1 ¶
func (*TtlArgs) ReadField2 ¶
type TtlResult ¶
type TtlResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTTLResult ¶
func NewTTLResult() *TtlResult
func (*TtlResult) GetSuccess ¶
func (p *TtlResult) GetSuccess() *IntResponse
func (*TtlResult) IsSetSuccess ¶
func (*TtlResult) ReadField0 ¶
type Z ¶
type Z struct { Score float64 `thrift:"score,1" db:"score" json:"score"` Member string `thrift:"member,2" db:"member" json:"member"` }
Attributes:
- Score
- Member
var ZAddArgs_Member_DEFAULT *Z
type ZAddArgs ¶
type ZAddArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Member *Z `thrift:"member,3" db:"member" json:"member"` }
Attributes:
- Appid
- Key
- Member
func NewRedisProxyZAddArgs ¶
func NewRedisProxyZAddArgs() *ZAddArgs
func (*ZAddArgs) IsSetMember ¶
func (*ZAddArgs) ReadField1 ¶
func (*ZAddArgs) ReadField2 ¶
func (*ZAddArgs) ReadField3 ¶
type ZAddResult ¶
type ZAddResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewZAddResult ¶
func NewZAddResult() *ZAddResult
func (*ZAddResult) GetSuccess ¶
func (p *ZAddResult) GetSuccess() *IntResponse
func (*ZAddResult) IsSetSuccess ¶
func (p *ZAddResult) IsSetSuccess() bool
func (*ZAddResult) ReadField0 ¶
func (*ZAddResult) String ¶
func (p *ZAddResult) String() string
type ZCardArgs ¶
type ZCardArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` }
Attributes:
- Appid
- Key
func NewZCardArgs ¶
func NewZCardArgs() *ZCardArgs
func (*ZCardArgs) ReadField1 ¶
func (*ZCardArgs) ReadField2 ¶
type ZCardResult ¶
type ZCardResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewZCardResult ¶
func NewZCardResult() *ZCardResult
func (*ZCardResult) GetSuccess ¶
func (p *ZCardResult) GetSuccess() *IntResponse
func (*ZCardResult) IsSetSuccess ¶
func (p *ZCardResult) IsSetSuccess() bool
func (*ZCardResult) ReadField0 ¶
func (*ZCardResult) String ¶
func (p *ZCardResult) String() string
type ZCountArgs ¶
type ZCountArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Min string `thrift:"min,3" db:"min" json:"min"` Max string `thrift:"max,4" db:"max" json:"max"` }
Attributes:
- Appid
- Key
- Min
- Max
func NewZCountArgs ¶
func NewZCountArgs() *ZCountArgs
func (*ZCountArgs) GetAppid ¶
func (p *ZCountArgs) GetAppid() string
func (*ZCountArgs) GetKey ¶
func (p *ZCountArgs) GetKey() string
func (*ZCountArgs) GetMax ¶
func (p *ZCountArgs) GetMax() string
func (*ZCountArgs) GetMin ¶
func (p *ZCountArgs) GetMin() string
func (*ZCountArgs) ReadField1 ¶
func (*ZCountArgs) ReadField2 ¶
func (*ZCountArgs) ReadField3 ¶
func (*ZCountArgs) ReadField4 ¶
func (*ZCountArgs) String ¶
func (p *ZCountArgs) String() string
type ZCountResult ¶
type ZCountResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewZCountResult ¶
func NewZCountResult() *ZCountResult
func (*ZCountResult) GetSuccess ¶
func (p *ZCountResult) GetSuccess() *IntResponse
func (*ZCountResult) IsSetSuccess ¶
func (p *ZCountResult) IsSetSuccess() bool
func (*ZCountResult) ReadField0 ¶
func (*ZCountResult) String ¶
func (p *ZCountResult) String() string
type ZIncrByArgs ¶
type ZIncrByArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Increment float64 `thrift:"increment,3" db:"increment" json:"increment"` Member string `thrift:"member,4" db:"member" json:"member"` }
Attributes:
- Appid
- Key
- Increment
- Member
func NewZIncrByArgs ¶
func NewZIncrByArgs() *ZIncrByArgs
func (*ZIncrByArgs) GetAppid ¶
func (p *ZIncrByArgs) GetAppid() string
func (*ZIncrByArgs) GetIncrement ¶
func (p *ZIncrByArgs) GetIncrement() float64
func (*ZIncrByArgs) GetKey ¶
func (p *ZIncrByArgs) GetKey() string
func (*ZIncrByArgs) GetMember ¶
func (p *ZIncrByArgs) GetMember() string
func (*ZIncrByArgs) ReadField1 ¶
func (*ZIncrByArgs) ReadField2 ¶
func (*ZIncrByArgs) ReadField3 ¶
func (*ZIncrByArgs) ReadField4 ¶
func (*ZIncrByArgs) String ¶
func (p *ZIncrByArgs) String() string
type ZIncrByResult ¶
type ZIncrByResult struct {
Success *FloatResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewZIncrByResult ¶
func NewZIncrByResult() *ZIncrByResult
func (*ZIncrByResult) GetSuccess ¶
func (p *ZIncrByResult) GetSuccess() *FloatResponse
func (*ZIncrByResult) IsSetSuccess ¶
func (p *ZIncrByResult) IsSetSuccess() bool
func (*ZIncrByResult) ReadField0 ¶
func (*ZIncrByResult) String ¶
func (p *ZIncrByResult) String() string
type ZRangeByScoreWithScoresArgs ¶
type ZRangeByScoreWithScoresArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Min string `thrift:"min,3" db:"min" json:"min"` Max string `thrift:"max,4" db:"max" json:"max"` Offset int64 `thrift:"offset,5" db:"offset" json:"offset"` Count int64 `thrift:"count,6" db:"count" json:"count"` }
Attributes:
- Appid
- Key
- Min
- Max
- Offset
- Count
func NewZRangeByScoreWithScoresArgs ¶
func NewZRangeByScoreWithScoresArgs() *ZRangeByScoreWithScoresArgs
func (*ZRangeByScoreWithScoresArgs) GetAppid ¶
func (p *ZRangeByScoreWithScoresArgs) GetAppid() string
func (*ZRangeByScoreWithScoresArgs) GetCount ¶
func (p *ZRangeByScoreWithScoresArgs) GetCount() int64
func (*ZRangeByScoreWithScoresArgs) GetKey ¶
func (p *ZRangeByScoreWithScoresArgs) GetKey() string
func (*ZRangeByScoreWithScoresArgs) GetMax ¶
func (p *ZRangeByScoreWithScoresArgs) GetMax() string
func (*ZRangeByScoreWithScoresArgs) GetMin ¶
func (p *ZRangeByScoreWithScoresArgs) GetMin() string
func (*ZRangeByScoreWithScoresArgs) GetOffset ¶
func (p *ZRangeByScoreWithScoresArgs) GetOffset() int64
func (*ZRangeByScoreWithScoresArgs) ReadField1 ¶
func (*ZRangeByScoreWithScoresArgs) ReadField2 ¶
func (*ZRangeByScoreWithScoresArgs) ReadField3 ¶
func (*ZRangeByScoreWithScoresArgs) ReadField4 ¶
func (*ZRangeByScoreWithScoresArgs) ReadField5 ¶
func (*ZRangeByScoreWithScoresArgs) ReadField6 ¶
func (*ZRangeByScoreWithScoresArgs) String ¶
func (p *ZRangeByScoreWithScoresArgs) String() string
type ZRangeByScoreWithScoresResult ¶
type ZRangeByScoreWithScoresResult struct {
Success *ZResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewZRangeByScoreWithScoresResult ¶
func NewZRangeByScoreWithScoresResult() *ZRangeByScoreWithScoresResult
func (*ZRangeByScoreWithScoresResult) GetSuccess ¶
func (p *ZRangeByScoreWithScoresResult) GetSuccess() *ZResponse
func (*ZRangeByScoreWithScoresResult) IsSetSuccess ¶
func (p *ZRangeByScoreWithScoresResult) IsSetSuccess() bool
func (*ZRangeByScoreWithScoresResult) ReadField0 ¶
func (*ZRangeByScoreWithScoresResult) String ¶
func (p *ZRangeByScoreWithScoresResult) String() string
type ZRangeWithScoresArgs ¶
type ZRangeWithScoresArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Start int64 `thrift:"start,3" db:"start" json:"start"` Stop int64 `thrift:"stop,4" db:"stop" json:"stop"` }
Attributes:
- Appid
- Key
- Start
- Stop
func NewZRangeWithScoresArgs ¶
func NewZRangeWithScoresArgs() *ZRangeWithScoresArgs
func (*ZRangeWithScoresArgs) GetAppid ¶
func (p *ZRangeWithScoresArgs) GetAppid() string
func (*ZRangeWithScoresArgs) GetKey ¶
func (p *ZRangeWithScoresArgs) GetKey() string
func (*ZRangeWithScoresArgs) GetStart ¶
func (p *ZRangeWithScoresArgs) GetStart() int64
func (*ZRangeWithScoresArgs) GetStop ¶
func (p *ZRangeWithScoresArgs) GetStop() int64
func (*ZRangeWithScoresArgs) ReadField1 ¶
func (*ZRangeWithScoresArgs) ReadField2 ¶
func (*ZRangeWithScoresArgs) ReadField3 ¶
func (*ZRangeWithScoresArgs) ReadField4 ¶
func (*ZRangeWithScoresArgs) String ¶
func (p *ZRangeWithScoresArgs) String() string
type ZRangeWithScoresResult ¶
type ZRangeWithScoresResult struct {
Success *ZResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewZRangeWithScoresResult ¶
func NewZRangeWithScoresResult() *ZRangeWithScoresResult
func (*ZRangeWithScoresResult) GetSuccess ¶
func (p *ZRangeWithScoresResult) GetSuccess() *ZResponse
func (*ZRangeWithScoresResult) IsSetSuccess ¶
func (p *ZRangeWithScoresResult) IsSetSuccess() bool
func (*ZRangeWithScoresResult) ReadField0 ¶
func (*ZRangeWithScoresResult) String ¶
func (p *ZRangeWithScoresResult) String() string
type ZRemArgs ¶
type ZRemArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Member string `thrift:"member,3" db:"member" json:"member"` }
Attributes:
- Appid
- Key
- Member
func NewZRemArgs ¶
func NewZRemArgs() *ZRemArgs
func (*ZRemArgs) ReadField1 ¶
func (*ZRemArgs) ReadField2 ¶
func (*ZRemArgs) ReadField3 ¶
type ZRemRangeByRankArgs ¶
type ZRemRangeByRankArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Start int64 `thrift:"start,3" db:"start" json:"start"` Stop int64 `thrift:"stop,4" db:"stop" json:"stop"` }
Attributes:
- Appid
- Key
- Start
- Stop
func NewZRemRangeByRankArgs ¶
func NewZRemRangeByRankArgs() *ZRemRangeByRankArgs
func (*ZRemRangeByRankArgs) GetAppid ¶
func (p *ZRemRangeByRankArgs) GetAppid() string
func (*ZRemRangeByRankArgs) GetKey ¶
func (p *ZRemRangeByRankArgs) GetKey() string
func (*ZRemRangeByRankArgs) GetStart ¶
func (p *ZRemRangeByRankArgs) GetStart() int64
func (*ZRemRangeByRankArgs) GetStop ¶
func (p *ZRemRangeByRankArgs) GetStop() int64
func (*ZRemRangeByRankArgs) ReadField1 ¶
func (*ZRemRangeByRankArgs) ReadField2 ¶
func (*ZRemRangeByRankArgs) ReadField3 ¶
func (*ZRemRangeByRankArgs) ReadField4 ¶
func (*ZRemRangeByRankArgs) String ¶
func (p *ZRemRangeByRankArgs) String() string
type ZRemRangeByRankResult ¶
type ZRemRangeByRankResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewZRemRangeByRankResult ¶
func NewZRemRangeByRankResult() *ZRemRangeByRankResult
func (*ZRemRangeByRankResult) GetSuccess ¶
func (p *ZRemRangeByRankResult) GetSuccess() *IntResponse
func (*ZRemRangeByRankResult) IsSetSuccess ¶
func (p *ZRemRangeByRankResult) IsSetSuccess() bool
func (*ZRemRangeByRankResult) ReadField0 ¶
func (*ZRemRangeByRankResult) String ¶
func (p *ZRemRangeByRankResult) String() string
type ZRemRangeByScoreArgs ¶
type ZRemRangeByScoreArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Min string `thrift:"min,3" db:"min" json:"min"` Max string `thrift:"max,4" db:"max" json:"max"` }
Attributes:
- Appid
- Key
- Min
- Max
func NewZRemRangeByScoreArgs ¶
func NewZRemRangeByScoreArgs() *ZRemRangeByScoreArgs
func (*ZRemRangeByScoreArgs) GetAppid ¶
func (p *ZRemRangeByScoreArgs) GetAppid() string
func (*ZRemRangeByScoreArgs) GetKey ¶
func (p *ZRemRangeByScoreArgs) GetKey() string
func (*ZRemRangeByScoreArgs) GetMax ¶
func (p *ZRemRangeByScoreArgs) GetMax() string
func (*ZRemRangeByScoreArgs) GetMin ¶
func (p *ZRemRangeByScoreArgs) GetMin() string
func (*ZRemRangeByScoreArgs) ReadField1 ¶
func (*ZRemRangeByScoreArgs) ReadField2 ¶
func (*ZRemRangeByScoreArgs) ReadField3 ¶
func (*ZRemRangeByScoreArgs) ReadField4 ¶
func (*ZRemRangeByScoreArgs) String ¶
func (p *ZRemRangeByScoreArgs) String() string
type ZRemRangeByScoreResult ¶
type ZRemRangeByScoreResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewZRemRangeByScoreResult ¶
func NewZRemRangeByScoreResult() *ZRemRangeByScoreResult
func (*ZRemRangeByScoreResult) GetSuccess ¶
func (p *ZRemRangeByScoreResult) GetSuccess() *IntResponse
func (*ZRemRangeByScoreResult) IsSetSuccess ¶
func (p *ZRemRangeByScoreResult) IsSetSuccess() bool
func (*ZRemRangeByScoreResult) ReadField0 ¶
func (*ZRemRangeByScoreResult) String ¶
func (p *ZRemRangeByScoreResult) String() string
type ZRemResult ¶
type ZRemResult struct {
Success *IntResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewZRemResult ¶
func NewZRemResult() *ZRemResult
func (*ZRemResult) GetSuccess ¶
func (p *ZRemResult) GetSuccess() *IntResponse
func (*ZRemResult) IsSetSuccess ¶
func (p *ZRemResult) IsSetSuccess() bool
func (*ZRemResult) ReadField0 ¶
func (*ZRemResult) String ¶
func (p *ZRemResult) String() string
type ZResponse ¶
type ZResponse struct { Code int32 `thrift:"code,1" db:"code" json:"code"` Msg string `thrift:"msg,2" db:"msg" json:"msg"` Res []*Z `thrift:"res,3" db:"res" json:"res"` }
Attributes:
- Code
- Msg
- Res
var ZRangeByScoreWithScoresResult_Success_DEFAULT *ZResponse
var ZRangeWithScoresResult_Success_DEFAULT *ZResponse
func NewZResponse ¶
func NewZResponse() *ZResponse
func (*ZResponse) ReadField1 ¶
func (*ZResponse) ReadField2 ¶
func (*ZResponse) ReadField3 ¶
type ZScoreArgs ¶
type ZScoreArgs struct { Appid string `thrift:"appid,1" db:"appid" json:"appid"` Key string `thrift:"key,2" db:"key" json:"key"` Member string `thrift:"member,3" db:"member" json:"member"` }
Attributes:
- Appid
- Key
- Member
func NewZScoreArgs ¶
func NewZScoreArgs() *ZScoreArgs
func (*ZScoreArgs) GetAppid ¶
func (p *ZScoreArgs) GetAppid() string
func (*ZScoreArgs) GetKey ¶
func (p *ZScoreArgs) GetKey() string
func (*ZScoreArgs) GetMember ¶
func (p *ZScoreArgs) GetMember() string
func (*ZScoreArgs) ReadField1 ¶
func (*ZScoreArgs) ReadField2 ¶
func (*ZScoreArgs) ReadField3 ¶
func (*ZScoreArgs) String ¶
func (p *ZScoreArgs) String() string
type ZScoreResult ¶
type ZScoreResult struct {
Success *FloatResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewZScoreResult ¶
func NewZScoreResult() *ZScoreResult
func (*ZScoreResult) GetSuccess ¶
func (p *ZScoreResult) GetSuccess() *FloatResponse
func (*ZScoreResult) IsSetSuccess ¶
func (p *ZScoreResult) IsSetSuccess() bool
func (*ZScoreResult) ReadField0 ¶
func (*ZScoreResult) String ¶
func (p *ZScoreResult) String() string