redis_proxy

package
v1.2.11 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2022 License: Zlib Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const RES_ASK = 302
View Source
const RES_CANNOT_LOAD_SLOTS = 502
View Source
const RES_CLUSTERDOWN = 503
View Source
const RES_CONNECTION_REFUSED = 501
View Source
const RES_FAIL = 1
View Source
const RES_MOVED = 301
View Source
const RES_NOT_NULL = 3
View Source
const RES_OK = 0
View Source
const RES_WRONG_TYPE = 2

Variables

View Source
var GoUnusedProtection__ int
View Source
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) Read

func (*BytesResponse) ReadField1

func (p *BytesResponse) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*BytesResponse) ReadField2

func (p *BytesResponse) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*BytesResponse) ReadField3

func (p *BytesResponse) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*BytesResponse) String

func (p *BytesResponse) String() string

func (*BytesResponse) Write

func (p *BytesResponse) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*ClusterInfoArgs) ReadField1

func (p *ClusterInfoArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*ClusterInfoArgs) String

func (p *ClusterInfoArgs) String() string

func (*ClusterInfoArgs) Write

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) Read

func (*ClusterInfoResult) ReadField0

func (p *ClusterInfoResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*ClusterInfoResult) String

func (p *ClusterInfoResult) String() string

func (*ClusterInfoResult) Write

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) Read

func (*ClusterNodesArgs) ReadField1

func (p *ClusterNodesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*ClusterNodesArgs) String

func (p *ClusterNodesArgs) String() string

func (*ClusterNodesArgs) Write

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) Read

func (*ClusterNodesResult) ReadField0

func (p *ClusterNodesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*ClusterNodesResult) String

func (p *ClusterNodesResult) String() string

func (*ClusterNodesResult) Write

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) GetAppid

func (p *DelArgs) GetAppid() string

func (*DelArgs) GetKey

func (p *DelArgs) GetKey() string

func (*DelArgs) Read

func (p *DelArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*DelArgs) ReadField1

func (p *DelArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*DelArgs) ReadField2

func (p *DelArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*DelArgs) String

func (p *DelArgs) String() string

func (*DelArgs) Write

func (p *DelArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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 (p *DelResult) IsSetSuccess() bool

func (*DelResult) Read

func (p *DelResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*DelResult) ReadField0

func (p *DelResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*DelResult) String

func (p *DelResult) String() string

func (*DelResult) Write

func (p *DelResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *ExistsArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*ExistsArgs) ReadField1

func (p *ExistsArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*ExistsArgs) ReadField2

func (p *ExistsArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*ExistsArgs) String

func (p *ExistsArgs) String() string

func (*ExistsArgs) Write

func (p *ExistsArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *ExistsResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*ExistsResult) ReadField0

func (p *ExistsResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*ExistsResult) String

func (p *ExistsResult) String() string

func (*ExistsResult) Write

func (p *ExistsResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *ExpireArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*ExpireArgs) ReadField1

func (p *ExpireArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*ExpireArgs) ReadField2

func (p *ExpireArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*ExpireArgs) ReadField3

func (p *ExpireArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*ExpireArgs) String

func (p *ExpireArgs) String() string

func (*ExpireArgs) Write

func (p *ExpireArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *ExpireResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*ExpireResult) ReadField0

func (p *ExpireResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*ExpireResult) String

func (p *ExpireResult) String() string

func (*ExpireResult) Write

func (p *ExpireResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*FloatResponse) ReadField1

func (p *FloatResponse) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*FloatResponse) ReadField2

func (p *FloatResponse) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*FloatResponse) ReadField3

func (p *FloatResponse) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*FloatResponse) String

func (p *FloatResponse) String() string

func (*FloatResponse) Write

func (p *FloatResponse) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *GetArgs) GetAppid() string

func (*GetArgs) GetKey

func (p *GetArgs) GetKey() string

func (*GetArgs) Read

func (p *GetArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*GetArgs) ReadField1

func (p *GetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*GetArgs) ReadField2

func (p *GetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*GetArgs) String

func (p *GetArgs) String() string

func (*GetArgs) Write

func (p *GetArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *GetBytesArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*GetBytesArgs) ReadField1

func (p *GetBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*GetBytesArgs) ReadField2

func (p *GetBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*GetBytesArgs) String

func (p *GetBytesArgs) String() string

func (*GetBytesArgs) Write

func (p *GetBytesArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*GetBytesResult) ReadField0

func (p *GetBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*GetBytesResult) String

func (p *GetBytesResult) String() string

func (*GetBytesResult) Write

func (p *GetBytesResult) Write(ctx context.Context, tp thrift.TProtocol) error

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 (p *GetResult) GetSuccess() *Response

func (*GetResult) IsSetSuccess

func (p *GetResult) IsSetSuccess() bool

func (*GetResult) Read

func (p *GetResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*GetResult) ReadField0

func (p *GetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*GetResult) String

func (p *GetResult) String() string

func (*GetResult) Write

func (p *GetResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *GetSetArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*GetSetArgs) ReadField1

func (p *GetSetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*GetSetArgs) ReadField2

func (p *GetSetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*GetSetArgs) ReadField3

func (p *GetSetArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*GetSetArgs) String

func (p *GetSetArgs) String() string

func (*GetSetArgs) Write

func (p *GetSetArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*GetSetBytesArgs) ReadField1

func (p *GetSetBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*GetSetBytesArgs) ReadField2

func (p *GetSetBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*GetSetBytesArgs) ReadField3

func (p *GetSetBytesArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*GetSetBytesArgs) String

func (p *GetSetBytesArgs) String() string

func (*GetSetBytesArgs) Write

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) Read

func (*GetSetBytesResult) ReadField0

func (p *GetSetBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*GetSetBytesResult) String

func (p *GetSetBytesResult) String() string

func (*GetSetBytesResult) Write

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) Read

func (p *GetSetResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*GetSetResult) ReadField0

func (p *GetSetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*GetSetResult) String

func (p *GetSetResult) String() string

func (*GetSetResult) Write

func (p *GetSetResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *HDelArgs) GetAppid() string

func (*HDelArgs) GetField

func (p *HDelArgs) GetField() string

func (*HDelArgs) GetKey

func (p *HDelArgs) GetKey() string

func (*HDelArgs) Read

func (p *HDelArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*HDelArgs) ReadField1

func (p *HDelArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*HDelArgs) ReadField2

func (p *HDelArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*HDelArgs) ReadField3

func (p *HDelArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*HDelArgs) String

func (p *HDelArgs) String() string

func (*HDelArgs) Write

func (p *HDelArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *HDelResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*HDelResult) ReadField0

func (p *HDelResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*HDelResult) String

func (p *HDelResult) String() string

func (*HDelResult) Write

func (p *HDelResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *HExistsArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*HExistsArgs) ReadField1

func (p *HExistsArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*HExistsArgs) ReadField2

func (p *HExistsArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*HExistsArgs) ReadField3

func (p *HExistsArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*HExistsArgs) String

func (p *HExistsArgs) String() string

func (*HExistsArgs) Write

func (p *HExistsArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*HExistsResult) ReadField0

func (p *HExistsResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*HExistsResult) String

func (p *HExistsResult) String() string

func (*HExistsResult) Write

func (p *HExistsResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *HGetAllArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*HGetAllArgs) ReadField1

func (p *HGetAllArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*HGetAllArgs) ReadField2

func (p *HGetAllArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*HGetAllArgs) String

func (p *HGetAllArgs) String() string

func (*HGetAllArgs) Write

func (p *HGetAllArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*HGetAllResult) ReadField0

func (p *HGetAllResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*HGetAllResult) String

