lottery

package
v0.0.0-...-4cc9216 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetLotteryResponse_Gift_DEFAULT *base.Gift
View Source
var KitexUnusedProtection = struct{}{}

KitexUnusedProtection is used to prevent 'imported and not used' error.

View Source
var SetLotteryRequest_Gift_DEFAULT *base.Gift

Functions

This section is empty.

Types

type DrawLotteryRequest

type DrawLotteryRequest struct {
	Id int64 `thrift:"id,1" frugal:"1,default,i64" json:"id"`
}
var LotteryServiceDrawLotteryArgs_Req_DEFAULT *DrawLotteryRequest

func NewDrawLotteryRequest

func NewDrawLotteryRequest() *DrawLotteryRequest

func (*DrawLotteryRequest) BLength

func (p *DrawLotteryRequest) BLength() int

func (*DrawLotteryRequest) DeepEqual

func (p *DrawLotteryRequest) DeepEqual(ano *DrawLotteryRequest) bool

func (*DrawLotteryRequest) FastRead

func (p *DrawLotteryRequest) FastRead(buf []byte) (int, error)

func (*DrawLotteryRequest) FastReadField1

func (p *DrawLotteryRequest) FastReadField1(buf []byte) (int, error)

func (*DrawLotteryRequest) FastWrite

func (p *DrawLotteryRequest) FastWrite(buf []byte) int

for compatibility

func (*DrawLotteryRequest) FastWriteNocopy

func (p *DrawLotteryRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*DrawLotteryRequest) Field1DeepEqual

func (p *DrawLotteryRequest) Field1DeepEqual(src int64) bool

func (*DrawLotteryRequest) GetId

func (p *DrawLotteryRequest) GetId() (v int64)

func (*DrawLotteryRequest) InitDefault

func (p *DrawLotteryRequest) InitDefault()

func (*DrawLotteryRequest) Read

func (p *DrawLotteryRequest) Read(iprot thrift.TProtocol) (err error)

func (*DrawLotteryRequest) ReadField1

func (p *DrawLotteryRequest) ReadField1(iprot thrift.TProtocol) error

func (*DrawLotteryRequest) SetId

func (p *DrawLotteryRequest) SetId(val int64)

func (*DrawLotteryRequest) String

func (p *DrawLotteryRequest) String() string

func (*DrawLotteryRequest) Write

func (p *DrawLotteryRequest) Write(oprot thrift.TProtocol) (err error)

type DrawLotteryResponse

type DrawLotteryResponse struct {
	Msg string `thrift:"msg,1" frugal:"1,default,string" json:"msg"`
}
var LotteryServiceDrawLotteryResult_Success_DEFAULT *DrawLotteryResponse

func NewDrawLotteryResponse

func NewDrawLotteryResponse() *DrawLotteryResponse

func (*DrawLotteryResponse) BLength

func (p *DrawLotteryResponse) BLength() int

func (*DrawLotteryResponse) DeepEqual

func (p *DrawLotteryResponse) DeepEqual(ano *DrawLotteryResponse) bool

func (*DrawLotteryResponse) FastRead

func (p *DrawLotteryResponse) FastRead(buf []byte) (int, error)

func (*DrawLotteryResponse) FastReadField1

func (p *DrawLotteryResponse) FastReadField1(buf []byte) (int, error)

func (*DrawLotteryResponse) FastWrite

func (p *DrawLotteryResponse) FastWrite(buf []byte) int

for compatibility

func (*DrawLotteryResponse) FastWriteNocopy

func (p *DrawLotteryResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*DrawLotteryResponse) Field1DeepEqual

func (p *DrawLotteryResponse) Field1DeepEqual(src string) bool

func (*DrawLotteryResponse) GetMsg

func (p *DrawLotteryResponse) GetMsg() (v string)

func (*DrawLotteryResponse) InitDefault

func (p *DrawLotteryResponse) InitDefault()

func (*DrawLotteryResponse) Read

func (p *DrawLotteryResponse) Read(iprot thrift.TProtocol) (err error)

func (*DrawLotteryResponse) ReadField1

func (p *DrawLotteryResponse) ReadField1(iprot thrift.TProtocol) error

func (*DrawLotteryResponse) SetMsg

func (p *DrawLotteryResponse) SetMsg(val string)

func (*DrawLotteryResponse) String

func (p *DrawLotteryResponse) String() string

func (*DrawLotteryResponse) Write

func (p *DrawLotteryResponse) Write(oprot thrift.TProtocol) (err error)

type GetAllUnDrawLotteryResponse

type GetAllUnDrawLotteryResponse struct {
	Ids []int64 `thrift:"ids,1" frugal:"1,default,list<i64>" json:"ids"`
}
var LotteryServiceGetAllUnDrawLotteryResult_Success_DEFAULT *GetAllUnDrawLotteryResponse

func NewGetAllUnDrawLotteryResponse

func NewGetAllUnDrawLotteryResponse() *GetAllUnDrawLotteryResponse

func (*GetAllUnDrawLotteryResponse) BLength

func (p *GetAllUnDrawLotteryResponse) BLength() int

func (*GetAllUnDrawLotteryResponse) DeepEqual

func (*GetAllUnDrawLotteryResponse) FastRead

func (p *GetAllUnDrawLotteryResponse) FastRead(buf []byte) (int, error)

func (*GetAllUnDrawLotteryResponse) FastReadField1

func (p *GetAllUnDrawLotteryResponse) FastReadField1(buf []byte) (int, error)

func (*GetAllUnDrawLotteryResponse) FastWrite

func (p *GetAllUnDrawLotteryResponse) FastWrite(buf []byte) int

for compatibility

func (*GetAllUnDrawLotteryResponse) FastWriteNocopy

func (p *GetAllUnDrawLotteryResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetAllUnDrawLotteryResponse) Field1DeepEqual

func (p *GetAllUnDrawLotteryResponse) Field1DeepEqual(src []int64) bool

func (*GetAllUnDrawLotteryResponse) GetIds

func (p *GetAllUnDrawLotteryResponse) GetIds() (v []int64)

func (*GetAllUnDrawLotteryResponse) InitDefault

func (p *GetAllUnDrawLotteryResponse) InitDefault()

func (*GetAllUnDrawLotteryResponse) Read

func (p *GetAllUnDrawLotteryResponse) Read(iprot thrift.TProtocol) (err error)

func (*GetAllUnDrawLotteryResponse) ReadField1

func (p *GetAllUnDrawLotteryResponse) ReadField1(iprot thrift.TProtocol) error

func (*GetAllUnDrawLotteryResponse) SetIds

func (p *GetAllUnDrawLotteryResponse) SetIds(val []int64)

func (*GetAllUnDrawLotteryResponse) String

func (p *GetAllUnDrawLotteryResponse) String() string

func (*GetAllUnDrawLotteryResponse) Write

func (p *GetAllUnDrawLotteryResponse) Write(oprot thrift.TProtocol) (err error)

type GetLiveRoomLotteryRequest

