Documentation
¶
Index ¶
- Variables
- type AttendRequest
- func (p *AttendRequest) BLength() int
- func (p *AttendRequest) FastRead(buf []byte) (int, error)
- func (p *AttendRequest) FastReadField1(buf []byte) (int, error)
- func (p *AttendRequest) FastReadField2(buf []byte) (int, error)
- func (p *AttendRequest) FastReadField3(buf []byte) (int, error)
- func (p *AttendRequest) FastWrite(buf []byte) int
- func (p *AttendRequest) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *AttendRequest) GetOffer() (v string)
- func (p *AttendRequest) GetRoomId() (v int64)
- func (p *AttendRequest) GetUserId() (v int64)
- func (p *AttendRequest) InitDefault()
- func (p *AttendRequest) SetOffer(val string)
- func (p *AttendRequest) SetRoomId(val int64)
- func (p *AttendRequest) SetUserId(val int64)
- func (p *AttendRequest) String() string
- type AttendResponse
- func (p *AttendResponse) BLength() int
- func (p *AttendResponse) FastRead(buf []byte) (int, error)
- func (p *AttendResponse) FastReadField1(buf []byte) (int, error)
- func (p *AttendResponse) FastReadField2(buf []byte) (int, error)
- func (p *AttendResponse) FastWrite(buf []byte) int
- func (p *AttendResponse) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *AttendResponse) GetAnswer() (v string)
- func (p *AttendResponse) GetResponse() (v *base.BaseResponse)
- func (p *AttendResponse) InitDefault()
- func (p *AttendResponse) IsSetResponse() bool
- func (p *AttendResponse) SetAnswer(val string)
- func (p *AttendResponse) SetResponse(val *base.BaseResponse)
- func (p *AttendResponse) String() string
- type GetHistoryLectureRequest
- func (p *GetHistoryLectureRequest) BLength() int
- func (p *GetHistoryLectureRequest) FastRead(buf []byte) (int, error)
- func (p *GetHistoryLectureRequest) FastReadField1(buf []byte) (int, error)
- func (p *GetHistoryLectureRequest) FastReadField2(buf []byte) (int, error)
- func (p *GetHistoryLectureRequest) FastWrite(buf []byte) int
- func (p *GetHistoryLectureRequest) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *GetHistoryLectureRequest) GetOffer() (v string)
- func (p *GetHistoryLectureRequest) GetRoomId() (v int64)
- func (p *GetHistoryLectureRequest) InitDefault()
- func (p *GetHistoryLectureRequest) SetOffer(val string)
- func (p *GetHistoryLectureRequest) SetRoomId(val int64)
- func (p *GetHistoryLectureRequest) String() string
- type GetHistoryLectureResponse
- func (p *GetHistoryLectureResponse) BLength() int
- func (p *GetHistoryLectureResponse) FastRead(buf []byte) (int, error)
- func (p *GetHistoryLectureResponse) FastReadField1(buf []byte) (int, error)
- func (p *GetHistoryLectureResponse) FastReadField2(buf []byte) (int, error)
- func (p *GetHistoryLectureResponse) FastWrite(buf []byte) int
- func (p *GetHistoryLectureResponse) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *GetHistoryLectureResponse) GetAnswer() (v string)
- func (p *GetHistoryLectureResponse) GetResponse() (v *base.BaseResponse)
- func (p *GetHistoryLectureResponse) InitDefault()
- func (p *GetHistoryLectureResponse) IsSetResponse() bool
- func (p *GetHistoryLectureResponse) SetAnswer(val string)
- func (p *GetHistoryLectureResponse) SetResponse(val *base.BaseResponse)
- func (p *GetHistoryLectureResponse) String() string
- type LectureService
- type LectureServiceAttendArgs
- func (p *LectureServiceAttendArgs) BLength() int
- func (p *LectureServiceAttendArgs) FastRead(buf []byte) (int, error)
- func (p *LectureServiceAttendArgs) FastReadField1(buf []byte) (int, error)
- func (p *LectureServiceAttendArgs) FastWrite(buf []byte) int
- func (p *LectureServiceAttendArgs) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *LectureServiceAttendArgs) GetFirstArgument() interface{}
- func (p *LectureServiceAttendArgs) GetRequest() (v *AttendRequest)
- func (p *LectureServiceAttendArgs) InitDefault()
- func (p *LectureServiceAttendArgs) IsSetRequest() bool
- func (p *LectureServiceAttendArgs) SetRequest(val *AttendRequest)
- func (p *LectureServiceAttendArgs) String() string
- type LectureServiceAttendResult
- func (p *LectureServiceAttendResult) BLength() int
- func (p *LectureServiceAttendResult) FastRead(buf []byte) (int, error)
- func (p *LectureServiceAttendResult) FastReadField0(buf []byte) (int, error)
- func (p *LectureServiceAttendResult) FastWrite(buf []byte) int
- func (p *LectureServiceAttendResult) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *LectureServiceAttendResult) GetResult() interface{}
- func (p *LectureServiceAttendResult) GetSuccess() (v *AttendResponse)
- func (p *LectureServiceAttendResult) InitDefault()
- func (p *LectureServiceAttendResult) IsSetSuccess() bool
- func (p *LectureServiceAttendResult) SetSuccess(x interface{})
- func (p *LectureServiceAttendResult) String() string
- type LectureServiceGetHistoryLectureArgs
- func (p *LectureServiceGetHistoryLectureArgs) BLength() int
- func (p *LectureServiceGetHistoryLectureArgs) FastRead(buf []byte) (int, error)
- func (p *LectureServiceGetHistoryLectureArgs) FastReadField1(buf []byte) (int, error)
- func (p *LectureServiceGetHistoryLectureArgs) FastWrite(buf []byte) int
- func (p *LectureServiceGetHistoryLectureArgs) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *LectureServiceGetHistoryLectureArgs) GetFirstArgument() interface{}
- func (p *LectureServiceGetHistoryLectureArgs) GetRequest() (v *GetHistoryLectureRequest)
- func (p *LectureServiceGetHistoryLectureArgs) InitDefault()
- func (p *LectureServiceGetHistoryLectureArgs) IsSetRequest() bool
- func (p *LectureServiceGetHistoryLectureArgs) SetRequest(val *GetHistoryLectureRequest)
- func (p *LectureServiceGetHistoryLectureArgs) String() string
- type LectureServiceGetHistoryLectureResult
- func (p *LectureServiceGetHistoryLectureResult) BLength() int
- func (p *LectureServiceGetHistoryLectureResult) FastRead(buf []byte) (int, error)
- func (p *LectureServiceGetHistoryLectureResult) FastReadField0(buf []byte) (int, error)
- func (p *LectureServiceGetHistoryLectureResult) FastWrite(buf []byte) int
- func (p *LectureServiceGetHistoryLectureResult) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *LectureServiceGetHistoryLectureResult) GetResult() interface{}
- func (p *LectureServiceGetHistoryLectureResult) GetSuccess() (v *GetHistoryLectureResponse)
- func (p *LectureServiceGetHistoryLectureResult) InitDefault()
- func (p *LectureServiceGetHistoryLectureResult) IsSetSuccess() bool
- func (p *LectureServiceGetHistoryLectureResult) SetSuccess(x interface{})
- func (p *LectureServiceGetHistoryLectureResult) String() string
- type LectureServiceRandomSelectArgs
- func (p *LectureServiceRandomSelectArgs) BLength() int
- func (p *LectureServiceRandomSelectArgs) FastRead(buf []byte) (int, error)
- func (p *LectureServiceRandomSelectArgs) FastReadField1(buf []byte) (int, error)
- func (p *LectureServiceRandomSelectArgs) FastWrite(buf []byte) int
- func (p *LectureServiceRandomSelectArgs) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *LectureServiceRandomSelectArgs) GetFirstArgument() interface{}
- func (p *LectureServiceRandomSelectArgs) GetRequest() (v *RandomSelectRequest)
- func (p *LectureServiceRandomSelectArgs) InitDefault()
- func (p *LectureServiceRandomSelectArgs) IsSetRequest() bool
- func (p *LectureServiceRandomSelectArgs) SetRequest(val *RandomSelectRequest)
- func (p *LectureServiceRandomSelectArgs) String() string
- type LectureServiceRandomSelectResult
- func (p *LectureServiceRandomSelectResult) BLength() int
- func (p *LectureServiceRandomSelectResult) FastRead(buf []byte) (int, error)
- func (p *LectureServiceRandomSelectResult) FastReadField0(buf []byte) (int, error)
- func (p *LectureServiceRandomSelectResult) FastWrite(buf []byte) int
- func (p *LectureServiceRandomSelectResult) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *LectureServiceRandomSelectResult) GetResult() interface{}
- func (p *LectureServiceRandomSelectResult) GetSuccess() (v *RandomSelectResponse)
- func (p *LectureServiceRandomSelectResult) InitDefault()
- func (p *LectureServiceRandomSelectResult) IsSetSuccess() bool
- func (p *LectureServiceRandomSelectResult) SetSuccess(x interface{})
- func (p *LectureServiceRandomSelectResult) String() string
- type LectureServiceRecordArgs
- func (p *LectureServiceRecordArgs) BLength() int
- func (p *LectureServiceRecordArgs) FastRead(buf []byte) (int, error)
- func (p *LectureServiceRecordArgs) FastReadField1(buf []byte) (int, error)
- func (p *LectureServiceRecordArgs) FastWrite(buf []byte) int
- func (p *LectureServiceRecordArgs) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *LectureServiceRecordArgs) GetFirstArgument() interface{}
- func (p *LectureServiceRecordArgs) GetRequest() (v *RecordRequest)
- func (p *LectureServiceRecordArgs) InitDefault()
- func (p *LectureServiceRecordArgs) IsSetRequest() bool
- func (p *LectureServiceRecordArgs) SetRequest(val *RecordRequest)
- func (p *LectureServiceRecordArgs) String() string
- type LectureServiceRecordResult
- func (p *LectureServiceRecordResult) BLength() int
- func (p *LectureServiceRecordResult) FastRead(buf []byte) (int, error)
- func (p *LectureServiceRecordResult) FastReadField0(buf []byte) (int, error)
- func (p *LectureServiceRecordResult) FastWrite(buf []byte) int
- func (p *LectureServiceRecordResult) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *LectureServiceRecordResult) GetResult() interface{}
- func (p *LectureServiceRecordResult) GetSuccess() (v *RecordResponse)
- func (p *LectureServiceRecordResult) InitDefault()
- func (p *LectureServiceRecordResult) IsSetSuccess() bool
- func (p *LectureServiceRecordResult) SetSuccess(x interface{})
- func (p *LectureServiceRecordResult) String() string
- type LectureServiceStartArgs
- func (p *LectureServiceStartArgs) BLength() int
- func (p *LectureServiceStartArgs) FastRead(buf []byte) (int, error)
- func (p *LectureServiceStartArgs) FastReadField1(buf []byte) (int, error)
- func (p *LectureServiceStartArgs) FastWrite(buf []byte) int
- func (p *LectureServiceStartArgs) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *LectureServiceStartArgs) GetFirstArgument() interface{}
- func (p *LectureServiceStartArgs) GetRequest() (v *StartRequest)
- func (p *LectureServiceStartArgs) InitDefault()
- func (p *LectureServiceStartArgs) IsSetRequest() bool
- func (p *LectureServiceStartArgs) SetRequest(val *StartRequest)
- func (p *LectureServiceStartArgs) String() string
- type LectureServiceStartResult
- func (p *LectureServiceStartResult) BLength() int
- func (p *LectureServiceStartResult) FastRead(buf []byte) (int, error)
- func (p *LectureServiceStartResult) FastReadField0(buf []byte) (int, error)
- func (p *LectureServiceStartResult) FastWrite(buf []byte) int
- func (p *LectureServiceStartResult) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *LectureServiceStartResult) GetResult() interface{}
- func (p *LectureServiceStartResult) GetSuccess() (v *StartResponse)
- func (p *LectureServiceStartResult) InitDefault()
- func (p *LectureServiceStartResult) IsSetSuccess() bool
- func (p *LectureServiceStartResult) SetSuccess(x interface{})
- func (p *LectureServiceStartResult) String() string
- type RandomSelectRequest
- func (p *RandomSelectRequest) BLength() int
- func (p *RandomSelectRequest) FastRead(buf []byte) (int, error)
- func (p *RandomSelectRequest) FastReadField1(buf []byte) (int, error)
- func (p *RandomSelectRequest) FastReadField2(buf []byte) (int, error)
- func (p *RandomSelectRequest) FastReadField3(buf []byte) (int, error)
- func (p *RandomSelectRequest) FastWrite(buf []byte) int
- func (p *RandomSelectRequest) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *RandomSelectRequest) GetNumber() (v int64)
- func (p *RandomSelectRequest) GetRoomId() (v int64)
- func (p *RandomSelectRequest) GetUserId() (v int64)
- func (p *RandomSelectRequest) InitDefault()
- func (p *RandomSelectRequest) SetNumber(val int64)
- func (p *RandomSelectRequest) SetRoomId(val int64)
- func (p *RandomSelectRequest) SetUserId(val int64)
- func (p *RandomSelectRequest) String() string
- type RandomSelectResponse
- func (p *RandomSelectResponse) BLength() int
- func (p *RandomSelectResponse) FastRead(buf []byte) (int, error)
- func (p *RandomSelectResponse) FastReadField1(buf []byte) (int, error)
- func (p *RandomSelectResponse) FastReadField2(buf []byte) (int, error)
- func (p *RandomSelectResponse) FastWrite(buf []byte) int
- func (p *RandomSelectResponse) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *RandomSelectResponse) GetResponse() (v *base.BaseResponse)
- func (p *RandomSelectResponse) GetSelectedIds() (v []int64)
- func (p *RandomSelectResponse) InitDefault()
- func (p *RandomSelectResponse) IsSetResponse() bool
- func (p *RandomSelectResponse) SetResponse(val *base.BaseResponse)
- func (p *RandomSelectResponse) SetSelectedIds(val []int64)
- func (p *RandomSelectResponse) String() string
- type RecordRequest
- func (p *RecordRequest) BLength() int
- func (p *RecordRequest) FastRead(buf []byte) (int, error)
- func (p *RecordRequest) FastReadField1(buf []byte) (int, error)
- func (p *RecordRequest) FastWrite(buf []byte) int
- func (p *RecordRequest) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *RecordRequest) GetRoomId() (v int64)
- func (p *RecordRequest) InitDefault()
- func (p *RecordRequest) SetRoomId(val int64)
- func (p *RecordRequest) String() string
- type RecordResponse
- func (p *RecordResponse) BLength() int
- func (p *RecordResponse) FastRead(buf []byte) (int, error)
- func (p *RecordResponse) FastReadField1(buf []byte) (int, error)
- func (p *RecordResponse) FastWrite(buf []byte) int
- func (p *RecordResponse) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *RecordResponse) GetResponse() (v *base.BaseResponse)
- func (p *RecordResponse) InitDefault()
- func (p *RecordResponse) IsSetResponse() bool
- func (p *RecordResponse) SetResponse(val *base.BaseResponse)
- func (p *RecordResponse) String() string
- type StartRequest
- func (p *StartRequest) BLength() int
- func (p *StartRequest) FastRead(buf []byte) (int, error)
- func (p *StartRequest) FastReadField1(buf []byte) (int, error)
- func (p *StartRequest) FastReadField2(buf []byte) (int, error)
- func (p *StartRequest) FastReadField3(buf []byte) (int, error)
- func (p *StartRequest) FastReadField4(buf []byte) (int, error)
- func (p *StartRequest) FastReadField5(buf []byte) (int, error)
- func (p *StartRequest) FastReadField6(buf []byte) (int, error)
- func (p *StartRequest) FastWrite(buf []byte) int
- func (p *StartRequest) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *StartRequest) GetDescription() (v string)
- func (p *StartRequest) GetHostId() (v int64)
- func (p *StartRequest) GetOffer() (v string)
- func (p *StartRequest) GetRoomId() (v int64)
- func (p *StartRequest) GetSpeaker() (v string)
- func (p *StartRequest) GetTitle() (v string)
- func (p *StartRequest) InitDefault()
- func (p *StartRequest) SetDescription(val string)
- func (p *StartRequest) SetHostId(val int64)
- func (p *StartRequest) SetOffer(val string)
- func (p *StartRequest) SetRoomId(val int64)
- func (p *StartRequest) SetSpeaker(val string)
- func (p *StartRequest) SetTitle(val string)
- func (p *StartRequest) String() string
- type StartResponse
- func (p *StartResponse) BLength() int
- func (p *StartResponse) FastRead(buf []byte) (int, error)
- func (p *StartResponse) FastReadField1(buf []byte) (int, error)
- func (p *StartResponse) FastReadField2(buf []byte) (int, error)
- func (p *StartResponse) FastReadField3(buf []byte) (int, error)
- func (p *StartResponse) FastWrite(buf []byte) int
- func (p *StartResponse) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
- func (p *StartResponse) GetAnswer() (v string)
- func (p *StartResponse) GetResponse() (v *base.BaseResponse)
- func (p *StartResponse) GetRoomId() (v int64)
- func (p *StartResponse) InitDefault()
- func (p *StartResponse) IsSetResponse() bool
- func (p *StartResponse) SetAnswer(val string)
- func (p *StartResponse) SetResponse(val *base.BaseResponse)
- func (p *StartResponse) SetRoomId(val int64)
- func (p *StartResponse) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var AttendResponse_Response_DEFAULT *base.BaseResponse
View Source
var GetHistoryLectureResponse_Response_DEFAULT *base.BaseResponse
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
View Source
var RandomSelectResponse_Response_DEFAULT *base.BaseResponse
View Source
var RecordResponse_Response_DEFAULT *base.BaseResponse
View Source
var StartResponse_Response_DEFAULT *base.BaseResponse
Functions ¶
This section is empty.
Types ¶
type AttendRequest ¶
type AttendRequest struct {
RoomId int64 `thrift:"roomId,1,required" frugal:"1,required,i64" json:"roomId"`
UserId int64 `thrift:"userId,2,required" frugal:"2,required,i64" json:"userId"`
Offer string `thrift:"offer,3,required" frugal:"3,required,string" json:"offer"`
}
var LectureServiceAttendArgs_Request_DEFAULT *AttendRequest
func NewAttendRequest ¶
func NewAttendRequest() *AttendRequest
func (*AttendRequest) BLength ¶
func (p *AttendRequest) BLength() int
func (*AttendRequest) FastReadField1 ¶
func (p *AttendRequest) FastReadField1(buf []byte) (int, error)
func (*AttendRequest) FastReadField2 ¶
func (p *AttendRequest) FastReadField2(buf []byte) (int, error)
func (*AttendRequest) FastReadField3 ¶
func (p *AttendRequest) FastReadField3(buf []byte) (int, error)
func (*AttendRequest) FastWrite ¶
func (p *AttendRequest) FastWrite(buf []byte) int
func (*AttendRequest) FastWriteNocopy ¶
func (p *AttendRequest) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*AttendRequest) GetOffer ¶
func (p *AttendRequest) GetOffer() (v string)
func (*AttendRequest) GetRoomId ¶
func (p *AttendRequest) GetRoomId() (v int64)
func (*AttendRequest) GetUserId ¶
func (p *AttendRequest) GetUserId() (v int64)
func (*AttendRequest) InitDefault ¶
func (p *AttendRequest) InitDefault()
func (*AttendRequest) SetOffer ¶
func (p *AttendRequest) SetOffer(val string)
func (*AttendRequest) SetRoomId ¶
func (p *AttendRequest) SetRoomId(val int64)
func (*AttendRequest) SetUserId ¶
func (p *AttendRequest) SetUserId(val int64)
func (*AttendRequest) String ¶
func (p *AttendRequest) String() string
type AttendResponse ¶
type AttendResponse struct {
Response *base.BaseResponse `thrift:"response,1,required" frugal:"1,required,base.BaseResponse" json:"response"`
Answer string `thrift:"answer,2,required" frugal:"2,required,string" json:"answer"`
}
var LectureServiceAttendResult_Success_DEFAULT *AttendResponse
func NewAttendResponse ¶
func NewAttendResponse() *AttendResponse
func (*AttendResponse) BLength ¶
func (p *AttendResponse) BLength() int
func (*AttendResponse) FastReadField1 ¶
func (p *AttendResponse) FastReadField1(buf []byte) (int, error)
func (*AttendResponse) FastReadField2 ¶
func (p *AttendResponse) FastReadField2(buf []byte) (int, error)
func (*AttendResponse) FastWrite ¶
func (p *AttendResponse) FastWrite(buf []byte) int
func (*AttendResponse) FastWriteNocopy ¶
func (p *AttendResponse) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*AttendResponse) GetAnswer ¶
func (p *AttendResponse) GetAnswer() (v string)
func (*AttendResponse) GetResponse ¶
func (p *AttendResponse) GetResponse() (v *base.BaseResponse)
func (*AttendResponse) InitDefault ¶
func (p *AttendResponse) InitDefault()
func (*AttendResponse) IsSetResponse ¶
func (p *AttendResponse) IsSetResponse() bool
func (*AttendResponse) SetAnswer ¶
func (p *AttendResponse) SetAnswer(val string)
func (*AttendResponse) SetResponse ¶
func (p *AttendResponse) SetResponse(val *base.BaseResponse)
func (*AttendResponse) String ¶
func (p *AttendResponse) String() string
type GetHistoryLectureRequest ¶
type GetHistoryLectureRequest struct {
RoomId int64 `thrift:"roomId,1,required" frugal:"1,required,i64" json:"roomId"`
Offer string `thrift:"offer,2,required" frugal:"2,required,string" json:"offer"`
}
var LectureServiceGetHistoryLectureArgs_Request_DEFAULT *GetHistoryLectureRequest
func NewGetHistoryLectureRequest ¶
func NewGetHistoryLectureRequest() *GetHistoryLectureRequest
func (*GetHistoryLectureRequest) BLength ¶
func (p *GetHistoryLectureRequest) BLength() int
func (*GetHistoryLectureRequest) FastRead ¶
func (p *GetHistoryLectureRequest) FastRead(buf []byte) (int, error)
func (*GetHistoryLectureRequest) FastReadField1 ¶
func (p *GetHistoryLectureRequest) FastReadField1(buf []byte) (int, error)
func (*GetHistoryLectureRequest) FastReadField2 ¶
func (p *GetHistoryLectureRequest) FastReadField2(buf []byte) (int, error)
func (*GetHistoryLectureRequest) FastWrite ¶
func (p *GetHistoryLectureRequest) FastWrite(buf []byte) int
func (*GetHistoryLectureRequest) FastWriteNocopy ¶
func (p *GetHistoryLectureRequest) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*GetHistoryLectureRequest) GetOffer ¶
func (p *GetHistoryLectureRequest) GetOffer() (v string)
func (*GetHistoryLectureRequest) GetRoomId ¶
func (p *GetHistoryLectureRequest) GetRoomId() (v int64)
func (*GetHistoryLectureRequest) InitDefault ¶
func (p *GetHistoryLectureRequest) InitDefault()
func (*GetHistoryLectureRequest) SetOffer ¶
func (p *GetHistoryLectureRequest) SetOffer(val string)
func (*GetHistoryLectureRequest) SetRoomId ¶
func (p *GetHistoryLectureRequest) SetRoomId(val int64)
func (*GetHistoryLectureRequest) String ¶
func (p *GetHistoryLectureRequest) String() string
type GetHistoryLectureResponse ¶
type GetHistoryLectureResponse struct {
Response *base.BaseResponse `thrift:"response,1,required" frugal:"1,required,base.BaseResponse" json:"response"`
Answer string `thrift:"answer,2,required" frugal:"2,required,string" json:"answer"`
}
var LectureServiceGetHistoryLectureResult_Success_DEFAULT *GetHistoryLectureResponse
func NewGetHistoryLectureResponse ¶
func NewGetHistoryLectureResponse() *GetHistoryLectureResponse
func (*GetHistoryLectureResponse) BLength ¶
func (p *GetHistoryLectureResponse) BLength() int
func (*GetHistoryLectureResponse) FastRead ¶
func (p *GetHistoryLectureResponse) FastRead(buf []byte) (int, error)
func (*GetHistoryLectureResponse) FastReadField1 ¶
func (p *GetHistoryLectureResponse) FastReadField1(buf []byte) (int, error)
func (*GetHistoryLectureResponse) FastReadField2 ¶
func (p *GetHistoryLectureResponse) FastReadField2(buf []byte) (int, error)
func (*GetHistoryLectureResponse) FastWrite ¶
func (p *GetHistoryLectureResponse) FastWrite(buf []byte) int
func (*GetHistoryLectureResponse) FastWriteNocopy ¶
func (p *GetHistoryLectureResponse) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*GetHistoryLectureResponse) GetAnswer ¶
func (p *GetHistoryLectureResponse) GetAnswer() (v string)
func (*GetHistoryLectureResponse) GetResponse ¶
func (p *GetHistoryLectureResponse) GetResponse() (v *base.BaseResponse)
func (*GetHistoryLectureResponse) InitDefault ¶
func (p *GetHistoryLectureResponse) InitDefault()
func (*GetHistoryLectureResponse) IsSetResponse ¶
func (p *GetHistoryLectureResponse) IsSetResponse() bool
func (*GetHistoryLectureResponse) SetAnswer ¶
func (p *GetHistoryLectureResponse) SetAnswer(val string)
func (*GetHistoryLectureResponse) SetResponse ¶
func (p *GetHistoryLectureResponse) SetResponse(val *base.BaseResponse)
func (*GetHistoryLectureResponse) String ¶
func (p *GetHistoryLectureResponse) String() string
type LectureService ¶
type LectureService interface {
Start(ctx context.Context, request *StartRequest) (r *StartResponse, err error)
Attend(ctx context.Context, request *AttendRequest) (r *AttendResponse, err error)
Record(ctx context.Context, request *RecordRequest) (r *RecordResponse, err error)
GetHistoryLecture(ctx context.Context, request *GetHistoryLectureRequest) (r *GetHistoryLectureResponse, err error)
RandomSelect(ctx context.Context, request *RandomSelectRequest) (r *RandomSelectResponse, err error)
}
type LectureServiceAttendArgs ¶
type LectureServiceAttendArgs struct {
Request *AttendRequest `thrift:"request,1" frugal:"1,default,AttendRequest" json:"request"`
}
func NewLectureServiceAttendArgs ¶
func NewLectureServiceAttendArgs() *LectureServiceAttendArgs
func (*LectureServiceAttendArgs) BLength ¶
func (p *LectureServiceAttendArgs) BLength() int
func (*LectureServiceAttendArgs) FastRead ¶
func (p *LectureServiceAttendArgs) FastRead(buf []byte) (int, error)
func (*LectureServiceAttendArgs) FastReadField1 ¶
func (p *LectureServiceAttendArgs) FastReadField1(buf []byte) (int, error)
func (*LectureServiceAttendArgs) FastWrite ¶
func (p *LectureServiceAttendArgs) FastWrite(buf []byte) int
func (*LectureServiceAttendArgs) FastWriteNocopy ¶
func (p *LectureServiceAttendArgs) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*LectureServiceAttendArgs) GetFirstArgument ¶
func (p *LectureServiceAttendArgs) GetFirstArgument() interface{}
func (*LectureServiceAttendArgs) GetRequest ¶
func (p *LectureServiceAttendArgs) GetRequest() (v *AttendRequest)
func (*LectureServiceAttendArgs) InitDefault ¶
func (p *LectureServiceAttendArgs) InitDefault()
func (*LectureServiceAttendArgs) IsSetRequest ¶
func (p *LectureServiceAttendArgs) IsSetRequest() bool
func (*LectureServiceAttendArgs) SetRequest ¶
func (p *LectureServiceAttendArgs) SetRequest(val *AttendRequest)
func (*LectureServiceAttendArgs) String ¶
func (p *LectureServiceAttendArgs) String() string
type LectureServiceAttendResult ¶
type LectureServiceAttendResult struct {
Success *AttendResponse `thrift:"success,0,optional" frugal:"0,optional,AttendResponse" json:"success,omitempty"`
}
func NewLectureServiceAttendResult ¶
func NewLectureServiceAttendResult() *LectureServiceAttendResult
func (*LectureServiceAttendResult) BLength ¶
func (p *LectureServiceAttendResult) BLength() int
func (*LectureServiceAttendResult) FastRead ¶
func (p *LectureServiceAttendResult) FastRead(buf []byte) (int, error)
func (*LectureServiceAttendResult) FastReadField0 ¶
func (p *LectureServiceAttendResult) FastReadField0(buf []byte) (int, error)
func (*LectureServiceAttendResult) FastWrite ¶
func (p *LectureServiceAttendResult) FastWrite(buf []byte) int
func (*LectureServiceAttendResult) FastWriteNocopy ¶
func (p *LectureServiceAttendResult) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*LectureServiceAttendResult) GetResult ¶
func (p *LectureServiceAttendResult) GetResult() interface{}
func (*LectureServiceAttendResult) GetSuccess ¶
func (p *LectureServiceAttendResult) GetSuccess() (v *AttendResponse)
func (*LectureServiceAttendResult) InitDefault ¶
func (p *LectureServiceAttendResult) InitDefault()
func (*LectureServiceAttendResult) IsSetSuccess ¶
func (p *LectureServiceAttendResult) IsSetSuccess() bool
func (*LectureServiceAttendResult) SetSuccess ¶
func (p *LectureServiceAttendResult) SetSuccess(x interface{})
func (*LectureServiceAttendResult) String ¶
func (p *LectureServiceAttendResult) String() string
type LectureServiceGetHistoryLectureArgs ¶
type LectureServiceGetHistoryLectureArgs struct {
Request *GetHistoryLectureRequest `thrift:"request,1" frugal:"1,default,GetHistoryLectureRequest" json:"request"`
}
func NewLectureServiceGetHistoryLectureArgs ¶
func NewLectureServiceGetHistoryLectureArgs() *LectureServiceGetHistoryLectureArgs
func (*LectureServiceGetHistoryLectureArgs) BLength ¶
func (p *LectureServiceGetHistoryLectureArgs) BLength() int
func (*LectureServiceGetHistoryLectureArgs) FastRead ¶
func (p *LectureServiceGetHistoryLectureArgs) FastRead(buf []byte) (int, error)
func (*LectureServiceGetHistoryLectureArgs) FastReadField1 ¶
func (p *LectureServiceGetHistoryLectureArgs) FastReadField1(buf []byte) (int, error)
func (*LectureServiceGetHistoryLectureArgs) FastWrite ¶
func (p *LectureServiceGetHistoryLectureArgs) FastWrite(buf []byte) int
func (*LectureServiceGetHistoryLectureArgs) FastWriteNocopy ¶
func (p *LectureServiceGetHistoryLectureArgs) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*LectureServiceGetHistoryLectureArgs) GetFirstArgument ¶
func (p *LectureServiceGetHistoryLectureArgs) GetFirstArgument() interface{}
func (*LectureServiceGetHistoryLectureArgs) GetRequest ¶
func (p *LectureServiceGetHistoryLectureArgs) GetRequest() (v *GetHistoryLectureRequest)
func (*LectureServiceGetHistoryLectureArgs) InitDefault ¶
func (p *LectureServiceGetHistoryLectureArgs) InitDefault()
func (*LectureServiceGetHistoryLectureArgs) IsSetRequest ¶
func (p *LectureServiceGetHistoryLectureArgs) IsSetRequest() bool
func (*LectureServiceGetHistoryLectureArgs) SetRequest ¶
func (p *LectureServiceGetHistoryLectureArgs) SetRequest(val *GetHistoryLectureRequest)
func (*LectureServiceGetHistoryLectureArgs) String ¶
func (p *LectureServiceGetHistoryLectureArgs) String() string
type LectureServiceGetHistoryLectureResult ¶
type LectureServiceGetHistoryLectureResult struct {
Success *GetHistoryLectureResponse `thrift:"success,0,optional" frugal:"0,optional,GetHistoryLectureResponse" json:"success,omitempty"`
}
func NewLectureServiceGetHistoryLectureResult ¶
func NewLectureServiceGetHistoryLectureResult() *LectureServiceGetHistoryLectureResult
func (*LectureServiceGetHistoryLectureResult) BLength ¶
func (p *LectureServiceGetHistoryLectureResult) BLength() int
func (*LectureServiceGetHistoryLectureResult) FastRead ¶
func (p *LectureServiceGetHistoryLectureResult) FastRead(buf []byte) (int, error)
func (*LectureServiceGetHistoryLectureResult) FastReadField0 ¶
func (p *LectureServiceGetHistoryLectureResult) FastReadField0(buf []byte) (int, error)
func (*LectureServiceGetHistoryLectureResult) FastWrite ¶
func (p *LectureServiceGetHistoryLectureResult) FastWrite(buf []byte) int
func (*LectureServiceGetHistoryLectureResult) FastWriteNocopy ¶
func (p *LectureServiceGetHistoryLectureResult) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*LectureServiceGetHistoryLectureResult) GetResult ¶
func (p *LectureServiceGetHistoryLectureResult) GetResult() interface{}
func (*LectureServiceGetHistoryLectureResult) GetSuccess ¶
func (p *LectureServiceGetHistoryLectureResult) GetSuccess() (v *GetHistoryLectureResponse)
func (*LectureServiceGetHistoryLectureResult) InitDefault ¶
func (p *LectureServiceGetHistoryLectureResult) InitDefault()
func (*LectureServiceGetHistoryLectureResult) IsSetSuccess ¶
func (p *LectureServiceGetHistoryLectureResult) IsSetSuccess() bool
func (*LectureServiceGetHistoryLectureResult) SetSuccess ¶
func (p *LectureServiceGetHistoryLectureResult) SetSuccess(x interface{})
func (*LectureServiceGetHistoryLectureResult) String ¶
func (p *LectureServiceGetHistoryLectureResult) String() string
type LectureServiceRandomSelectArgs ¶
type LectureServiceRandomSelectArgs struct {
Request *RandomSelectRequest `thrift:"request,1" frugal:"1,default,RandomSelectRequest" json:"request"`
}
func NewLectureServiceRandomSelectArgs ¶
func NewLectureServiceRandomSelectArgs() *LectureServiceRandomSelectArgs
func (*LectureServiceRandomSelectArgs) BLength ¶
func (p *LectureServiceRandomSelectArgs) BLength() int
func (*LectureServiceRandomSelectArgs) FastRead ¶
func (p *LectureServiceRandomSelectArgs) FastRead(buf []byte) (int, error)
func (*LectureServiceRandomSelectArgs) FastReadField1 ¶
func (p *LectureServiceRandomSelectArgs) FastReadField1(buf []byte) (int, error)
func (*LectureServiceRandomSelectArgs) FastWrite ¶
func (p *LectureServiceRandomSelectArgs) FastWrite(buf []byte) int
func (*LectureServiceRandomSelectArgs) FastWriteNocopy ¶
func (p *LectureServiceRandomSelectArgs) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*LectureServiceRandomSelectArgs) GetFirstArgument ¶
func (p *LectureServiceRandomSelectArgs) GetFirstArgument() interface{}
func (*LectureServiceRandomSelectArgs) GetRequest ¶
func (p *LectureServiceRandomSelectArgs) GetRequest() (v *RandomSelectRequest)
func (*LectureServiceRandomSelectArgs) InitDefault ¶
func (p *LectureServiceRandomSelectArgs) InitDefault()
func (*LectureServiceRandomSelectArgs) IsSetRequest ¶
func (p *LectureServiceRandomSelectArgs) IsSetRequest() bool
func (*LectureServiceRandomSelectArgs) SetRequest ¶
func (p *LectureServiceRandomSelectArgs) SetRequest(val *RandomSelectRequest)
func (*LectureServiceRandomSelectArgs) String ¶
func (p *LectureServiceRandomSelectArgs) String() string
type LectureServiceRandomSelectResult ¶
type LectureServiceRandomSelectResult struct {
Success *RandomSelectResponse `thrift:"success,0,optional" frugal:"0,optional,RandomSelectResponse" json:"success,omitempty"`
}
func NewLectureServiceRandomSelectResult ¶
func NewLectureServiceRandomSelectResult() *LectureServiceRandomSelectResult
func (*LectureServiceRandomSelectResult) BLength ¶
func (p *LectureServiceRandomSelectResult) BLength() int
func (*LectureServiceRandomSelectResult) FastRead ¶
func (p *LectureServiceRandomSelectResult) FastRead(buf []byte) (int, error)
func (*LectureServiceRandomSelectResult) FastReadField0 ¶
func (p *LectureServiceRandomSelectResult) FastReadField0(buf []byte) (int, error)
func (*LectureServiceRandomSelectResult) FastWrite ¶
func (p *LectureServiceRandomSelectResult) FastWrite(buf []byte) int
func (*LectureServiceRandomSelectResult) FastWriteNocopy ¶
func (p *LectureServiceRandomSelectResult) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*LectureServiceRandomSelectResult) GetResult ¶
func (p *LectureServiceRandomSelectResult) GetResult() interface{}
func (*LectureServiceRandomSelectResult) GetSuccess ¶
func (p *LectureServiceRandomSelectResult) GetSuccess() (v *RandomSelectResponse)
func (*LectureServiceRandomSelectResult) InitDefault ¶
func (p *LectureServiceRandomSelectResult) InitDefault()
func (*LectureServiceRandomSelectResult) IsSetSuccess ¶
func (p *LectureServiceRandomSelectResult) IsSetSuccess() bool
func (*LectureServiceRandomSelectResult) SetSuccess ¶
func (p *LectureServiceRandomSelectResult) SetSuccess(x interface{})
func (*LectureServiceRandomSelectResult) String ¶
func (p *LectureServiceRandomSelectResult) String() string
type LectureServiceRecordArgs ¶
type LectureServiceRecordArgs struct {
Request *RecordRequest `thrift:"request,1" frugal:"1,default,RecordRequest" json:"request"`
}
func NewLectureServiceRecordArgs ¶
func NewLectureServiceRecordArgs() *LectureServiceRecordArgs
func (*LectureServiceRecordArgs) BLength ¶
func (p *LectureServiceRecordArgs) BLength() int
func (*LectureServiceRecordArgs) FastRead ¶
func (p *LectureServiceRecordArgs) FastRead(buf []byte) (int, error)
func (*LectureServiceRecordArgs) FastReadField1 ¶
func (p *LectureServiceRecordArgs) FastReadField1(buf []byte) (int, error)
func (*LectureServiceRecordArgs) FastWrite ¶
func (p *LectureServiceRecordArgs) FastWrite(buf []byte) int
func (*LectureServiceRecordArgs) FastWriteNocopy ¶
func (p *LectureServiceRecordArgs) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*LectureServiceRecordArgs) GetFirstArgument ¶
func (p *LectureServiceRecordArgs) GetFirstArgument() interface{}
func (*LectureServiceRecordArgs) GetRequest ¶
func (p *LectureServiceRecordArgs) GetRequest() (v *RecordRequest)
func (*LectureServiceRecordArgs) InitDefault ¶
func (p *LectureServiceRecordArgs) InitDefault()
func (*LectureServiceRecordArgs) IsSetRequest ¶
func (p *LectureServiceRecordArgs) IsSetRequest() bool
func (*LectureServiceRecordArgs) SetRequest ¶
func (p *LectureServiceRecordArgs) SetRequest(val *RecordRequest)
func (*LectureServiceRecordArgs) String ¶
func (p *LectureServiceRecordArgs) String() string
type LectureServiceRecordResult ¶
type LectureServiceRecordResult struct {
Success *RecordResponse `thrift:"success,0,optional" frugal:"0,optional,RecordResponse" json:"success,omitempty"`
}
func NewLectureServiceRecordResult ¶
func NewLectureServiceRecordResult() *LectureServiceRecordResult
func (*LectureServiceRecordResult) BLength ¶
func (p *LectureServiceRecordResult) BLength() int
func (*LectureServiceRecordResult) FastRead ¶
func (p *LectureServiceRecordResult) FastRead(buf []byte) (int, error)
func (*LectureServiceRecordResult) FastReadField0 ¶
func (p *LectureServiceRecordResult) FastReadField0(buf []byte) (int, error)
func (*LectureServiceRecordResult) FastWrite ¶
func (p *LectureServiceRecordResult) FastWrite(buf []byte) int
func (*LectureServiceRecordResult) FastWriteNocopy ¶
func (p *LectureServiceRecordResult) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*LectureServiceRecordResult) GetResult ¶
func (p *LectureServiceRecordResult) GetResult() interface{}
func (*LectureServiceRecordResult) GetSuccess ¶
func (p *LectureServiceRecordResult) GetSuccess() (v *RecordResponse)
func (*LectureServiceRecordResult) InitDefault ¶
func (p *LectureServiceRecordResult) InitDefault()
func (*LectureServiceRecordResult) IsSetSuccess ¶
func (p *LectureServiceRecordResult) IsSetSuccess() bool
func (*LectureServiceRecordResult) SetSuccess ¶
func (p *LectureServiceRecordResult) SetSuccess(x interface{})
func (*LectureServiceRecordResult) String ¶
func (p *LectureServiceRecordResult) String() string
type LectureServiceStartArgs ¶
type LectureServiceStartArgs struct {
Request *StartRequest `thrift:"request,1" frugal:"1,default,StartRequest" json:"request"`
}
func NewLectureServiceStartArgs ¶
func NewLectureServiceStartArgs() *LectureServiceStartArgs
func (*LectureServiceStartArgs) BLength ¶
func (p *LectureServiceStartArgs) BLength() int
func (*LectureServiceStartArgs) FastRead ¶
func (p *LectureServiceStartArgs) FastRead(buf []byte) (int, error)
func (*LectureServiceStartArgs) FastReadField1 ¶
func (p *LectureServiceStartArgs) FastReadField1(buf []byte) (int, error)
func (*LectureServiceStartArgs) FastWrite ¶
func (p *LectureServiceStartArgs) FastWrite(buf []byte) int
func (*LectureServiceStartArgs) FastWriteNocopy ¶
func (p *LectureServiceStartArgs) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*LectureServiceStartArgs) GetFirstArgument ¶
func (p *LectureServiceStartArgs) GetFirstArgument() interface{}
func (*LectureServiceStartArgs) GetRequest ¶
func (p *LectureServiceStartArgs) GetRequest() (v *StartRequest)
func (*LectureServiceStartArgs) InitDefault ¶
func (p *LectureServiceStartArgs) InitDefault()
func (*LectureServiceStartArgs) IsSetRequest ¶
func (p *LectureServiceStartArgs) IsSetRequest() bool
func (*LectureServiceStartArgs) SetRequest ¶
func (p *LectureServiceStartArgs) SetRequest(val *StartRequest)
func (*LectureServiceStartArgs) String ¶
func (p *LectureServiceStartArgs) String() string
type LectureServiceStartResult ¶
type LectureServiceStartResult struct {
Success *StartResponse `thrift:"success,0,optional" frugal:"0,optional,StartResponse" json:"success,omitempty"`
}
func NewLectureServiceStartResult ¶
func NewLectureServiceStartResult() *LectureServiceStartResult
func (*LectureServiceStartResult) BLength ¶
func (p *LectureServiceStartResult) BLength() int
func (*LectureServiceStartResult) FastRead ¶
func (p *LectureServiceStartResult) FastRead(buf []byte) (int, error)
func (*LectureServiceStartResult) FastReadField0 ¶
func (p *LectureServiceStartResult) FastReadField0(buf []byte) (int, error)
func (*LectureServiceStartResult) FastWrite ¶
func (p *LectureServiceStartResult) FastWrite(buf []byte) int
func (*LectureServiceStartResult) FastWriteNocopy ¶
func (p *LectureServiceStartResult) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*LectureServiceStartResult) GetResult ¶
func (p *LectureServiceStartResult) GetResult() interface{}
func (*LectureServiceStartResult) GetSuccess ¶
func (p *LectureServiceStartResult) GetSuccess() (v *StartResponse)
func (*LectureServiceStartResult) InitDefault ¶
func (p *LectureServiceStartResult) InitDefault()
func (*LectureServiceStartResult) IsSetSuccess ¶
func (p *LectureServiceStartResult) IsSetSuccess() bool
func (*LectureServiceStartResult) SetSuccess ¶
func (p *LectureServiceStartResult) SetSuccess(x interface{})
func (*LectureServiceStartResult) String ¶
func (p *LectureServiceStartResult) String() string
type RandomSelectRequest ¶
type RandomSelectRequest struct {
RoomId int64 `thrift:"roomId,1,required" frugal:"1,required,i64" json:"roomId"`
UserId int64 `thrift:"userId,2,required" frugal:"2,required,i64" json:"userId"`
Number int64 `thrift:"number,3,required" frugal:"3,required,i64" json:"number"`
}
var LectureServiceRandomSelectArgs_Request_DEFAULT *RandomSelectRequest
func NewRandomSelectRequest ¶
func NewRandomSelectRequest() *RandomSelectRequest
func (*RandomSelectRequest) BLength ¶
func (p *RandomSelectRequest) BLength() int
func (*RandomSelectRequest) FastRead ¶
func (p *RandomSelectRequest) FastRead(buf []byte) (int, error)
func (*RandomSelectRequest) FastReadField1 ¶
func (p *RandomSelectRequest) FastReadField1(buf []byte) (int, error)
func (*RandomSelectRequest) FastReadField2 ¶
func (p *RandomSelectRequest) FastReadField2(buf []byte) (int, error)
func (*RandomSelectRequest) FastReadField3 ¶
func (p *RandomSelectRequest) FastReadField3(buf []byte) (int, error)
func (*RandomSelectRequest) FastWrite ¶
func (p *RandomSelectRequest) FastWrite(buf []byte) int
func (*RandomSelectRequest) FastWriteNocopy ¶
func (p *RandomSelectRequest) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*RandomSelectRequest) GetNumber ¶
func (p *RandomSelectRequest) GetNumber() (v int64)
func (*RandomSelectRequest) GetRoomId ¶
func (p *RandomSelectRequest) GetRoomId() (v int64)
func (*RandomSelectRequest) GetUserId ¶
func (p *RandomSelectRequest) GetUserId() (v int64)
func (*RandomSelectRequest) InitDefault ¶
func (p *RandomSelectRequest) InitDefault()
func (*RandomSelectRequest) SetNumber ¶
func (p *RandomSelectRequest) SetNumber(val int64)
func (*RandomSelectRequest) SetRoomId ¶
func (p *RandomSelectRequest) SetRoomId(val int64)
func (*RandomSelectRequest) SetUserId ¶
func (p *RandomSelectRequest) SetUserId(val int64)
func (*RandomSelectRequest) String ¶
func (p *RandomSelectRequest) String() string
type RandomSelectResponse ¶
type RandomSelectResponse struct {
Response *base.BaseResponse `thrift:"response,1,required" frugal:"1,required,base.BaseResponse" json:"response"`
SelectedIds []int64 `thrift:"selectedIds,2,required" frugal:"2,required,list<i64>" json:"selectedIds"`
}
var LectureServiceRandomSelectResult_Success_DEFAULT *RandomSelectResponse
func NewRandomSelectResponse ¶
func NewRandomSelectResponse() *RandomSelectResponse
func (*RandomSelectResponse) BLength ¶
func (p *RandomSelectResponse) BLength() int
func (*RandomSelectResponse) FastRead ¶
func (p *RandomSelectResponse) FastRead(buf []byte) (int, error)
func (*RandomSelectResponse) FastReadField1 ¶
func (p *RandomSelectResponse) FastReadField1(buf []byte) (int, error)
func (*RandomSelectResponse) FastReadField2 ¶
func (p *RandomSelectResponse) FastReadField2(buf []byte) (int, error)
func (*RandomSelectResponse) FastWrite ¶
func (p *RandomSelectResponse) FastWrite(buf []byte) int
func (*RandomSelectResponse) FastWriteNocopy ¶
func (p *RandomSelectResponse) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*RandomSelectResponse) GetResponse ¶
func (p *RandomSelectResponse) GetResponse() (v *base.BaseResponse)
func (*RandomSelectResponse) GetSelectedIds ¶
func (p *RandomSelectResponse) GetSelectedIds() (v []int64)
func (*RandomSelectResponse) InitDefault ¶
func (p *RandomSelectResponse) InitDefault()
func (*RandomSelectResponse) IsSetResponse ¶
func (p *RandomSelectResponse) IsSetResponse() bool
func (*RandomSelectResponse) SetResponse ¶
func (p *RandomSelectResponse) SetResponse(val *base.BaseResponse)
func (*RandomSelectResponse) SetSelectedIds ¶
func (p *RandomSelectResponse) SetSelectedIds(val []int64)
func (*RandomSelectResponse) String ¶
func (p *RandomSelectResponse) String() string
type RecordRequest ¶
type RecordRequest struct {
RoomId int64 `thrift:"roomId,1,required" frugal:"1,required,i64" json:"roomId"`
}
var LectureServiceRecordArgs_Request_DEFAULT *RecordRequest
func NewRecordRequest ¶
func NewRecordRequest() *RecordRequest
func (*RecordRequest) BLength ¶
func (p *RecordRequest) BLength() int
func (*RecordRequest) FastReadField1 ¶
func (p *RecordRequest) FastReadField1(buf []byte) (int, error)
func (*RecordRequest) FastWrite ¶
func (p *RecordRequest) FastWrite(buf []byte) int
func (*RecordRequest) FastWriteNocopy ¶
func (p *RecordRequest) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*RecordRequest) GetRoomId ¶
func (p *RecordRequest) GetRoomId() (v int64)
func (*RecordRequest) InitDefault ¶
func (p *RecordRequest) InitDefault()
func (*RecordRequest) SetRoomId ¶
func (p *RecordRequest) SetRoomId(val int64)
func (*RecordRequest) String ¶
func (p *RecordRequest) String() string
type RecordResponse ¶
type RecordResponse struct {
Response *base.BaseResponse `thrift:"response,1,required" frugal:"1,required,base.BaseResponse" json:"response"`
}
var LectureServiceRecordResult_Success_DEFAULT *RecordResponse
func NewRecordResponse ¶
func NewRecordResponse() *RecordResponse
func (*RecordResponse) BLength ¶
func (p *RecordResponse) BLength() int
func (*RecordResponse) FastReadField1 ¶
func (p *RecordResponse) FastReadField1(buf []byte) (int, error)
func (*RecordResponse) FastWrite ¶
func (p *RecordResponse) FastWrite(buf []byte) int
func (*RecordResponse) FastWriteNocopy ¶
func (p *RecordResponse) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*RecordResponse) GetResponse ¶
func (p *RecordResponse) GetResponse() (v *base.BaseResponse)
func (*RecordResponse) InitDefault ¶
func (p *RecordResponse) InitDefault()
func (*RecordResponse) IsSetResponse ¶
func (p *RecordResponse) IsSetResponse() bool
func (*RecordResponse) SetResponse ¶
func (p *RecordResponse) SetResponse(val *base.BaseResponse)
func (*RecordResponse) String ¶
func (p *RecordResponse) String() string
type StartRequest ¶
type StartRequest struct {
RoomId int64 `thrift:"roomId,1,required" frugal:"1,required,i64" json:"roomId"`
HostId int64 `thrift:"hostId,2,required" frugal:"2,required,i64" json:"hostId"`
Title string `thrift:"title,3,required" frugal:"3,required,string" json:"title"`
Description string `thrift:"description,4,required" frugal:"4,required,string" json:"description"`
Speaker string `thrift:"speaker,5,required" frugal:"5,required,string" json:"speaker"`
Offer string `thrift:"offer,6,required" frugal:"6,required,string" json:"offer"`
}
var LectureServiceStartArgs_Request_DEFAULT *StartRequest
func NewStartRequest ¶
func NewStartRequest() *StartRequest
func (*StartRequest) BLength ¶
func (p *StartRequest) BLength() int
func (*StartRequest) FastReadField1 ¶
func (p *StartRequest) FastReadField1(buf []byte) (int, error)
func (*StartRequest) FastReadField2 ¶
func (p *StartRequest) FastReadField2(buf []byte) (int, error)
func (*StartRequest) FastReadField3 ¶
func (p *StartRequest) FastReadField3(buf []byte) (int, error)
func (*StartRequest) FastReadField4 ¶
func (p *StartRequest) FastReadField4(buf []byte) (int, error)
func (*StartRequest) FastReadField5 ¶
func (p *StartRequest) FastReadField5(buf []byte) (int, error)
func (*StartRequest) FastReadField6 ¶
func (p *StartRequest) FastReadField6(buf []byte) (int, error)
func (*StartRequest) FastWrite ¶
func (p *StartRequest) FastWrite(buf []byte) int
func (*StartRequest) FastWriteNocopy ¶
func (p *StartRequest) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*StartRequest) GetDescription ¶
func (p *StartRequest) GetDescription() (v string)
func (*StartRequest) GetHostId ¶
func (p *StartRequest) GetHostId() (v int64)
func (*StartRequest) GetOffer ¶
func (p *StartRequest) GetOffer() (v string)
func (*StartRequest) GetRoomId ¶
func (p *StartRequest) GetRoomId() (v int64)
func (*StartRequest) GetSpeaker ¶
func (p *StartRequest) GetSpeaker() (v string)
func (*StartRequest) GetTitle ¶
func (p *StartRequest) GetTitle() (v string)
func (*StartRequest) InitDefault ¶
func (p *StartRequest) InitDefault()
func (*StartRequest) SetDescription ¶
func (p *StartRequest) SetDescription(val string)
func (*StartRequest) SetHostId ¶
func (p *StartRequest) SetHostId(val int64)
func (*StartRequest) SetOffer ¶
func (p *StartRequest) SetOffer(val string)
func (*StartRequest) SetRoomId ¶
func (p *StartRequest) SetRoomId(val int64)
func (*StartRequest) SetSpeaker ¶
func (p *StartRequest) SetSpeaker(val string)
func (*StartRequest) SetTitle ¶
func (p *StartRequest) SetTitle(val string)
func (*StartRequest) String ¶
func (p *StartRequest) String() string
type StartResponse ¶
type StartResponse struct {
Response *base.BaseResponse `thrift:"response,1,required" frugal:"1,required,base.BaseResponse" json:"response"`
RoomId int64 `thrift:"roomId,2,required" frugal:"2,required,i64" json:"roomId"`
Answer string `thrift:"answer,3,required" frugal:"3,required,string" json:"answer"`
}
var LectureServiceStartResult_Success_DEFAULT *StartResponse
func NewStartResponse ¶
func NewStartResponse() *StartResponse
func (*StartResponse) BLength ¶
func (p *StartResponse) BLength() int
func (*StartResponse) FastReadField1 ¶
func (p *StartResponse) FastReadField1(buf []byte) (int, error)
func (*StartResponse) FastReadField2 ¶
func (p *StartResponse) FastReadField2(buf []byte) (int, error)
func (*StartResponse) FastReadField3 ¶
func (p *StartResponse) FastReadField3(buf []byte) (int, error)
func (*StartResponse) FastWrite ¶
func (p *StartResponse) FastWrite(buf []byte) int
func (*StartResponse) FastWriteNocopy ¶
func (p *StartResponse) FastWriteNocopy(buf []byte, w thrift.NocopyWriter) int
func (*StartResponse) GetAnswer ¶
func (p *StartResponse) GetAnswer() (v string)
func (*StartResponse) GetResponse ¶
func (p *StartResponse) GetResponse() (v *base.BaseResponse)
func (*StartResponse) GetRoomId ¶
func (p *StartResponse) GetRoomId() (v int64)
func (*StartResponse) InitDefault ¶
func (p *StartResponse) InitDefault()
func (*StartResponse) IsSetResponse ¶
func (p *StartResponse) IsSetResponse() bool
func (*StartResponse) SetAnswer ¶
func (p *StartResponse) SetAnswer(val string)
func (*StartResponse) SetResponse ¶
func (p *StartResponse) SetResponse(val *base.BaseResponse)
func (*StartResponse) SetRoomId ¶
func (p *StartResponse) SetRoomId(val int64)
func (*StartResponse) String ¶
func (p *StartResponse) String() string
Click to show internal directories.
Click to hide internal directories.