func (p *HGetAllResult) String() string

func (*HGetAllResult) Write

func (p *HGetAllResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*HGetBytesResult) ReadField0

func (p *HGetBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*HGetBytesResult) String

func (p *HGetBytesResult) String() string

func (*HGetBytesResult) Write

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) Read

func (p *HGetResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*HGetResult) ReadField0

func (p *HGetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*HGetResult) String

func (p *HGetResult) String() string

func (*HGetResult) Write

func (p *HGetResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *HIncrByArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*HIncrByArgs) ReadField1

func (p *HIncrByArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*HIncrByArgs) ReadField2

func (p *HIncrByArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*HIncrByArgs) ReadField3

func (p *HIncrByArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*HIncrByArgs) ReadField4

func (p *HIncrByArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*HIncrByArgs) String

func (p *HIncrByArgs) String() string

func (*HIncrByArgs) Write

func (p *HIncrByArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*HIncrByFloatArgs) ReadField1

func (p *HIncrByFloatArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*HIncrByFloatArgs) ReadField2

func (p *HIncrByFloatArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*HIncrByFloatArgs) ReadField3

func (p *HIncrByFloatArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*HIncrByFloatArgs) ReadField4

func (p *HIncrByFloatArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*HIncrByFloatArgs) String

func (p *HIncrByFloatArgs) String() string

func (*HIncrByFloatArgs) Write

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) Read

func (*HIncrByFloatResult) ReadField0

func (p *HIncrByFloatResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*HIncrByFloatResult) String

func (p *HIncrByFloatResult) String() string

func (*HIncrByFloatResult) Write

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) Read

func (*HIncrByResult) ReadField0

func (p *HIncrByResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*HIncrByResult) String

func (p *HIncrByResult) String() string

func (*HIncrByResult) Write

func (p *HIncrByResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *HKeysArgs) GetAppid() string

func (*HKeysArgs) GetKey

func (p *HKeysArgs) GetKey() string

func (*HKeysArgs) Read

func (p *HKeysArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*HKeysArgs) ReadField1

func (p *HKeysArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*HKeysArgs) ReadField2

func (p *HKeysArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*HKeysArgs) String

func (p *HKeysArgs) String() string

func (*HKeysArgs) Write

func (p *HKeysArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *HKeysResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*HKeysResult) ReadField0

func (p *HKeysResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*HKeysResult) String

func (p *HKeysResult) String() string

func (*HKeysResult) Write

func (p *HKeysResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*HMGetBytesArgs) ReadField1

func (p *HMGetBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*HMGetBytesArgs) ReadField2

func (p *HMGetBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*HMGetBytesArgs) ReadField3

func (p *HMGetBytesArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*HMGetBytesArgs) String

func (p *HMGetBytesArgs) String() string

func (*HMGetBytesArgs) Write

func (p *HMGetBytesArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*HMGetBytesResult) ReadField0

func (p *HMGetBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*HMGetBytesResult) String

func (p *HMGetBytesResult) String() string

func (*HMGetBytesResult) Write

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) Read

func (p *HMGetResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*HMGetResult) ReadField0

func (p *HMGetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*HMGetResult) String

func (p *HMGetResult) String() string

func (*HMGetResult) Write

func (p *HMGetResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *HSetArgs) GetAppid() string

func (*HSetArgs) GetField

func (p *HSetArgs) GetField() string

func (*HSetArgs) GetKey

func (p *HSetArgs) GetKey() string

func (*HSetArgs) GetValue

func (p *HSetArgs) GetValue() string

func (*HSetArgs) Read

func (p *HSetArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*HSetArgs) ReadField1

func (p *HSetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*HSetArgs) ReadField2

func (p *HSetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*HSetArgs) ReadField3

func (p *HSetArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*HSetArgs) ReadField4

func (p *HSetArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*HSetArgs) String

func (p *HSetArgs) String() string

func (*HSetArgs) Write

func (p *HSetArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*HSetBytesArgs) ReadField1

func (p *HSetBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*HSetBytesArgs) ReadField2

func (p *HSetBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*HSetBytesArgs) ReadField3

func (p *HSetBytesArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*HSetBytesArgs) ReadField4

func (p *HSetBytesArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*HSetBytesArgs) String

func (p *HSetBytesArgs) String() string

func (*HSetBytesArgs) Write

func (p *HSetBytesArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*HSetBytesResult) ReadField0

func (p *HSetBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*HSetBytesResult) String

func (p *HSetBytesResult) String() string

func (*HSetBytesResult) Write

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) Read

func (p *HSetNXArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*HSetNXArgs) ReadField1

func (p *HSetNXArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*HSetNXArgs) ReadField2

func (p *HSetNXArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*HSetNXArgs) ReadField3

func (p *HSetNXArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*HSetNXArgs) ReadField4

func (p *HSetNXArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*HSetNXArgs) String

func (p *HSetNXArgs) String() string

func (*HSetNXArgs) Write

func (p *HSetNXArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*HSetNXBytesArgs) ReadField1

func (p *HSetNXBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*HSetNXBytesArgs) ReadField2

func (p *HSetNXBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*HSetNXBytesArgs) ReadField3

func (p *HSetNXBytesArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*HSetNXBytesArgs) ReadField4

func (p *HSetNXBytesArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*HSetNXBytesArgs) String

func (p *HSetNXBytesArgs) String() string

func (*HSetNXBytesArgs) Write

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) Read

func (*HSetNXBytesResult) ReadField0

func (p *HSetNXBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*HSetNXBytesResult) String

func (p *HSetNXBytesResult) String() string

func (*HSetNXBytesResult) Write

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) Read

func (p *HSetNXResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*HSetNXResult) ReadField0

func (p *HSetNXResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*HSetNXResult) String

func (p *HSetNXResult) String() string

func (*HSetNXResult) Write

func (p *HSetNXResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *HSetResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*HSetResult) ReadField0

func (p *HSetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*HSetResult) String

func (p *HSetResult) String() string

func (*HSetResult) Write

func (p *HSetResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *HValuesArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*HValuesArgs) ReadField1

func (p *HValuesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*HValuesArgs) ReadField2

func (p *HValuesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*HValuesArgs) String

func (p *HValuesArgs) String() string

func (*HValuesArgs) Write

func (p *HValuesArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*HValuesResult) ReadField0

func (p *HValuesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*HValuesResult) String

func (p *HValuesResult) String() string

func (*HValuesResult) Write

func (p *HValuesResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *HmGetArgs) GetAppid() string

func (*HmGetArgs) GetFields

func (p *HmGetArgs) GetFields() []string

func (*HmGetArgs) GetKey

func (p *HmGetArgs) GetKey() string

func (*HmGetArgs) Read

func (p *HmGetArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*HmGetArgs) ReadField1

func (p *HmGetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*HmGetArgs) ReadField2

func (p *HmGetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*HmGetArgs) ReadField3

func (p *HmGetArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*HmGetArgs) String

func (p *HmGetArgs) String() string

func (*HmGetArgs) Write

func (p *HmGetArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *HmSetArgs) GetAppid() string

func (*HmSetArgs) GetFields

func (p *HmSetArgs) GetFields() map[string]string

func (*HmSetArgs) GetKey

func (p *HmSetArgs) GetKey() string

func (*HmSetArgs) Read

func (p *HmSetArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*HmSetArgs) ReadField1

func (p *HmSetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*HmSetArgs) ReadField2

func (p *HmSetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*HmSetArgs) ReadField3

func (p *HmSetArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*HmSetArgs) String

func (p *HmSetArgs) String() string

func (*HmSetArgs) Write