type GetLiveRoomLotteryRequest struct {
	LiveId int64 `thrift:"live_id,1" frugal:"1,default,i64" json:"live_id"`
}
var LotteryServiceGetLiveRoomLotteryArgs_Req_DEFAULT *GetLiveRoomLotteryRequest

func NewGetLiveRoomLotteryRequest

func NewGetLiveRoomLotteryRequest() *GetLiveRoomLotteryRequest

func (*GetLiveRoomLotteryRequest) BLength

func (p *GetLiveRoomLotteryRequest) BLength() int

func (*GetLiveRoomLotteryRequest) DeepEqual

func (*GetLiveRoomLotteryRequest) FastRead

func (p *GetLiveRoomLotteryRequest) FastRead(buf []byte) (int, error)

func (*GetLiveRoomLotteryRequest) FastReadField1

func (p *GetLiveRoomLotteryRequest) FastReadField1(buf []byte) (int, error)

func (*GetLiveRoomLotteryRequest) FastWrite

func (p *GetLiveRoomLotteryRequest) FastWrite(buf []byte) int

for compatibility

func (*GetLiveRoomLotteryRequest) FastWriteNocopy

func (p *GetLiveRoomLotteryRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetLiveRoomLotteryRequest) Field1DeepEqual

func (p *GetLiveRoomLotteryRequest) Field1DeepEqual(src int64) bool

func (*GetLiveRoomLotteryRequest) GetLiveId

func (p *GetLiveRoomLotteryRequest) GetLiveId() (v int64)

func (*GetLiveRoomLotteryRequest) InitDefault

func (p *GetLiveRoomLotteryRequest) InitDefault()

func (*GetLiveRoomLotteryRequest) Read

func (p *GetLiveRoomLotteryRequest) Read(iprot thrift.TProtocol) (err error)

func (*GetLiveRoomLotteryRequest) ReadField1

func (p *GetLiveRoomLotteryRequest) ReadField1(iprot thrift.TProtocol) error

func (*GetLiveRoomLotteryRequest) SetLiveId

func (p *GetLiveRoomLotteryRequest) SetLiveId(val int64)

func (*GetLiveRoomLotteryRequest) String

func (p *GetLiveRoomLotteryRequest) String() string

func (*GetLiveRoomLotteryRequest) Write

func (p *GetLiveRoomLotteryRequest) Write(oprot thrift.TProtocol) (err error)

type GetLiveRoomLotteryResponse

type GetLiveRoomLotteryResponse struct {
	Gifts []*base.Gift `thrift:"gifts,2" frugal:"2,default,list<base.Gift>" json:"gifts"`
}
var LotteryServiceGetLiveRoomLotteryResult_Success_DEFAULT *GetLiveRoomLotteryResponse

func NewGetLiveRoomLotteryResponse

func NewGetLiveRoomLotteryResponse() *GetLiveRoomLotteryResponse

func (*GetLiveRoomLotteryResponse) BLength

func (p *GetLiveRoomLotteryResponse) BLength() int

func (*GetLiveRoomLotteryResponse) DeepEqual

func (*GetLiveRoomLotteryResponse) FastRead

func (p *GetLiveRoomLotteryResponse) FastRead(buf []byte) (int, error)

func (*GetLiveRoomLotteryResponse) FastReadField2

func (p *GetLiveRoomLotteryResponse) FastReadField2(buf []byte) (int, error)

func (*GetLiveRoomLotteryResponse) FastWrite

func (p *GetLiveRoomLotteryResponse) FastWrite(buf []byte) int

for compatibility

func (*GetLiveRoomLotteryResponse) FastWriteNocopy

func (p *GetLiveRoomLotteryResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetLiveRoomLotteryResponse) Field2DeepEqual

func (p *GetLiveRoomLotteryResponse) Field2DeepEqual(src []*base.Gift) bool

func (*GetLiveRoomLotteryResponse) GetGifts

func (p *GetLiveRoomLotteryResponse) GetGifts() (v []*base.Gift)

func (*GetLiveRoomLotteryResponse) InitDefault

func (p *GetLiveRoomLotteryResponse) InitDefault()

func (*GetLiveRoomLotteryResponse) Read

func (p *GetLiveRoomLotteryResponse) Read(iprot thrift.TProtocol) (err error)

func (*GetLiveRoomLotteryResponse) ReadField2

func (p *GetLiveRoomLotteryResponse) ReadField2(iprot thrift.TProtocol) error

func (*GetLiveRoomLotteryResponse) SetGifts

func (p *GetLiveRoomLotteryResponse) SetGifts(val []*base.Gift)

func (*GetLiveRoomLotteryResponse) String

func (p *GetLiveRoomLotteryResponse) String() string

func (*GetLiveRoomLotteryResponse) Write

func (p *GetLiveRoomLotteryResponse) Write(oprot thrift.TProtocol) (err error)

type GetLotteryRequest

type GetLotteryRequest struct {
	Id int64 `thrift:"id,1" frugal:"1,default,i64" json:"id"`
}
var LotteryServiceGetLotteryArgs_Req_DEFAULT *GetLotteryRequest

func NewGetLotteryRequest

func NewGetLotteryRequest() *GetLotteryRequest

func (*GetLotteryRequest) BLength

func (p *GetLotteryRequest) BLength() int

func (*GetLotteryRequest) DeepEqual

func (p *GetLotteryRequest) DeepEqual(ano *GetLotteryRequest) bool

func (*GetLotteryRequest) FastRead

func (p *GetLotteryRequest) FastRead(buf []byte) (int, error)

func (*GetLotteryRequest) FastReadField1

func (p *GetLotteryRequest) FastReadField1(buf []byte) (int, error)

func (*GetLotteryRequest) FastWrite

func (p *GetLotteryRequest) FastWrite(buf []byte) int

for compatibility

func (*GetLotteryRequest) FastWriteNocopy

func (p *GetLotteryRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetLotteryRequest) Field1DeepEqual

func (p *GetLotteryRequest) Field1DeepEqual(src int64) bool

func (*GetLotteryRequest) GetId

func (p *GetLotteryRequest) GetId() (v int64)

func (*GetLotteryRequest) InitDefault

func (p *GetLotteryRequest) InitDefault()

func (*GetLotteryRequest) Read

func (p *GetLotteryRequest) Read(iprot thrift.TProtocol) (err error)

func (*GetLotteryRequest) ReadField1

func (p *GetLotteryRequest) ReadField1(iprot thrift.TProtocol) error

func (*GetLotteryRequest) SetId

func (p *GetLotteryRequest) SetId(val int64)

func (*GetLotteryRequest) String

func (p *GetLotteryRequest) String() string

func (*GetLotteryRequest) Write

func (p *GetLotteryRequest) Write(oprot thrift.TProtocol) (err error)

type GetLotteryResponse

type GetLotteryResponse struct {
	Gift *base.Gift `thrift:"gift,1" frugal:"1,default,base.Gift" json:"gift"`
}
var LotteryServiceGetLotteryResult_Success_DEFAULT *GetLotteryResponse

func NewGetLotteryResponse