func (p *HmSetArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*HmSetBytesArgs) ReadField1

func (p *HmSetBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*HmSetBytesArgs) ReadField2

func (p *HmSetBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*HmSetBytesArgs) ReadField3

func (p *HmSetBytesArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*HmSetBytesArgs) String

func (p *HmSetBytesArgs) String() string

func (*HmSetBytesArgs) Write

func (p *HmSetBytesArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*HmSetBytesResult) ReadField0

func (p *HmSetBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*HmSetBytesResult) String

func (p *HmSetBytesResult) String() string

func (*HmSetBytesResult) Write

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) Read

func (p *HmSetResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*HmSetResult) ReadField0

func (p *HmSetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*HmSetResult) String

func (p *HmSetResult) String() string

func (*HmSetResult) Write

func (p *HmSetResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *InfoArgs) GetAppid() string

func (*InfoArgs) GetSections

func (p *InfoArgs) GetSections() []string

func (*InfoArgs) Read

func (p *InfoArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*InfoArgs) ReadField1

func (p *InfoArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*InfoArgs) ReadField2

func (p *InfoArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*InfoArgs) String

func (p *InfoArgs) String() string

func (*InfoArgs) Write

func (p *InfoArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *InfoResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*InfoResult) ReadField0

func (p *InfoResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*InfoResult) String

func (p *InfoResult) String() string

func (*InfoResult) Write

func (p *InfoResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *IntResponse) Read(ctx context.Context, tp thrift.TProtocol) error

func (*IntResponse) ReadField1

func (p *IntResponse) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*IntResponse) ReadField2

func (p *IntResponse) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*IntResponse) ReadField3

func (p *IntResponse) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*IntResponse) String

func (p *IntResponse) String() string

func (*IntResponse) Write

func (p *IntResponse) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *KeysArgs) GetAppid() string

func (*KeysArgs) GetKey

func (p *KeysArgs) GetKey() string

func (*KeysArgs) Read

func (p *KeysArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*KeysArgs) ReadField1

func (p *KeysArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*KeysArgs) ReadField2

func (p *KeysArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*KeysArgs) String

func (p *KeysArgs) String() string

func (*KeysArgs) Write

func (p *KeysArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *KeysResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*KeysResult) ReadField0

func (p *KeysResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*KeysResult) String

func (p *KeysResult) String() string

func (*KeysResult) Write

func (p *KeysResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*LBytesResponse) ReadField1

func (p *LBytesResponse) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*LBytesResponse) ReadField2

func (p *LBytesResponse) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*LBytesResponse) ReadField3

func (p *LBytesResponse) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*LBytesResponse) String

func (p *LBytesResponse) String() string

func (*LBytesResponse) Write

func (p *LBytesResponse) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *LIndexArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*LIndexArgs) ReadField1

func (p *LIndexArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*LIndexArgs) ReadField2

func (p *LIndexArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*LIndexArgs) ReadField3

func (p *LIndexArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*LIndexArgs) String

func (p *LIndexArgs) String() string

func (*LIndexArgs) Write

func (p *LIndexArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *LIndexResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*LIndexResult) ReadField0

func (p *LIndexResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*LIndexResult) String

func (p *LIndexResult) String() string

func (*LIndexResult) Write

func (p *LIndexResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*LInsertAfterArgs) ReadField1

func (p *LInsertAfterArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*LInsertAfterArgs) ReadField2

func (p *LInsertAfterArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*LInsertAfterArgs) ReadField3

func (p *LInsertAfterArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*LInsertAfterArgs) ReadField4

func (p *LInsertAfterArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*LInsertAfterArgs) String

func (p *LInsertAfterArgs) String() string

func (*LInsertAfterArgs) Write

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) Read

func (*LInsertAfterResult) ReadField0

func (p *LInsertAfterResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*LInsertAfterResult) String

func (p *LInsertAfterResult) String() string

func (*LInsertAfterResult) Write

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) Read

func (*LInsertBeforeArgs) ReadField1

func (p *LInsertBeforeArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*LInsertBeforeArgs) ReadField2

func (p *LInsertBeforeArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*LInsertBeforeArgs) ReadField3

func (p *LInsertBeforeArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*LInsertBeforeArgs) ReadField4

func (p *LInsertBeforeArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*LInsertBeforeArgs) String

func (p *LInsertBeforeArgs) String() string

func (*LInsertBeforeArgs) Write

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) Read

func (*LInsertBeforeResult) ReadField0

func (p *LInsertBeforeResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*LInsertBeforeResult) String

func (p *LInsertBeforeResult) String() string

func (*LInsertBeforeResult) Write

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) GetAppid

func (p *LLenArgs) GetAppid() string

func (*LLenArgs) GetKey

func (p *LLenArgs) GetKey() string

func (*LLenArgs) Read

func (p *LLenArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*LLenArgs) ReadField1

func (p *LLenArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*LLenArgs) ReadField2

func (p *LLenArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*LLenArgs) String

func (p *LLenArgs) String() string

func (*LLenArgs) Write

func (p *LLenArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *LLenResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*LLenResult) ReadField0

func (p *LLenResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*LLenResult) String

func (p *LLenResult) String() string

func (*LLenResult) Write

func (p *LLenResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *LPopByteArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*LPopByteArgs) ReadField1

func (p *LPopByteArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*LPopByteArgs) ReadField2

func (p *LPopByteArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*LPopByteArgs) String

func (p *LPopByteArgs) String() string

func (*LPopByteArgs) Write

func (p *LPopByteArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*LPopByteResult) ReadField0

func (p *LPopByteResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*LPopByteResult) String

func (p *LPopByteResult) String() string

func (*LPopByteResult) Write

func (p *LPopByteResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *LPopResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*LPopResult) ReadField0

func (p *LPopResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*LPopResult) String

func (p *LPopResult) String() string

func (*LPopResult) Write

func (p *LPopResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *LPushArgs) GetAppid() string

func (*LPushArgs) GetKey

func (p *LPushArgs) GetKey() string

func (*LPushArgs) GetValue

func (p *LPushArgs) GetValue() string

func (*LPushArgs) Read

func (p *LPushArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*LPushArgs) ReadField1

func (p *LPushArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*LPushArgs) ReadField2

func (p *LPushArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*LPushArgs) ReadField3

func (p *LPushArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*LPushArgs) String

func (p *LPushArgs) String() string

func (*LPushArgs) Write

func (p *LPushArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*LPushByteArgs) ReadField1

func (p *LPushByteArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*LPushByteArgs) ReadField2

func (p *LPushByteArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*LPushByteArgs) ReadField3

func (p *LPushByteArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*LPushByteArgs) String

func (p *LPushByteArgs) String() string

func (*LPushByteArgs) Write

func (p *LPushByteArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*LPushByteResult) ReadField0

func (p *LPushByteResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*LPushByteResult) String

func (p *LPushByteResult) String() string

func (*LPushByteResult) Write

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) Read

func (p *LPushResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*LPushResult) ReadField0

func (p *LPushResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*LPushResult) String

func (p *LPushResult) String() string

func (*LPushResult) Write

func (p *LPushResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *LRangeArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*LRangeArgs) ReadField1

func (p *LRangeArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*LRangeArgs) ReadField2

func (p *LRangeArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*LRangeArgs) ReadField3

func (p *LRangeArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*LRangeArgs) ReadField4

func (p *LRangeArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*LRangeArgs) String

func (p *LRangeArgs) String() string

func (*LRangeArgs) Write

func (p *LRangeArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *LRangeResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*LRangeResult) ReadField0

func (p *LRangeResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*LRangeResult) String

func (p *LRangeResult) String() string

func (*LRangeResult) Write

func (p *LRangeResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetCode

func (p *LResponse) GetCode() int32

func (*LResponse) GetMsg

func (p *LResponse) GetMsg() string

func (*LResponse) GetRes

func (p *LResponse) GetRes() []string

func (*LResponse) Read

func (p *LResponse) Read(ctx context.Context, tp thrift.TProtocol) error

func (*LResponse) ReadField1

func (p *LResponse) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*LResponse) ReadField2

func (p *LResponse) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*LResponse) ReadField3

func (p *LResponse) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*LResponse) String

func (p *LResponse) String() string

func (*LResponse) Write

func (p *LResponse) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *LSetArgs) GetAppid() string

func (*LSetArgs) GetIndex

func (p *LSetArgs) GetIndex() int64

func (*LSetArgs) GetKey

func (p *LSetArgs) GetKey() string

func (*LSetArgs) GetValue

func (p *LSetArgs) GetValue() string

func (*LSetArgs) Read

func (p *LSetArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*LSetArgs) ReadField1

func (p *LSetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*LSetArgs) ReadField2

func (p *LSetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*LSetArgs) ReadField3

func (p *LSetArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*LSetArgs) ReadField4

func (p *LSetArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*LSetArgs) String

func (p *LSetArgs) String() string

func (*LSetArgs) Write

func (p *LSetArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *LSetResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*LSetResult) ReadField0

func (p *LSetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*LSetResult) String

func (p *LSetResult) String() string

func (*LSetResult) Write

func (p *LSetResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *LTrimArgs) GetAppid() string

func (*LTrimArgs) GetKey

func (p *LTrimArgs) GetKey() string

func (*LTrimArgs) GetStart

func (p *LTrimArgs) GetStart() int64

func (*LTrimArgs) GetStop

func (p *LTrimArgs) GetStop() int64

func (*LTrimArgs) Read

func (p *LTrimArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*LTrimArgs) ReadField1

func (p *LTrimArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*LTrimArgs) ReadField2

func (p *LTrimArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*LTrimArgs) ReadField3

func (p *LTrimArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*LTrimArgs) ReadField4

func (p *LTrimArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*LTrimArgs) String

func (p *LTrimArgs) String() string

func (*LTrimArgs) Write

func (p *LTrimArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *LTrimResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*LTrimResult) ReadField0

func (p *LTrimResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*LTrimResult) String

func (p *LTrimResult) String() string

func (*LTrimResult) Write

func (p *LTrimResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*MBytesResponse) ReadField1

func (p *MBytesResponse) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*MBytesResponse) ReadField2

func (p *MBytesResponse) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*MBytesResponse) ReadField3

func (p *MBytesResponse) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*MBytesResponse) String

func (p *MBytesResponse) String() string

func (*MBytesResponse) Write

func (p *MBytesResponse) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *MDelArgs) GetAppid() string

func (*MDelArgs) GetKeys

func (p *MDelArgs) GetKeys() []string

func (*MDelArgs) Read

func (p *MDelArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MDelArgs) ReadField1

func (p *MDelArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*MDelArgs) ReadField2

func (p *MDelArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*MDelArgs) String

func (p *MDelArgs) String() string

func (*MDelArgs) Write

func (p *MDelArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *MDelResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MDelResult) ReadField0

func (p *MDelResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*MDelResult) String

func (p *MDelResult) String() string

func (*MDelResult) Write

func (p *MDelResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *MGetArgs) GetAppid() string

func (*MGetArgs) GetKeys

func (p *MGetArgs) GetKeys() []string

func (*MGetArgs) Read

func (p *MGetArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MGetArgs) ReadField1

func (p *MGetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*MGetArgs) ReadField2

func (p *MGetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*MGetArgs) String

func (p *MGetArgs) String() string

func (*MGetArgs) Write

func (p *MGetArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*MGetBytesArgs) ReadField1

func (p *MGetBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*MGetBytesArgs) ReadField2

func (p *MGetBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*MGetBytesArgs) String

func (p *MGetBytesArgs) String() string

func (*MGetBytesArgs) Write

func (p *MGetBytesArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*MGetBytesResult) ReadField0

func (p *MGetBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*MGetBytesResult) String

func (p *MGetBytesResult) String() string

func (*MGetBytesResult) Write

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) Read

func (p *MGetResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MGetResult) ReadField0

func (p *MGetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*MGetResult) String

func (p *MGetResult) String() string

func (*MGetResult) Write

func (p *MGetResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *MIntResponse) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MIntResponse) ReadField1

func (p *MIntResponse) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*MIntResponse) ReadField2

func (p *MIntResponse) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*MIntResponse) ReadField3

func (p *MIntResponse) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*MIntResponse) String

func (p *MIntResponse) String() string

func (*MIntResponse) Write

func (p *MIntResponse) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetCode

func (p *MResponse) GetCode() int32

func (*MResponse) GetMsg

func (p *MResponse) GetMsg() string

func (*MResponse) GetRes

func (p *MResponse) GetRes() map[string]string

func (*MResponse) Read

func (p *MResponse) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MResponse) ReadField1

func (p *MResponse) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*MResponse) ReadField2

func (p *MResponse) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*MResponse) ReadField3

func (p *MResponse) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*MResponse) String

func (p *MResponse) String() string

func (*MResponse) Write

func (p *MResponse) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *MSetArgs) GetAppid() string

func (*MSetArgs) GetReqs

func (p *MSetArgs) GetReqs() map[string]string

func (*MSetArgs) Read

func (p *MSetArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MSetArgs) ReadField1

func (p *MSetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*MSetArgs) ReadField2

func (p *MSetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*MSetArgs) String

func (p *MSetArgs) String() string

func (*MSetArgs) Write

func (p *MSetArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*MSetBytesResult) ReadField0

func (p *MSetBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*MSetBytesResult) String

func (p *MSetBytesResult) String() string

func (*MSetBytesResult) Write

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) Read

func (p *MSetResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MSetResult) ReadField0

func (p *MSetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*MSetResult) String

func (p *MSetResult) String() string

func (*MSetResult) Write

func (p *MSetResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *MhDelArgs) GetAppid() string

func (*MhDelArgs) GetFields

func (p *MhDelArgs) GetFields() []string

func (*MhDelArgs) GetKey

func (p *MhDelArgs) GetKey() string

func (*MhDelArgs) Read

func (p *MhDelArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MhDelArgs) ReadField1

func (p *MhDelArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*MhDelArgs) ReadField2

func (p *MhDelArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*MhDelArgs) ReadField3

func (p *MhDelArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*MhDelArgs) String

func (p *MhDelArgs) String() string

func (*MhDelArgs) Write

func (p *MhDelArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *MhDelResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MhDelResult) ReadField0

func (p *MhDelResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*MhDelResult) String

func (p *MhDelResult) String() string

func (*MhDelResult) Write

func (p *MhDelResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *MlLenArgs) GetAppid() string

func (*MlLenArgs) GetKeys

func (p *MlLenArgs) GetKeys() []string

func (*MlLenArgs) Read

func (p *MlLenArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MlLenArgs) ReadField1

func (p *MlLenArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*MlLenArgs) ReadField2

func (p *MlLenArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*MlLenArgs) String

func (p *MlLenArgs) String() string

func (*MlLenArgs) Write

func (p *MlLenArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *MlLenResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MlLenResult) ReadField0

func (p *MlLenResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*MlLenResult) String

func (p *MlLenResult) String() string

func (*MlLenResult) Write

func (p *MlLenResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *MlPushArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MlPushArgs) ReadField1

func (p *MlPushArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*MlPushArgs) ReadField2