func NewGetLotteryResponse() *GetLotteryResponse

func (*GetLotteryResponse) BLength

func (p *GetLotteryResponse) BLength() int

func (*GetLotteryResponse) DeepEqual

func (p *GetLotteryResponse) DeepEqual(ano *GetLotteryResponse) bool

func (*GetLotteryResponse) FastRead

func (p *GetLotteryResponse) FastRead(buf []byte) (int, error)

func (*GetLotteryResponse) FastReadField1

func (p *GetLotteryResponse) FastReadField1(buf []byte) (int, error)

func (*GetLotteryResponse) FastWrite

func (p *GetLotteryResponse) FastWrite(buf []byte) int

for compatibility

func (*GetLotteryResponse) FastWriteNocopy

func (p *GetLotteryResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetLotteryResponse) Field1DeepEqual

func (p *GetLotteryResponse) Field1DeepEqual(src *base.Gift) bool

func (*GetLotteryResponse) GetGift

func (p *GetLotteryResponse) GetGift() (v *base.Gift)

func (*GetLotteryResponse) InitDefault

func (p *GetLotteryResponse) InitDefault()

func (*GetLotteryResponse) IsSetGift

func (p *GetLotteryResponse) IsSetGift() bool

func (*GetLotteryResponse) Read

func (p *GetLotteryResponse) Read(iprot thrift.TProtocol) (err error)

func (*GetLotteryResponse) ReadField1

func (p *GetLotteryResponse) ReadField1(iprot thrift.TProtocol) error

func (*GetLotteryResponse) SetGift

func (p *GetLotteryResponse) SetGift(val *base.Gift)

func (*GetLotteryResponse) String

func (p *GetLotteryResponse) String() string

func (*GetLotteryResponse) Write

func (p *GetLotteryResponse) Write(oprot thrift.TProtocol) (err error)

type JoinLotteryRequest

type JoinLotteryRequest struct {
	Id  int64 `thrift:"id,1" frugal:"1,default,i64" json:"id"`
	Uid int64 `thrift:"uid,2" frugal:"2,default,i64" json:"uid"`
}
var LotteryServiceJoinLotteryArgs_Req_DEFAULT *JoinLotteryRequest

func NewJoinLotteryRequest

func NewJoinLotteryRequest() *JoinLotteryRequest

func (*JoinLotteryRequest) BLength

func (p *JoinLotteryRequest) BLength() int

func (*JoinLotteryRequest) DeepEqual

func (p *JoinLotteryRequest) DeepEqual(ano *JoinLotteryRequest) bool

func (*JoinLotteryRequest) FastRead

func (p *JoinLotteryRequest) FastRead(buf []byte) (int, error)

func (*JoinLotteryRequest) FastReadField1

func (p *JoinLotteryRequest) FastReadField1(buf []byte) (int, error)

func (*JoinLotteryRequest) FastReadField2

func (p *JoinLotteryRequest) FastReadField2(buf []byte) (int, error)

func (*JoinLotteryRequest) FastWrite

func (p *JoinLotteryRequest) FastWrite(buf []byte) int

for compatibility

func (*JoinLotteryRequest) FastWriteNocopy

func (p *JoinLotteryRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*JoinLotteryRequest) Field1DeepEqual

func (p *JoinLotteryRequest) Field1DeepEqual(src int64) bool

func (*JoinLotteryRequest) Field2DeepEqual

func (p *JoinLotteryRequest) Field2DeepEqual(src int64) bool

func (*JoinLotteryRequest) GetId

func (p *JoinLotteryRequest) GetId() (v int64)

func (*JoinLotteryRequest) GetUid

func (p *JoinLotteryRequest) GetUid() (v int64)

func (*JoinLotteryRequest) InitDefault

func (p *JoinLotteryRequest) InitDefault()

func (*JoinLotteryRequest) Read

func (p *JoinLotteryRequest) Read(iprot thrift.TProtocol) (err error)

func (*JoinLotteryRequest) ReadField1

func (p *JoinLotteryRequest) ReadField1(iprot thrift.TProtocol) error

func (*JoinLotteryRequest) ReadField2

func (p *JoinLotteryRequest) ReadField2(iprot thrift.TProtocol) error

func (*JoinLotteryRequest) SetId

func (p *JoinLotteryRequest) SetId(val int64)

func (*JoinLotteryRequest) SetUid

func (p *JoinLotteryRequest) SetUid(val int64)

func (*JoinLotteryRequest) String

func (p *JoinLotteryRequest) String() string

func (*JoinLotteryRequest) Write

func (p *JoinLotteryRequest) Write(oprot thrift.TProtocol) (err error)

type JoinLotteryResponse

type JoinLotteryResponse struct {
	Success bool `thrift:"success,1" frugal:"1,default,bool" json:"success"`
}
var LotteryServiceJoinLotteryResult_Success_DEFAULT *JoinLotteryResponse

func NewJoinLotteryResponse

func NewJoinLotteryResponse() *JoinLotteryResponse

func (*JoinLotteryResponse) BLength

func (p *JoinLotteryResponse) BLength() int

func (*JoinLotteryResponse) DeepEqual

func (p *JoinLotteryResponse) DeepEqual(ano *JoinLotteryResponse) bool

func (*JoinLotteryResponse) FastRead

func (p *JoinLotteryResponse) FastRead(buf []byte) (int, error)

func (*JoinLotteryResponse) FastReadField1

func (p *JoinLotteryResponse) FastReadField1(buf []byte) (int, error)

func (*JoinLotteryResponse) FastWrite

func (p *JoinLotteryResponse) FastWrite(buf []byte) int

for compatibility

func (*JoinLotteryResponse) FastWriteNocopy

func (p *JoinLotteryResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*JoinLotteryResponse) Field1DeepEqual

func (p *JoinLotteryResponse) Field1DeepEqual(src bool) bool

func (*JoinLotteryResponse) GetSuccess

func (p *JoinLotteryResponse) GetSuccess() (v bool)

func (*JoinLotteryResponse) InitDefault

func (p *JoinLotteryResponse) InitDefault()

func (*JoinLotteryResponse) Read

func (p *JoinLotteryResponse) Read(iprot thrift.TProtocol) (err error)

func (*JoinLotteryResponse) ReadField1

func (p *JoinLotteryResponse) ReadField1(iprot thrift.TProtocol) error

func (*JoinLotteryResponse) SetSuccess

func (p *JoinLotteryResponse) SetSuccess(val bool)

func (*JoinLotteryResponse) String

func (p *JoinLotteryResponse) String() string

func (*JoinLotteryResponse) Write

func (p *JoinLotteryResponse) Write(oprot thrift.TProtocol) (err error)

type LotteryService