func (p *MlPushArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*MlPushArgs) ReadField3

func (p *MlPushArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*MlPushArgs) String

func (p *MlPushArgs) String() string

func (*MlPushArgs) Write

func (p *MlPushArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*MlPushByteWithTTLArgs) ReadField1

func (p *MlPushByteWithTTLArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*MlPushByteWithTTLArgs) ReadField2

func (p *MlPushByteWithTTLArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*MlPushByteWithTTLArgs) ReadField3

func (p *MlPushByteWithTTLArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*MlPushByteWithTTLArgs) ReadField4

func (p *MlPushByteWithTTLArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*MlPushByteWithTTLArgs) String

func (p *MlPushByteWithTTLArgs) String() string

func (*MlPushByteWithTTLArgs) Write

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) Read

func (*MlPushByteWithTTLResult) ReadField0

func (*MlPushByteWithTTLResult) String

func (p *MlPushByteWithTTLResult) String() string

func (*MlPushByteWithTTLResult) Write

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) Read

func (p *MlPushResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MlPushResult) ReadField0

func (p *MlPushResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*MlPushResult) String

func (p *MlPushResult) String() string

func (*MlPushResult) Write

func (p *MlPushResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*MlPushWithTTLArgs) ReadField1

func (p *MlPushWithTTLArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*MlPushWithTTLArgs) ReadField2

func (p *MlPushWithTTLArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*MlPushWithTTLArgs) ReadField3

func (p *MlPushWithTTLArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*MlPushWithTTLArgs) ReadField4

func (p *MlPushWithTTLArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*MlPushWithTTLArgs) String

func (p *MlPushWithTTLArgs) String() string

func (*MlPushWithTTLArgs) Write

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) Read

func (*MlPushWithTTLResult) ReadField0

func (p *MlPushWithTTLResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*MlPushWithTTLResult) String

func (p *MlPushWithTTLResult) String() string

func (*MlPushWithTTLResult) Write

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) Read

func (*MrPushByteWithTTLArgs) ReadField1

func (p *MrPushByteWithTTLArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*MrPushByteWithTTLArgs) ReadField2

func (p *MrPushByteWithTTLArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*MrPushByteWithTTLArgs) ReadField3

func (p *MrPushByteWithTTLArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*MrPushByteWithTTLArgs) ReadField4

func (p *MrPushByteWithTTLArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*MrPushByteWithTTLArgs) String

func (p *MrPushByteWithTTLArgs) String() string

func (*MrPushByteWithTTLArgs) Write

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) Read

func (*MrPushByteWithTTLResult) ReadField0

func (*MrPushByteWithTTLResult) String

func (p *MrPushByteWithTTLResult) String() string

func (*MrPushByteWithTTLResult) Write

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) Read

func (*MrPushWithTTLArgs) ReadField1

func (p *MrPushWithTTLArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*MrPushWithTTLArgs) ReadField2

func (p *MrPushWithTTLArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*MrPushWithTTLArgs) ReadField3

func (p *MrPushWithTTLArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*MrPushWithTTLArgs) ReadField4

func (p *MrPushWithTTLArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*MrPushWithTTLArgs) String

func (p *MrPushWithTTLArgs) String() string

func (*MrPushWithTTLArgs) Write

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) Read

func (*MrPushWithTTLResult) ReadField0

func (p *MrPushWithTTLResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*MrPushWithTTLResult) String

func (p *MrPushWithTTLResult) String() string

func (*MrPushWithTTLResult) Write

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) GetAppid

func (p *MsAddArgs) GetAppid() string

func (*MsAddArgs) GetKey

func (p *MsAddArgs) GetKey() string

func (*MsAddArgs) GetMembers

func (p *MsAddArgs) GetMembers() []string

func (*MsAddArgs) Read

func (p *MsAddArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MsAddArgs) ReadField1

func (p *MsAddArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*MsAddArgs) ReadField2

func (p *MsAddArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*MsAddArgs) ReadField3

func (p *MsAddArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*MsAddArgs) String

func (p *MsAddArgs) String() string

func (*MsAddArgs) Write

func (p *MsAddArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *MsAddResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MsAddResult) ReadField0

func (p *MsAddResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*MsAddResult) String

func (p *MsAddResult) String() string

func (*MsAddResult) Write

func (p *MsAddResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *MsRemArgs) GetAppid() string

func (*MsRemArgs) GetKey

func (p *MsRemArgs) GetKey() string

func (*MsRemArgs) GetMember

func (p *MsRemArgs) GetMember() []string

func (*MsRemArgs) Read

func (p *MsRemArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MsRemArgs) ReadField1

func (p *MsRemArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*MsRemArgs) ReadField2

func (p *MsRemArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*MsRemArgs) ReadField3

func (p *MsRemArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*MsRemArgs) String

func (p *MsRemArgs) String() string

func (*MsRemArgs) Write

func (p *MsRemArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *MsRemResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MsRemResult) ReadField0

func (p *MsRemResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*MsRemResult) String

func (p *MsRemResult) String() string

func (*MsRemResult) Write

func (p *MsRemResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *MzAddArgs) GetAppid() string

func (*MzAddArgs) GetKey

func (p *MzAddArgs) GetKey() string

func (*MzAddArgs) GetMembers

func (p *MzAddArgs) GetMembers() []*Z

func (*MzAddArgs) Read

func (p *MzAddArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MzAddArgs) ReadField1

func (p *MzAddArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*MzAddArgs) ReadField2

func (p *MzAddArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*MzAddArgs) ReadField3

func (p *MzAddArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*MzAddArgs) String

func (p *MzAddArgs) String() string

func (*MzAddArgs) Write

func (p *MzAddArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *MzAddResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MzAddResult) ReadField0

func (p *MzAddResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*MzAddResult) String

func (p *MzAddResult) String() string

func (*MzAddResult) Write

func (p *MzAddResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *MzRemArgs) GetAppid() string

func (*MzRemArgs) GetKey

func (p *MzRemArgs) GetKey() string

func (*MzRemArgs) GetMembers

func (p *MzRemArgs) GetMembers() []string

func (*MzRemArgs) Read

func (p *MzRemArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MzRemArgs) ReadField1

func (p *MzRemArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*MzRemArgs) ReadField2

func (p *MzRemArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*MzRemArgs) ReadField3

func (p *MzRemArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*MzRemArgs) String

func (p *MzRemArgs) String() string

func (*MzRemArgs) Write

func (p *MzRemArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *MzRemResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*MzRemResult) ReadField0

func (p *MzRemResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*MzRemResult) String

func (p *MzRemResult) String() string

func (*MzRemResult) Write

func (p *MzRemResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *NodeInfoArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*NodeInfoArgs) ReadField1

func (p *NodeInfoArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*NodeInfoArgs) ReadField2

func (p *NodeInfoArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*NodeInfoArgs) ReadField3

func (p *NodeInfoArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*NodeInfoArgs) String

func (p *NodeInfoArgs) String() string

func (*NodeInfoArgs) Write

func (p *NodeInfoArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*NodeInfoResult) ReadField0

func (p *NodeInfoResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*NodeInfoResult) String

func (p *NodeInfoResult) String() string

func (*NodeInfoResult) Write

func (p *NodeInfoResult) Write(ctx context.Context, tp thrift.TProtocol) error

type PingArgs

type PingArgs struct {
	Echo int32 `thrift:"echo,1" db:"echo" json:"echo"`
}

Attributes:

  • Echo

func NewPingArgs

func NewPingArgs() *PingArgs

func (*PingArgs) GetEcho

func (p *PingArgs) GetEcho() int32

func (*PingArgs) Read

func (p *PingArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*PingArgs) ReadField1

func (p *PingArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*PingArgs) String

func (p *PingArgs) String() string

func (*PingArgs) Write

func (p *PingArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *PingResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*PingResult) ReadField0

func (p *PingResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*PingResult) String

func (p *PingResult) String() string

func (*PingResult) Write

func (p *PingResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*ProxyHGetArgs) ReadField1

func (p *ProxyHGetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*ProxyHGetArgs) ReadField2

func (p *ProxyHGetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*ProxyHGetArgs) ReadField3

func (p *ProxyHGetArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*ProxyHGetArgs) String

func (p *ProxyHGetArgs) String() string

func (*ProxyHGetArgs) Write

func (p *ProxyHGetArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*ProxyLPopArgs) ReadField1

func (p *ProxyLPopArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*ProxyLPopArgs) ReadField2

func (p *ProxyLPopArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*ProxyLPopArgs) String

func (p *ProxyLPopArgs) String() string

func (*ProxyLPopArgs) Write

func (p *ProxyLPopArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *RPopArgs) GetAppid() string

func (*RPopArgs) GetKey

func (p *RPopArgs) GetKey() string

func (*RPopArgs) Read

func (p *RPopArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*RPopArgs) ReadField1

func (p *RPopArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*RPopArgs) ReadField2

func (p *RPopArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*RPopArgs) String

func (p *RPopArgs) String() string

func (*RPopArgs) Write

func (p *RPopArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *RPopByteArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*RPopByteArgs) ReadField1

func (p *RPopByteArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*RPopByteArgs) ReadField2

func (p *RPopByteArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*RPopByteArgs) String

func (p *RPopByteArgs) String() string

func (*RPopByteArgs) Write

func (p *RPopByteArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*RPopByteResult) ReadField0

func (p *RPopByteResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*RPopByteResult) String

func (p *RPopByteResult) String() string

func (*RPopByteResult) Write

func (p *RPopByteResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *RPopResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*RPopResult) ReadField0

func (p *RPopResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*RPopResult) String

func (p *RPopResult) String() string

func (*RPopResult) Write

func (p *RPopResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *RPushArgs) GetAppid() string

func (*RPushArgs) GetKey

func (p *RPushArgs) GetKey() string

func (*RPushArgs) GetValue

func (p *RPushArgs) GetValue() string

func (*RPushArgs) Read

func (p *RPushArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*RPushArgs) ReadField1

func (p *RPushArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*RPushArgs) ReadField2

func (p *RPushArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*RPushArgs) ReadField3

func (p *RPushArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*RPushArgs) String

func (p *RPushArgs) String() string

func (*RPushArgs) Write

func (p *RPushArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*RPushByteArgs) ReadField1

func (p *RPushByteArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*RPushByteArgs) ReadField2

func (p *RPushByteArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*RPushByteArgs) ReadField3

func (p *RPushByteArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*RPushByteArgs) String

func (p *RPushByteArgs) String() string

func (*RPushByteArgs) Write

func (p *RPushByteArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*RPushByteResult) ReadField0

func (p *RPushByteResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*RPushByteResult) String

func (p *RPushByteResult) String() string

func (*RPushByteResult) Write

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) Read

func (p *RPushResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*RPushResult) ReadField0

func (p *RPushResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*RPushResult) String

func (p *RPushResult) String() string

func (*RPushResult) Write

func (p *RPushResult) Write(ctx context.Context, tp thrift.TProtocol) error

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 NewRedisProxyClientProtocol

func NewRedisProxyClientProtocol(t thrift.TTransport, inTp thrift.TProtocol, outTp thrift.TProtocol) *RedisProxyClient

func (*RedisProxyClient) Client_

func (p *RedisProxyClient) Client_() thrift.TClient

func (*RedisProxyClient) ClusterInfo

func (p *RedisProxyClient) ClusterInfo(ctx context.Context, appid string) (r *Response, err error)

Parameters:

  • AppId

func (*RedisProxyClient) ClusterNodes

func (p *RedisProxyClient) ClusterNodes(ctx context.Context, appid string) (r *Response, err error)

Parameters:

  • AppId

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) Ping

func (p *RedisProxyClient) Ping(ctx context.Context, echo int32) (r int32, err error)

Parameters:

  • Echo

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) RedisProxyPing

func (p *RedisProxyClient) RedisProxyPing(ctx context.Context, echo int32) (r int32, err error)

Parameters:

  • Echo

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) Read

func (*RedisProxyHGetBytesArgs) ReadField1

func (*RedisProxyHGetBytesArgs) ReadField2

func (*RedisProxyHGetBytesArgs) ReadField3

func (*RedisProxyHGetBytesArgs) String

func (p *RedisProxyHGetBytesArgs) String() string

func (*RedisProxyHGetBytesArgs) Write

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) Read

func (*RedisProxyMSetBytesArgs) ReadField1

func (*RedisProxyMSetBytesArgs) ReadField2

func (*RedisProxyMSetBytesArgs) String

func (p *RedisProxyMSetBytesArgs) String() string

func (*RedisProxyMSetBytesArgs) Write

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) Read

func (*RedisProxyPingArgs) ReadField1

func (p *RedisProxyPingArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*RedisProxyPingArgs) String

func (p *RedisProxyPingArgs) String() string

func (*RedisProxyPingArgs) Write

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) Read

func (*RedisProxyPingResult) ReadField0

func (p *RedisProxyPingResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*RedisProxyPingResult) String

func (p *RedisProxyPingResult) String() string

func (*RedisProxyPingResult) Write

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) Read

func (*RedisProxySetBytesResult) ReadField0

func (*RedisProxySetBytesResult) String

func (p *RedisProxySetBytesResult) String() string

func (*RedisProxySetBytesResult) Write

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) GetCode

func (p *Response) GetCode() int32

func (*Response) GetMsg

func (p *Response) GetMsg() string

func (*Response) GetRes

func (p *Response) GetRes() string

func (*Response) Read

func (p *Response) Read(ctx context.Context, tp thrift.TProtocol) error

func (*Response) ReadField1

func (p *Response) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*Response) ReadField2

func (p *Response) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*Response) ReadField3

func (p *Response) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*Response) String

func (p *Response) String() string

func (*Response) Write

func (p *Response) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *SAddArgs) GetAppid() string

func (*SAddArgs) GetKey

func (p *SAddArgs) GetKey() string

func (*SAddArgs) GetMember

func (p *SAddArgs) GetMember() string

func (*SAddArgs) Read

func (p *SAddArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*SAddArgs) ReadField1

func (p *SAddArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*SAddArgs) ReadField2

func (p *SAddArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*SAddArgs) ReadField3

func (p *SAddArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*SAddArgs) String

func (p *SAddArgs) String() string

func (*SAddArgs) Write

func (p *SAddArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *SAddResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*SAddResult) ReadField0

func (p *SAddResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*SAddResult) String

func (p *SAddResult) String() string

func (*SAddResult) Write

func (p *SAddResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *SCardArgs) GetAppid() string

func (*SCardArgs) GetKey

func (p *SCardArgs) GetKey() string

func (*SCardArgs) Read

func (p *SCardArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*SCardArgs) ReadField1

func (p *SCardArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*SCardArgs) ReadField2

func (p *SCardArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*SCardArgs) String

func (p *SCardArgs) String() string

func (*SCardArgs) Write

func (p *SCardArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *SCardResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*SCardResult) ReadField0

func (p *SCardResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*SCardResult) String

func (p *SCardResult) String() string

func (*SCardResult) Write

func (p *SCardResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*SIsMemberArgs) ReadField1