type LotteryService interface {
	SetLottery(ctx context.Context, req *SetLotteryRequest) (r *SetLotteryResponse, err error)

	GetLottery(ctx context.Context, req *GetLotteryRequest) (r *GetLotteryResponse, err error)

	JoinLottery(ctx context.Context, req *JoinLotteryRequest) (r *JoinLotteryResponse, err error)

	GetLiveRoomLottery(ctx context.Context, req *GetLiveRoomLotteryRequest) (r *GetLiveRoomLotteryResponse, err error)

	DrawLottery(ctx context.Context, req *DrawLotteryRequest) (r *DrawLotteryResponse, err error)

	GetAllUnDrawLottery(ctx context.Context) (r *GetAllUnDrawLotteryResponse, err error)
}

type LotteryServiceClient

type LotteryServiceClient struct {
	// contains filtered or unexported fields
}

func NewLotteryServiceClient

func NewLotteryServiceClient(c thrift.TClient) *LotteryServiceClient

func NewLotteryServiceClientProtocol

func NewLotteryServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *LotteryServiceClient

func (*LotteryServiceClient) Client_

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

func (*LotteryServiceClient) DrawLottery

func (*LotteryServiceClient) GetAllUnDrawLottery

func (p *LotteryServiceClient) GetAllUnDrawLottery(ctx context.Context) (r *GetAllUnDrawLotteryResponse, err error)

func (*LotteryServiceClient) GetLiveRoomLottery

func (*LotteryServiceClient) GetLottery

func (*LotteryServiceClient) JoinLottery

func (*LotteryServiceClient) SetLottery

type LotteryServiceDrawLotteryArgs

type LotteryServiceDrawLotteryArgs struct {
	Req *DrawLotteryRequest `thrift:"req,1" frugal:"1,default,DrawLotteryRequest" json:"req"`
}

func NewLotteryServiceDrawLotteryArgs

func NewLotteryServiceDrawLotteryArgs() *LotteryServiceDrawLotteryArgs

func (*LotteryServiceDrawLotteryArgs) BLength

func (p *LotteryServiceDrawLotteryArgs) BLength() int

func (*LotteryServiceDrawLotteryArgs) DeepEqual

func (*LotteryServiceDrawLotteryArgs) FastRead

func (p *LotteryServiceDrawLotteryArgs) FastRead(buf []byte) (int, error)

func (*LotteryServiceDrawLotteryArgs) FastReadField1

func (p *LotteryServiceDrawLotteryArgs) FastReadField1(buf []byte) (int, error)

func (*LotteryServiceDrawLotteryArgs) FastWrite

func (p *LotteryServiceDrawLotteryArgs) FastWrite(buf []byte) int

for compatibility

func (*LotteryServiceDrawLotteryArgs) FastWriteNocopy

func (p *LotteryServiceDrawLotteryArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*LotteryServiceDrawLotteryArgs) Field1DeepEqual

func (p *LotteryServiceDrawLotteryArgs) Field1DeepEqual(src *DrawLotteryRequest) bool

func (*LotteryServiceDrawLotteryArgs) GetFirstArgument

func (p *LotteryServiceDrawLotteryArgs) GetFirstArgument() interface{}

func (*LotteryServiceDrawLotteryArgs) GetReq

func (*LotteryServiceDrawLotteryArgs) InitDefault

func (p *LotteryServiceDrawLotteryArgs) InitDefault()

func (*LotteryServiceDrawLotteryArgs) IsSetReq

func (p *LotteryServiceDrawLotteryArgs) IsSetReq() bool

func (*LotteryServiceDrawLotteryArgs) Read

func (p *LotteryServiceDrawLotteryArgs) Read(iprot thrift.TProtocol) (err error)

func (*LotteryServiceDrawLotteryArgs) ReadField1

func (p *LotteryServiceDrawLotteryArgs) ReadField1(iprot thrift.TProtocol) error

func (*LotteryServiceDrawLotteryArgs) SetReq

func (*LotteryServiceDrawLotteryArgs) String

func (*LotteryServiceDrawLotteryArgs) Write

func (p *LotteryServiceDrawLotteryArgs) Write(oprot thrift.TProtocol) (err error)

type LotteryServiceDrawLotteryResult

type LotteryServiceDrawLotteryResult struct {
	Success *DrawLotteryResponse `thrift:"success,0,optional" frugal:"0,optional,DrawLotteryResponse" json:"success,omitempty"`
}

func NewLotteryServiceDrawLotteryResult

func NewLotteryServiceDrawLotteryResult() *LotteryServiceDrawLotteryResult

func (*LotteryServiceDrawLotteryResult) BLength

func (p *LotteryServiceDrawLotteryResult) BLength() int

func (*LotteryServiceDrawLotteryResult) DeepEqual

func (*LotteryServiceDrawLotteryResult) FastRead

func (p *LotteryServiceDrawLotteryResult) FastRead(buf []byte) (int, error)

func (*LotteryServiceDrawLotteryResult) FastReadField0

func (p *LotteryServiceDrawLotteryResult) FastReadField0(buf []byte) (int, error)

func (*LotteryServiceDrawLotteryResult) FastWrite

func (p *LotteryServiceDrawLotteryResult) FastWrite(buf []byte) int

for compatibility

func (*LotteryServiceDrawLotteryResult) FastWriteNocopy

func (p *LotteryServiceDrawLotteryResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*LotteryServiceDrawLotteryResult) Field0DeepEqual

func (p *LotteryServiceDrawLotteryResult) Field0DeepEqual(src *DrawLotteryResponse) bool

func (*LotteryServiceDrawLotteryResult) GetResult

func (p *LotteryServiceDrawLotteryResult) GetResult() interface{}

func (*LotteryServiceDrawLotteryResult) GetSuccess

func (*LotteryServiceDrawLotteryResult) InitDefault

func (p *LotteryServiceDrawLotteryResult) InitDefault()

func (*LotteryServiceDrawLotteryResult) IsSetSuccess

func (p *LotteryServiceDrawLotteryResult) IsSetSuccess() bool

func (*LotteryServiceDrawLotteryResult) Read

func (*LotteryServiceDrawLotteryResult) ReadField0

func (*LotteryServiceDrawLotteryResult) SetSuccess

func (p *LotteryServiceDrawLotteryResult) SetSuccess(x interface{})

func (*LotteryServiceDrawLotteryResult) String

func (*LotteryServiceDrawLotteryResult) Write

func (p *LotteryServiceDrawLotteryResult) Write(oprot thrift.TProtocol) (err error)

type LotteryServiceGetAllUnDrawLotteryArgs

type LotteryServiceGetAllUnDrawLotteryArgs struct {
}

func NewLotteryServiceGetAllUnDrawLotteryArgs

func NewLotteryServiceGetAllUnDrawLotteryArgs() *LotteryServiceGetAllUnDrawLotteryArgs

func (*LotteryServiceGetAllUnDrawLotteryArgs) BLength

func (*LotteryServiceGetAllUnDrawLotteryArgs) DeepEqual

func (*LotteryServiceGetAllUnDrawLotteryArgs) FastRead

func (p *LotteryServiceGetAllUnDrawLotteryArgs) FastRead(buf []byte) (int, error)

func (*LotteryServiceGetAllUnDrawLotteryArgs) FastWrite

func (p *LotteryServiceGetAllUnDrawLotteryArgs) FastWrite(buf []byte) int