func (p *SIsMemberArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*SIsMemberArgs) ReadField2

func (p *SIsMemberArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*SIsMemberArgs) ReadField3

func (p *SIsMemberArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*SIsMemberArgs) String

func (p *SIsMemberArgs) String() string

func (*SIsMemberArgs) Write

func (p *SIsMemberArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*SIsMemberResult) ReadField0

func (p *SIsMemberResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*SIsMemberResult) String

func (p *SIsMemberResult) String() string

func (*SIsMemberResult) Write

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) Read

func (p *SMembersArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*SMembersArgs) ReadField1

func (p *SMembersArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*SMembersArgs) ReadField2

func (p *SMembersArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*SMembersArgs) String

func (p *SMembersArgs) String() string

func (*SMembersArgs) Write

func (p *SMembersArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*SMembersResult) ReadField0

func (p *SMembersResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*SMembersResult) String

func (p *SMembersResult) String() string

func (*SMembersResult) Write

func (p *SMembersResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*SRandMemberArgs) ReadField1

func (p *SRandMemberArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*SRandMemberArgs) ReadField2

func (p *SRandMemberArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*SRandMemberArgs) String

func (p *SRandMemberArgs) String() string

func (*SRandMemberArgs) Write

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) Read

func (*SRandMemberNArgs) ReadField1

func (p *SRandMemberNArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*SRandMemberNArgs) ReadField2

func (p *SRandMemberNArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*SRandMemberNArgs) ReadField3

func (p *SRandMemberNArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*SRandMemberNArgs) String

func (p *SRandMemberNArgs) String() string

func (*SRandMemberNArgs) Write

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) Read

func (*SRandMemberNResult) ReadField0

func (p *SRandMemberNResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*SRandMemberNResult) String

func (p *SRandMemberNResult) String() string

func (*SRandMemberNResult) Write

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) Read

func (*SRandMemberResult) ReadField0

func (p *SRandMemberResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*SRandMemberResult) String

func (p *SRandMemberResult) String() string

func (*SRandMemberResult) Write

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) GetAppid

func (p *SRemArgs) GetAppid() string

func (*SRemArgs) GetKey

func (p *SRemArgs) GetKey() string

func (*SRemArgs) GetMember

func (p *SRemArgs) GetMember() string

func (*SRemArgs) Read

func (p *SRemArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*SRemArgs) ReadField1

func (p *SRemArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*SRemArgs) ReadField2

func (p *SRemArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*SRemArgs) ReadField3

func (p *SRemArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*SRemArgs) String

func (p *SRemArgs) String() string

func (*SRemArgs) Write

func (p *SRemArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *SRemResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*SRemResult) ReadField0

func (p *SRemResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*SRemResult) String

func (p *SRemResult) String() string

func (*SRemResult) Write

func (p *SRemResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *SetArgs) GetAppid() string

func (*SetArgs) GetKey

func (p *SetArgs) GetKey() string

func (*SetArgs) GetTTL

func (p *SetArgs) GetTTL() int64

func (*SetArgs) GetValue

func (p *SetArgs) GetValue() string

func (*SetArgs) Read

func (p *SetArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*SetArgs) ReadField1

func (p *SetArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*SetArgs) ReadField2

func (p *SetArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*SetArgs) ReadField3

func (p *SetArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*SetArgs) ReadField4

func (p *SetArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*SetArgs) String

func (p *SetArgs) String() string

func (*SetArgs) Write

func (p *SetArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *SetBytesArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*SetBytesArgs) ReadField1

func (p *SetBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*SetBytesArgs) ReadField2

func (p *SetBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*SetBytesArgs) ReadField3

func (p *SetBytesArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*SetBytesArgs) ReadField4

func (p *SetBytesArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*SetBytesArgs) String

func (p *SetBytesArgs) String() string

func (*SetBytesArgs) Write

func (p *SetBytesArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *SetNXArgs) GetAppid() string

func (*SetNXArgs) GetKey

func (p *SetNXArgs) GetKey() string

func (*SetNXArgs) GetTTL

func (p *SetNXArgs) GetTTL() int64

func (*SetNXArgs) GetValue

func (p *SetNXArgs) GetValue() string

func (*SetNXArgs) Read

func (p *SetNXArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*SetNXArgs) ReadField1

func (p *SetNXArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*SetNXArgs) ReadField2

func (p *SetNXArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*SetNXArgs) ReadField3

func (p *SetNXArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*SetNXArgs) ReadField4

func (p *SetNXArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*SetNXArgs) String

func (p *SetNXArgs) String() string

func (*SetNXArgs) Write

func (p *SetNXArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*SetNXBytesArgs) ReadField1

func (p *SetNXBytesArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*SetNXBytesArgs) ReadField2

func (p *SetNXBytesArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*SetNXBytesArgs) ReadField3

func (p *SetNXBytesArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*SetNXBytesArgs) ReadField4

func (p *SetNXBytesArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*SetNXBytesArgs) String

func (p *SetNXBytesArgs) String() string

func (*SetNXBytesArgs) Write

func (p *SetNXBytesArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*SetNXBytesResult) ReadField0

func (p *SetNXBytesResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*SetNXBytesResult) String

func (p *SetNXBytesResult) String() string

func (*SetNXBytesResult) Write

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) Read

func (p *SetNXResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*SetNXResult) ReadField0

func (p *SetNXResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*SetNXResult) String

func (p *SetNXResult) String() string

func (*SetNXResult) Write

func (p *SetNXResult) Write(ctx context.Context, tp thrift.TProtocol) error

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 (p *SetResult) GetSuccess() *Response

func (*SetResult) IsSetSuccess

func (p *SetResult) IsSetSuccess() bool

func (*SetResult) Read

func (p *SetResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*SetResult) ReadField0

func (p *SetResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*SetResult) String

func (p *SetResult) String() string

func (*SetResult) Write

func (p *SetResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *TtlArgs) GetAppid() string

func (*TtlArgs) GetKey

func (p *TtlArgs) GetKey() string

func (*TtlArgs) Read

func (p *TtlArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*TtlArgs) ReadField1

func (p *TtlArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*TtlArgs) ReadField2

func (p *TtlArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*TtlArgs) String

func (p *TtlArgs) String() string

func (*TtlArgs) Write

func (p *TtlArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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 (p *TtlResult) IsSetSuccess() bool

func (*TtlResult) Read

func (p *TtlResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*TtlResult) ReadField0

func (p *TtlResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*TtlResult) String

func (p *TtlResult) String() string

func (*TtlResult) Write

func (p *TtlResult) Write(ctx context.Context, tp thrift.TProtocol) error

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

func NewZ

func NewZ() *Z

func (*Z) GetMember

func (p *Z) GetMember() string

func (*Z) GetScore

func (p *Z) GetScore() float64

func (*Z) Read

func (p *Z) Read(ctx context.Context, tp thrift.TProtocol) error

func (*Z) ReadField1

func (p *Z) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*Z) ReadField2

func (p *Z) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*Z) String

func (p *Z) String() string

func (*Z) Write

func (p *Z) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *ZAddArgs) GetAppid() string

func (*ZAddArgs) GetKey

func (p *ZAddArgs) GetKey() string

func (*ZAddArgs) GetMember

func (p *ZAddArgs) GetMember() *Z

func (*ZAddArgs) IsSetMember

func (p *ZAddArgs) IsSetMember() bool

func (*ZAddArgs) Read

func (p *ZAddArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*ZAddArgs) ReadField1

func (p *ZAddArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*ZAddArgs) ReadField2

func (p *ZAddArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*ZAddArgs) ReadField3