for compatibility

func (*LotteryServiceGetAllUnDrawLotteryArgs) FastWriteNocopy

func (p *LotteryServiceGetAllUnDrawLotteryArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*LotteryServiceGetAllUnDrawLotteryArgs) GetFirstArgument

func (p *LotteryServiceGetAllUnDrawLotteryArgs) GetFirstArgument() interface{}

func (*LotteryServiceGetAllUnDrawLotteryArgs) InitDefault

func (p *LotteryServiceGetAllUnDrawLotteryArgs) InitDefault()

func (*LotteryServiceGetAllUnDrawLotteryArgs) Read

func (*LotteryServiceGetAllUnDrawLotteryArgs) String

func (*LotteryServiceGetAllUnDrawLotteryArgs) Write

type LotteryServiceGetAllUnDrawLotteryResult

type LotteryServiceGetAllUnDrawLotteryResult struct {
	Success *GetAllUnDrawLotteryResponse `thrift:"success,0,optional" frugal:"0,optional,GetAllUnDrawLotteryResponse" json:"success,omitempty"`
}

func NewLotteryServiceGetAllUnDrawLotteryResult

func NewLotteryServiceGetAllUnDrawLotteryResult() *LotteryServiceGetAllUnDrawLotteryResult

func (*LotteryServiceGetAllUnDrawLotteryResult) BLength

func (*LotteryServiceGetAllUnDrawLotteryResult) DeepEqual

func (*LotteryServiceGetAllUnDrawLotteryResult) FastRead

func (p *LotteryServiceGetAllUnDrawLotteryResult) FastRead(buf []byte) (int, error)

func (*LotteryServiceGetAllUnDrawLotteryResult) FastReadField0

func (p *LotteryServiceGetAllUnDrawLotteryResult) FastReadField0(buf []byte) (int, error)

func (*LotteryServiceGetAllUnDrawLotteryResult) FastWrite

func (p *LotteryServiceGetAllUnDrawLotteryResult) FastWrite(buf []byte) int

for compatibility

func (*LotteryServiceGetAllUnDrawLotteryResult) FastWriteNocopy

func (p *LotteryServiceGetAllUnDrawLotteryResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*LotteryServiceGetAllUnDrawLotteryResult) Field0DeepEqual

func (*LotteryServiceGetAllUnDrawLotteryResult) GetResult

func (p *LotteryServiceGetAllUnDrawLotteryResult) GetResult() interface{}

func (*LotteryServiceGetAllUnDrawLotteryResult) GetSuccess

func (*LotteryServiceGetAllUnDrawLotteryResult) InitDefault

func (p *LotteryServiceGetAllUnDrawLotteryResult) InitDefault()

func (*LotteryServiceGetAllUnDrawLotteryResult) IsSetSuccess

func (*LotteryServiceGetAllUnDrawLotteryResult) Read

func (*LotteryServiceGetAllUnDrawLotteryResult) ReadField0

func (*LotteryServiceGetAllUnDrawLotteryResult) SetSuccess

func (p *LotteryServiceGetAllUnDrawLotteryResult) SetSuccess(x interface{})

func (*LotteryServiceGetAllUnDrawLotteryResult) String

func (*LotteryServiceGetAllUnDrawLotteryResult) Write

type LotteryServiceGetLiveRoomLotteryArgs

type LotteryServiceGetLiveRoomLotteryArgs struct {
	Req *GetLiveRoomLotteryRequest `thrift:"req,1" frugal:"1,default,GetLiveRoomLotteryRequest" json:"req"`
}

func NewLotteryServiceGetLiveRoomLotteryArgs

func NewLotteryServiceGetLiveRoomLotteryArgs() *LotteryServiceGetLiveRoomLotteryArgs

func (*LotteryServiceGetLiveRoomLotteryArgs) BLength

func (*LotteryServiceGetLiveRoomLotteryArgs) DeepEqual

func (*LotteryServiceGetLiveRoomLotteryArgs) FastRead

func (p *LotteryServiceGetLiveRoomLotteryArgs) FastRead(buf []byte) (int, error)

func (*LotteryServiceGetLiveRoomLotteryArgs) FastReadField1

func (p *LotteryServiceGetLiveRoomLotteryArgs) FastReadField1(buf []byte) (int, error)

func (*LotteryServiceGetLiveRoomLotteryArgs) FastWrite

func (p *LotteryServiceGetLiveRoomLotteryArgs) FastWrite(buf []byte) int

for compatibility

func (*LotteryServiceGetLiveRoomLotteryArgs) FastWriteNocopy

func (p *LotteryServiceGetLiveRoomLotteryArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*LotteryServiceGetLiveRoomLotteryArgs) Field1DeepEqual

func (*LotteryServiceGetLiveRoomLotteryArgs) GetFirstArgument

func (p *LotteryServiceGetLiveRoomLotteryArgs) GetFirstArgument() interface{}

func (*LotteryServiceGetLiveRoomLotteryArgs) GetReq

func (*LotteryServiceGetLiveRoomLotteryArgs) InitDefault

func (p *LotteryServiceGetLiveRoomLotteryArgs) InitDefault()

func (*LotteryServiceGetLiveRoomLotteryArgs) IsSetReq

func (*LotteryServiceGetLiveRoomLotteryArgs) Read

func (*LotteryServiceGetLiveRoomLotteryArgs) ReadField1

func (*LotteryServiceGetLiveRoomLotteryArgs) SetReq

func (*LotteryServiceGetLiveRoomLotteryArgs) String

func (*LotteryServiceGetLiveRoomLotteryArgs) Write

type LotteryServiceGetLiveRoomLotteryResult

type LotteryServiceGetLiveRoomLotteryResult struct {
	Success *GetLiveRoomLotteryResponse `thrift:"success,0,optional" frugal:"0,optional,GetLiveRoomLotteryResponse" json:"success,omitempty"`
}

func NewLotteryServiceGetLiveRoomLotteryResult

func NewLotteryServiceGetLiveRoomLotteryResult() *LotteryServiceGetLiveRoomLotteryResult

func (*LotteryServiceGetLiveRoomLotteryResult) BLength

func (*LotteryServiceGetLiveRoomLotteryResult) DeepEqual

func (*LotteryServiceGetLiveRoomLotteryResult) FastRead

func (p *LotteryServiceGetLiveRoomLotteryResult) FastRead(buf []byte) (int, error)

func (*LotteryServiceGetLiveRoomLotteryResult) FastReadField0

func (p *LotteryServiceGetLiveRoomLotteryResult) FastReadField0(buf []byte) (int, error)

func (*LotteryServiceGetLiveRoomLotteryResult) FastWrite

func (p *LotteryServiceGetLiveRoomLotteryResult) FastWrite(buf []byte) int

for compatibility

func (*LotteryServiceGetLiveRoomLotteryResult) FastWriteNocopy

func (p *LotteryServiceGetLiveRoomLotteryResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*LotteryServiceGetLiveRoomLotteryResult) Field0DeepEqual