func (p *ZAddArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*ZAddArgs) String

func (p *ZAddArgs) String() string

func (*ZAddArgs) Write

func (p *ZAddArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *ZAddResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*ZAddResult) ReadField0

func (p *ZAddResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*ZAddResult) String

func (p *ZAddResult) String() string

func (*ZAddResult) Write

func (p *ZAddResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetAppid

func (p *ZCardArgs) GetAppid() string

func (*ZCardArgs) GetKey

func (p *ZCardArgs) GetKey() string

func (*ZCardArgs) Read

func (p *ZCardArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*ZCardArgs) ReadField1

func (p *ZCardArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*ZCardArgs) ReadField2

func (p *ZCardArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*ZCardArgs) String

func (p *ZCardArgs) String() string

func (*ZCardArgs) Write

func (p *ZCardArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *ZCardResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*ZCardResult) ReadField0

func (p *ZCardResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*ZCardResult) String

func (p *ZCardResult) String() string

func (*ZCardResult) Write

func (p *ZCardResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *ZCountArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*ZCountArgs) ReadField1

func (p *ZCountArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*ZCountArgs) ReadField2

func (p *ZCountArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*ZCountArgs) ReadField3

func (p *ZCountArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*ZCountArgs) ReadField4

func (p *ZCountArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*ZCountArgs) String

func (p *ZCountArgs) String() string

func (*ZCountArgs) Write

func (p *ZCountArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *ZCountResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*ZCountResult) ReadField0

func (p *ZCountResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*ZCountResult) String

func (p *ZCountResult) String() string

func (*ZCountResult) Write

func (p *ZCountResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *ZIncrByArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*ZIncrByArgs) ReadField1

func (p *ZIncrByArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*ZIncrByArgs) ReadField2

func (p *ZIncrByArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*ZIncrByArgs) ReadField3

func (p *ZIncrByArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*ZIncrByArgs) ReadField4

func (p *ZIncrByArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*ZIncrByArgs) String

func (p *ZIncrByArgs) String() string

func (*ZIncrByArgs) Write

func (p *ZIncrByArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*ZIncrByResult) ReadField0

func (p *ZIncrByResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*ZIncrByResult) String

func (p *ZIncrByResult) String() string

func (*ZIncrByResult) Write

func (p *ZIncrByResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

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

func (*ZRangeByScoreWithScoresArgs) Write

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) Read

func (*ZRangeByScoreWithScoresResult) ReadField0

func (*ZRangeByScoreWithScoresResult) String

func (*ZRangeByScoreWithScoresResult) Write

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) Read

func (*ZRangeWithScoresArgs) ReadField1

func (p *ZRangeWithScoresArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*ZRangeWithScoresArgs) ReadField2

func (p *ZRangeWithScoresArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*ZRangeWithScoresArgs) ReadField3

func (p *ZRangeWithScoresArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*ZRangeWithScoresArgs) ReadField4

func (p *ZRangeWithScoresArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*ZRangeWithScoresArgs) String

func (p *ZRangeWithScoresArgs) String() string

func (*ZRangeWithScoresArgs) Write

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) Read

func (*ZRangeWithScoresResult) ReadField0

func (*ZRangeWithScoresResult) String

func (p *ZRangeWithScoresResult) String() string

func (*ZRangeWithScoresResult) Write

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) GetAppid

func (p *ZRemArgs) GetAppid() string

func (*ZRemArgs) GetKey

func (p *ZRemArgs) GetKey() string

func (*ZRemArgs) GetMember

func (p *ZRemArgs) GetMember() string

func (*ZRemArgs) Read

func (p *ZRemArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*ZRemArgs) ReadField1

func (p *ZRemArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*ZRemArgs) ReadField2

func (p *ZRemArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*ZRemArgs) ReadField3

func (p *ZRemArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*ZRemArgs) String

func (p *ZRemArgs) String() string

func (*ZRemArgs) Write

func (p *ZRemArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (*ZRemRangeByRankArgs) ReadField1

func (p *ZRemRangeByRankArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*ZRemRangeByRankArgs) ReadField2

func (p *ZRemRangeByRankArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*ZRemRangeByRankArgs) ReadField3

func (p *ZRemRangeByRankArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*ZRemRangeByRankArgs) ReadField4

func (p *ZRemRangeByRankArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*ZRemRangeByRankArgs) String

func (p *ZRemRangeByRankArgs) String() string

func (*ZRemRangeByRankArgs) Write

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) Read

func (*ZRemRangeByRankResult) ReadField0

func (p *ZRemRangeByRankResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*ZRemRangeByRankResult) String

func (p *ZRemRangeByRankResult) String() string

func (*ZRemRangeByRankResult) Write

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) Read

func (*ZRemRangeByScoreArgs) ReadField1

func (p *ZRemRangeByScoreArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*ZRemRangeByScoreArgs) ReadField2

func (p *ZRemRangeByScoreArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*ZRemRangeByScoreArgs) ReadField3

func (p *ZRemRangeByScoreArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*ZRemRangeByScoreArgs) ReadField4

func (p *ZRemRangeByScoreArgs) ReadField4(ctx context.Context, tp thrift.TProtocol) error

func (*ZRemRangeByScoreArgs) String

func (p *ZRemRangeByScoreArgs) String() string

func (*ZRemRangeByScoreArgs) Write

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) Read

func (*ZRemRangeByScoreResult) ReadField0

func (*ZRemRangeByScoreResult) String

func (p *ZRemRangeByScoreResult) String() string

func (*ZRemRangeByScoreResult) Write

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) Read

func (p *ZRemResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*ZRemResult) ReadField0

func (p *ZRemResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*ZRemResult) String

func (p *ZRemResult) String() string

func (*ZRemResult) Write

func (p *ZRemResult) Write(ctx context.Context, tp thrift.TProtocol) error

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) GetCode

func (p *ZResponse) GetCode() int32

func (*ZResponse) GetMsg

func (p *ZResponse) GetMsg() string

func (*ZResponse) GetRes

func (p *ZResponse) GetRes() []*Z

func (*ZResponse) Read

func (p *ZResponse) Read(ctx context.Context, tp thrift.TProtocol) error

func (*ZResponse) ReadField1

func (p *ZResponse) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*ZResponse) ReadField2

func (p *ZResponse) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*ZResponse) ReadField3

func (p *ZResponse) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*ZResponse) String

func (p *ZResponse) String() string

func (*ZResponse) Write

func (p *ZResponse) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *ZScoreArgs) Read(ctx context.Context, tp thrift.TProtocol) error

func (*ZScoreArgs) ReadField1

func (p *ZScoreArgs) ReadField1(ctx context.Context, tp thrift.TProtocol) error

func (*ZScoreArgs) ReadField2

func (p *ZScoreArgs) ReadField2(ctx context.Context, tp thrift.TProtocol) error

func (*ZScoreArgs) ReadField3

func (p *ZScoreArgs) ReadField3(ctx context.Context, tp thrift.TProtocol) error

func (*ZScoreArgs) String

func (p *ZScoreArgs) String() string

func (*ZScoreArgs) Write

func (p *ZScoreArgs) Write(ctx context.Context, tp thrift.TProtocol) error

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) Read

func (p *ZScoreResult) Read(ctx context.Context, tp thrift.TProtocol) error

func (*ZScoreResult) ReadField0

func (p *ZScoreResult) ReadField0(ctx context.Context, tp thrift.TProtocol) error

func (*ZScoreResult) String

func (p *ZScoreResult) String() string

func (*ZScoreResult) Write

func (p *ZScoreResult) Write(ctx context.Context, tp thrift.TProtocol) error

Jump to

Keyboard shortcuts

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