func (*LotteryServiceGetLiveRoomLotteryResult) GetResult

func (p *LotteryServiceGetLiveRoomLotteryResult) GetResult() interface{}

func (*LotteryServiceGetLiveRoomLotteryResult) GetSuccess

func (*LotteryServiceGetLiveRoomLotteryResult) InitDefault

func (p *LotteryServiceGetLiveRoomLotteryResult) InitDefault()

func (*LotteryServiceGetLiveRoomLotteryResult) IsSetSuccess

func (p *LotteryServiceGetLiveRoomLotteryResult) IsSetSuccess() bool

func (*LotteryServiceGetLiveRoomLotteryResult) Read

func (*LotteryServiceGetLiveRoomLotteryResult) ReadField0

func (*LotteryServiceGetLiveRoomLotteryResult) SetSuccess

func (p *LotteryServiceGetLiveRoomLotteryResult) SetSuccess(x interface{})

func (*LotteryServiceGetLiveRoomLotteryResult) String

func (*LotteryServiceGetLiveRoomLotteryResult) Write

type LotteryServiceGetLotteryArgs

type LotteryServiceGetLotteryArgs struct {
	Req *GetLotteryRequest `thrift:"req,1" frugal:"1,default,GetLotteryRequest" json:"req"`
}

func NewLotteryServiceGetLotteryArgs

func NewLotteryServiceGetLotteryArgs() *LotteryServiceGetLotteryArgs

func (*LotteryServiceGetLotteryArgs) BLength

func (p *LotteryServiceGetLotteryArgs) BLength() int

func (*LotteryServiceGetLotteryArgs) DeepEqual

func (*LotteryServiceGetLotteryArgs) FastRead

func (p *LotteryServiceGetLotteryArgs) FastRead(buf []byte) (int, error)

func (*LotteryServiceGetLotteryArgs) FastReadField1

func (p *LotteryServiceGetLotteryArgs) FastReadField1(buf []byte) (int, error)

func (*LotteryServiceGetLotteryArgs) FastWrite

func (p *LotteryServiceGetLotteryArgs) FastWrite(buf []byte) int

for compatibility

func (*LotteryServiceGetLotteryArgs) FastWriteNocopy

func (p *LotteryServiceGetLotteryArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*LotteryServiceGetLotteryArgs) Field1DeepEqual

func (p *LotteryServiceGetLotteryArgs) Field1DeepEqual(src *GetLotteryRequest) bool

func (*LotteryServiceGetLotteryArgs) GetFirstArgument

func (p *LotteryServiceGetLotteryArgs) GetFirstArgument() interface{}

func (*LotteryServiceGetLotteryArgs) GetReq

func (*LotteryServiceGetLotteryArgs) InitDefault

func (p *LotteryServiceGetLotteryArgs) InitDefault()

func (*LotteryServiceGetLotteryArgs) IsSetReq

func (p *LotteryServiceGetLotteryArgs) IsSetReq() bool

func (*LotteryServiceGetLotteryArgs) Read

func (p *LotteryServiceGetLotteryArgs) Read(iprot thrift.TProtocol) (err error)

func (*LotteryServiceGetLotteryArgs) ReadField1

func (p *LotteryServiceGetLotteryArgs) ReadField1(iprot thrift.TProtocol) error

func (*LotteryServiceGetLotteryArgs) SetReq

func (*LotteryServiceGetLotteryArgs) String

func (*LotteryServiceGetLotteryArgs) Write

func (p *LotteryServiceGetLotteryArgs) Write(oprot thrift.TProtocol) (err error)

type LotteryServiceGetLotteryResult

type LotteryServiceGetLotteryResult struct {
	Success *GetLotteryResponse `thrift:"success,0,optional" frugal:"0,optional,GetLotteryResponse" json:"success,omitempty"`
}

func NewLotteryServiceGetLotteryResult

func NewLotteryServiceGetLotteryResult() *LotteryServiceGetLotteryResult

func (*LotteryServiceGetLotteryResult) BLength

func (p *LotteryServiceGetLotteryResult) BLength() int

func (*LotteryServiceGetLotteryResult) DeepEqual

func (*LotteryServiceGetLotteryResult) FastRead

func (p *LotteryServiceGetLotteryResult) FastRead(buf []byte) (int, error)

func (*LotteryServiceGetLotteryResult) FastReadField0

func (p *LotteryServiceGetLotteryResult) FastReadField0(buf []byte) (int, error)

func (*LotteryServiceGetLotteryResult) FastWrite

func (p *LotteryServiceGetLotteryResult) FastWrite(buf []byte) int

for compatibility

func (*LotteryServiceGetLotteryResult) FastWriteNocopy

func (p *LotteryServiceGetLotteryResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*LotteryServiceGetLotteryResult) Field0DeepEqual

func (p *LotteryServiceGetLotteryResult) Field0DeepEqual(src *GetLotteryResponse) bool

func (*LotteryServiceGetLotteryResult) GetResult

func (p *LotteryServiceGetLotteryResult) GetResult() interface{}

func (*LotteryServiceGetLotteryResult) GetSuccess

func (*LotteryServiceGetLotteryResult) InitDefault

func (p *LotteryServiceGetLotteryResult) InitDefault()

func (*LotteryServiceGetLotteryResult) IsSetSuccess

func (p *LotteryServiceGetLotteryResult) IsSetSuccess() bool

func (*LotteryServiceGetLotteryResult) Read

func (*LotteryServiceGetLotteryResult) ReadField0

func (*LotteryServiceGetLotteryResult) SetSuccess

func (p *LotteryServiceGetLotteryResult) SetSuccess(x interface{})

func (*LotteryServiceGetLotteryResult) String

func (*LotteryServiceGetLotteryResult) Write

func (p *LotteryServiceGetLotteryResult) Write(oprot thrift.TProtocol) (err error)

type LotteryServiceJoinLotteryArgs

type LotteryServiceJoinLotteryArgs struct {
	Req *JoinLotteryRequest `thrift:"req,1" frugal:"1,default,JoinLotteryRequest" json:"req"`
}

func NewLotteryServiceJoinLotteryArgs

func NewLotteryServiceJoinLotteryArgs() *LotteryServiceJoinLotteryArgs

func (*LotteryServiceJoinLotteryArgs) BLength

func (p *LotteryServiceJoinLotteryArgs) BLength() int

func (*LotteryServiceJoinLotteryArgs) DeepEqual

func (*LotteryServiceJoinLotteryArgs) FastRead

func (p *LotteryServiceJoinLotteryArgs) FastRead(buf []byte) (int, error)

func (*LotteryServiceJoinLotteryArgs) FastReadField1

func (p *LotteryServiceJoinLotteryArgs) FastReadField1(buf []byte) (int, error)

func (*LotteryServiceJoinLotteryArgs) FastWrite

func (p *LotteryServiceJoinLotteryArgs) FastWrite(buf []byte) int

for compatibility

func (*LotteryServiceJoinLotteryArgs) FastWriteNocopy

func (p *LotteryServiceJoinLotteryArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*LotteryServiceJoinLotteryArgs) Field1DeepEqual

func (p *LotteryServiceJoinLotteryArgs) Field1DeepEqual(src *JoinLotteryRequest) bool

func (*LotteryServiceJoinLotteryArgs) GetFirstArgument

func (p *LotteryServiceJoinLotteryArgs) GetFirstArgument() interface{}

func (*LotteryServiceJoinLotteryArgs) GetReq

func (*LotteryServiceJoinLotteryArgs) InitDefault

func (p *LotteryServiceJoinLotteryArgs) InitDefault()

func (*LotteryServiceJoinLotteryArgs) IsSetReq

func (p *LotteryServiceJoinLotteryArgs) IsSetReq() bool

func (*LotteryServiceJoinLotteryArgs) Read

func (p *LotteryServiceJoinLotteryArgs) Read(iprot thrift.TProtocol) (err error)

func (*LotteryServiceJoinLotteryArgs) ReadField1

func (p *LotteryServiceJoinLotteryArgs) ReadField1(iprot thrift.TProtocol) error

func (*LotteryServiceJoinLotteryArgs) SetReq

func (*LotteryServiceJoinLotteryArgs) String

func (*LotteryServiceJoinLotteryArgs) Write

func (p *LotteryServiceJoinLotteryArgs) Write(oprot thrift.TProtocol) (err error)

type LotteryServiceJoinLotteryResult

type LotteryServiceJoinLotteryResult struct {
	Success *JoinLotteryResponse `thrift:"success,0,optional" frugal:"0,optional,JoinLotteryResponse" json:"success,omitempty"`
}

func NewLotteryServiceJoinLotteryResult

func NewLotteryServiceJoinLotteryResult() *LotteryServiceJoinLotteryResult

func (*LotteryServiceJoinLotteryResult) BLength

func (p *LotteryServiceJoinLotteryResult) BLength() int

func (*LotteryServiceJoinLotteryResult) DeepEqual

func (*LotteryServiceJoinLotteryResult) FastRead

func (p *LotteryServiceJoinLotteryResult) FastRead(buf []byte) (int, error)

func (*LotteryServiceJoinLotteryResult) FastReadField0

func (p *LotteryServiceJoinLotteryResult) FastReadField0(buf []byte) (int, error)

func (*LotteryServiceJoinLotteryResult) FastWrite

func (p *LotteryServiceJoinLotteryResult) FastWrite(buf []byte) int

for compatibility

func (*LotteryServiceJoinLotteryResult) FastWriteNocopy

func (p *LotteryServiceJoinLotteryResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*LotteryServiceJoinLotteryResult) Field0DeepEqual

func (p *LotteryServiceJoinLotteryResult) Field0DeepEqual(src *JoinLotteryResponse) bool

func (*LotteryServiceJoinLotteryResult) GetResult

func (p *LotteryServiceJoinLotteryResult) GetResult() interface{}

func (*LotteryServiceJoinLotteryResult) GetSuccess

func (*LotteryServiceJoinLotteryResult) InitDefault

func (p *LotteryServiceJoinLotteryResult) InitDefault()

func (*LotteryServiceJoinLotteryResult) IsSetSuccess

func (p *LotteryServiceJoinLotteryResult) IsSetSuccess() bool

func (*LotteryServiceJoinLotteryResult) Read

func (*LotteryServiceJoinLotteryResult) ReadField0

func (*LotteryServiceJoinLotteryResult) SetSuccess

func (p *LotteryServiceJoinLotteryResult) SetSuccess(x interface{})

func (*LotteryServiceJoinLotteryResult) String

func (*LotteryServiceJoinLotteryResult) Write

func (p *LotteryServiceJoinLotteryResult) Write(oprot thrift.TProtocol) (err error)

type LotteryServiceProcessor

type LotteryServiceProcessor struct {
	// contains filtered or unexported fields
}

func NewLotteryServiceProcessor

func NewLotteryServiceProcessor(handler LotteryService) *LotteryServiceProcessor

func (*LotteryServiceProcessor) AddToProcessorMap

func (p *LotteryServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*LotteryServiceProcessor) GetProcessorFunction

func (p *LotteryServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*LotteryServiceProcessor) Process

func (p *LotteryServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*LotteryServiceProcessor) ProcessorMap

type LotteryServiceSetLotteryArgs

type LotteryServiceSetLotteryArgs struct {
	Req *SetLotteryRequest `thrift:"req,1" frugal:"1,default,SetLotteryRequest" json:"req"`
}

func NewLotteryServiceSetLotteryArgs

func NewLotteryServiceSetLotteryArgs() *LotteryServiceSetLotteryArgs

func (*LotteryServiceSetLotteryArgs) BLength

func (p *LotteryServiceSetLotteryArgs) BLength() int

func (*LotteryServiceSetLotteryArgs) DeepEqual

func (*LotteryServiceSetLotteryArgs) FastRead

func (p *LotteryServiceSetLotteryArgs) FastRead(buf []byte) (int, error)

func (*LotteryServiceSetLotteryArgs) FastReadField1

func (p *LotteryServiceSetLotteryArgs) FastReadField1(buf []byte) (int, error)

func (*LotteryServiceSetLotteryArgs) FastWrite

func (p *LotteryServiceSetLotteryArgs) FastWrite(buf []byte) int

for compatibility

func (*LotteryServiceSetLotteryArgs) FastWriteNocopy

func (p *LotteryServiceSetLotteryArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*LotteryServiceSetLotteryArgs) Field1DeepEqual

func (p *LotteryServiceSetLotteryArgs) Field1DeepEqual(src *SetLotteryRequest) bool

func (*LotteryServiceSetLotteryArgs) GetFirstArgument

func (p *LotteryServiceSetLotteryArgs) GetFirstArgument() interface{}

func (*LotteryServiceSetLotteryArgs) GetReq

func (*LotteryServiceSetLotteryArgs) InitDefault

func (p *LotteryServiceSetLotteryArgs) InitDefault()

func (*LotteryServiceSetLotteryArgs) IsSetReq

func (p *LotteryServiceSetLotteryArgs) IsSetReq() bool

func (*LotteryServiceSetLotteryArgs) Read

func (p *LotteryServiceSetLotteryArgs) Read(iprot thrift.TProtocol) (err error)

func (*LotteryServiceSetLotteryArgs) ReadField1

func (p *LotteryServiceSetLotteryArgs) ReadField1(iprot thrift.TProtocol) error

func (*LotteryServiceSetLotteryArgs) SetReq

func (*LotteryServiceSetLotteryArgs) String

func (*LotteryServiceSetLotteryArgs) Write

func (p *LotteryServiceSetLotteryArgs) Write(oprot thrift.TProtocol) (err error)

type LotteryServiceSetLotteryResult

type LotteryServiceSetLotteryResult struct {
	Success *SetLotteryResponse `thrift:"success,0,optional" frugal:"0,optional,SetLotteryResponse" json:"success,omitempty"`
}

func NewLotteryServiceSetLotteryResult

func NewLotteryServiceSetLotteryResult() *LotteryServiceSetLotteryResult

func (*LotteryServiceSetLotteryResult) BLength

func (p *LotteryServiceSetLotteryResult) BLength() int

func (*LotteryServiceSetLotteryResult) DeepEqual

func (*LotteryServiceSetLotteryResult) FastRead

func (p *LotteryServiceSetLotteryResult) FastRead(buf []byte) (int, error)

func (*LotteryServiceSetLotteryResult) FastReadField0

func (p *LotteryServiceSetLotteryResult) FastReadField0(buf []byte) (int, error)

func (*LotteryServiceSetLotteryResult) FastWrite

func (p *LotteryServiceSetLotteryResult) FastWrite(buf []byte) int

for compatibility

func (*LotteryServiceSetLotteryResult) FastWriteNocopy

func (p *LotteryServiceSetLotteryResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*LotteryServiceSetLotteryResult) Field0DeepEqual

func (p *LotteryServiceSetLotteryResult) Field0DeepEqual(src *SetLotteryResponse) bool

func (*LotteryServiceSetLotteryResult) GetResult

func (p *LotteryServiceSetLotteryResult) GetResult() interface{}

func (*LotteryServiceSetLotteryResult) GetSuccess

func (*LotteryServiceSetLotteryResult) InitDefault

func (p *LotteryServiceSetLotteryResult) InitDefault()

func (*LotteryServiceSetLotteryResult) IsSetSuccess

func (p *LotteryServiceSetLotteryResult) IsSetSuccess() bool

func (*LotteryServiceSetLotteryResult) Read

func (*LotteryServiceSetLotteryResult) ReadField0

func (*LotteryServiceSetLotteryResult) SetSuccess

func (p *LotteryServiceSetLotteryResult) SetSuccess(x interface{})

func (*LotteryServiceSetLotteryResult) String

func (*LotteryServiceSetLotteryResult) Write

func (p *LotteryServiceSetLotteryResult) Write(oprot thrift.TProtocol) (err error)

type SetLotteryRequest

type SetLotteryRequest struct {
	Gift     *base.Gift `thrift:"gift,1" frugal:"1,default,base.Gift" json:"gift"`
	LiveTime int64      `thrift:"live_time,2" frugal:"2,default,i64" json:"live_time"`
}
var LotteryServiceSetLotteryArgs_Req_DEFAULT *SetLotteryRequest

func NewSetLotteryRequest

func NewSetLotteryRequest() *SetLotteryRequest

func (*SetLotteryRequest) BLength

func (p *SetLotteryRequest) BLength() int

func (*SetLotteryRequest) DeepEqual

func (p *SetLotteryRequest) DeepEqual(ano *SetLotteryRequest) bool

func (*SetLotteryRequest) FastRead

func (p *SetLotteryRequest) FastRead(buf []byte) (int, error)

func (*SetLotteryRequest) FastReadField1

func (p *SetLotteryRequest) FastReadField1(buf []byte) (int, error)

func (*SetLotteryRequest) FastReadField2

func (p *SetLotteryRequest) FastReadField2(buf []byte) (int, error)

func (*SetLotteryRequest) FastWrite

func (p *SetLotteryRequest) FastWrite(buf []byte) int

for compatibility

func (*SetLotteryRequest) FastWriteNocopy

func (p *SetLotteryRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*SetLotteryRequest) Field1DeepEqual

func (p *SetLotteryRequest) Field1DeepEqual(src *base.Gift) bool

func (*SetLotteryRequest) Field2DeepEqual

func (p *SetLotteryRequest) Field2DeepEqual(src int64) bool

func (*SetLotteryRequest) GetGift

func (p *SetLotteryRequest) GetGift() (v *base.Gift)

func (*SetLotteryRequest) GetLiveTime

func (p *SetLotteryRequest) GetLiveTime() (v int64)

func (*SetLotteryRequest) InitDefault

func (p *SetLotteryRequest) InitDefault()

func (*SetLotteryRequest) IsSetGift

func (p *SetLotteryRequest) IsSetGift() bool

func (*SetLotteryRequest) Read

func (p *SetLotteryRequest) Read(iprot thrift.TProtocol) (err error)

func (*SetLotteryRequest) ReadField1

func (p *SetLotteryRequest) ReadField1(iprot thrift.TProtocol) error

func (*SetLotteryRequest) ReadField2

func (p *SetLotteryRequest) ReadField2(iprot thrift.TProtocol) error

func (*SetLotteryRequest) SetGift

func (p *SetLotteryRequest) SetGift(val *base.Gift)

func (*SetLotteryRequest) SetLiveTime

func (p *SetLotteryRequest) SetLiveTime(val int64)

func (*SetLotteryRequest) String

func (p *SetLotteryRequest) String() string

func (*SetLotteryRequest) Write

func (p *SetLotteryRequest) Write(oprot thrift.TProtocol) (err error)

type SetLotteryResponse

type SetLotteryResponse struct {
	Id int64 `thrift:"id,1" frugal:"1,default,i64" json:"id"`
}
var LotteryServiceSetLotteryResult_Success_DEFAULT *SetLotteryResponse

func NewSetLotteryResponse

func NewSetLotteryResponse() *SetLotteryResponse

func (*SetLotteryResponse) BLength

func (p *SetLotteryResponse) BLength() int

func (*SetLotteryResponse) DeepEqual

func (p *SetLotteryResponse) DeepEqual(ano *SetLotteryResponse) bool

func (*SetLotteryResponse) FastRead

func (p *SetLotteryResponse) FastRead(buf []byte) (int, error)

func (*SetLotteryResponse) FastReadField1

func (p *SetLotteryResponse) FastReadField1(buf []byte) (int, error)

func (*SetLotteryResponse) FastWrite

func (p *SetLotteryResponse) FastWrite(buf []byte) int

for compatibility

func (*SetLotteryResponse) FastWriteNocopy

func (p *SetLotteryResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*SetLotteryResponse) Field1DeepEqual

func (p *SetLotteryResponse) Field1DeepEqual(src int64) bool

func (*SetLotteryResponse) GetId

func (p *SetLotteryResponse) GetId() (v int64)

func (*SetLotteryResponse) InitDefault

func (p *SetLotteryResponse) InitDefault()

func (*SetLotteryResponse) Read

func (p *SetLotteryResponse) Read(iprot thrift.TProtocol) (err error)

func (*SetLotteryResponse) ReadField1

func (p *SetLotteryResponse) ReadField1(iprot thrift.TProtocol) error

func (*SetLotteryResponse) SetId

func (p *SetLotteryResponse) SetId(val int64)

func (*SetLotteryResponse) String

func (p *SetLotteryResponse) String() string

func (*SetLotteryResponse) Write

func (p *SetLotteryResponse) Write(oprot thrift.TProtocol) (err error)

Directories

Path Synopsis
Code generated by Kitex v0.9.1.
Code generated by Kitex v0.9.1.

Jump to

Keyboard shortcuts

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