interact

package
v0.0.0-...-9bdafd8 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Comment_User_DEFAULT *user.User
View Source
var KitexUnusedProtection = struct{}{}

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

Functions

This section is empty.

Types

type Comment

type Comment struct {
	Id         int64      `thrift:"id,1" frugal:"1,default,i64" json:"id"`
	User       *user.User `thrift:"user,2" frugal:"2,default,user.User" json:"user"`
	Content    string     `thrift:"content,3" frugal:"3,default,string" json:"content"`
	CreateDate string     `thrift:"create_date,4" frugal:"4,default,string" json:"create_date"`
}
var CommentActionResponse_Comment_DEFAULT *Comment

func NewComment

func NewComment() *Comment

func (*Comment) BLength

func (p *Comment) BLength() int

func (*Comment) DeepEqual

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

func (*Comment) FastRead

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

func (*Comment) FastReadField1

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

func (*Comment) FastReadField2

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

func (*Comment) FastReadField3

func (p *Comment) FastReadField3(buf []byte) (int, error)

func (*Comment) FastReadField4

func (p *Comment) FastReadField4(buf []byte) (int, error)

func (*Comment) FastWrite

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

for compatibility

func (*Comment) FastWriteNocopy

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

func (*Comment) Field1DeepEqual

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

func (*Comment) Field2DeepEqual

func (p *Comment) Field2DeepEqual(src *user.User) bool

func (*Comment) Field3DeepEqual

func (p *Comment) Field3DeepEqual(src string) bool

func (*Comment) Field4DeepEqual

func (p *Comment) Field4DeepEqual(src string) bool

func (*Comment) GetContent

func (p *Comment) GetContent() (v string)

func (*Comment) GetCreateDate

func (p *Comment) GetCreateDate() (v string)

func (*Comment) GetId

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

func (*Comment) GetUser

func (p *Comment) GetUser() (v *user.User)

func (*Comment) InitDefault

func (p *Comment) InitDefault()

func (*Comment) IsSetUser

func (p *Comment) IsSetUser() bool

func (*Comment) Read

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

func (*Comment) ReadField1

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

func (*Comment) ReadField2

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

func (*Comment) ReadField3

func (p *Comment) ReadField3(iprot thrift.TProtocol) error

func (*Comment) ReadField4

func (p *Comment) ReadField4(iprot thrift.TProtocol) error

func (*Comment) SetContent

func (p *Comment) SetContent(val string)

func (*Comment) SetCreateDate

func (p *Comment) SetCreateDate(val string)

func (*Comment) SetId

func (p *Comment) SetId(val int64)

func (*Comment) SetUser

func (p *Comment) SetUser(val *user.User)

func (*Comment) String

func (p *Comment) String() string

func (*Comment) Write

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

type CommentActionRequest

type CommentActionRequest struct {
	Token       string `thrift:"token,1" frugal:"1,default,string" json:"token"`
	VideoId     int64  `thrift:"video_id,2" frugal:"2,default,i64" json:"video_id"`
	ActionType  int32  `thrift:"action_type,3" frugal:"3,default,i32" json:"action_type"`
	CommentText string `thrift:"comment_text,4" frugal:"4,default,string" json:"comment_text"`
	CommentId   int64  `thrift:"comment_id,5" frugal:"5,default,i64" json:"comment_id"`
}
var InteractServiceCommentActionArgs_Req_DEFAULT *CommentActionRequest

func NewCommentActionRequest

func NewCommentActionRequest() *CommentActionRequest

func (*CommentActionRequest) BLength

func (p *CommentActionRequest) BLength() int

func (*CommentActionRequest) DeepEqual

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

func (*CommentActionRequest) FastRead

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

func (*CommentActionRequest) FastReadField1

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

func (*CommentActionRequest) FastReadField2

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

func (*CommentActionRequest) FastReadField3

func (p *CommentActionRequest) FastReadField3(buf []byte) (int, error)

func (*CommentActionRequest) FastReadField4

func (p *CommentActionRequest) FastReadField4(buf []byte) (int, error)

func (*CommentActionRequest) FastReadField5

func (p *CommentActionRequest) FastReadField5(buf []byte) (int, error)

func (*CommentActionRequest) FastWrite

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

for compatibility

func (*CommentActionRequest) FastWriteNocopy

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

func (*CommentActionRequest) Field1DeepEqual

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

func (*CommentActionRequest) Field2DeepEqual

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

func (*CommentActionRequest) Field3DeepEqual

func (p *CommentActionRequest) Field3DeepEqual(src int32) bool

func (*CommentActionRequest) Field4DeepEqual

func (p *CommentActionRequest) Field4DeepEqual(src string) bool

func (*CommentActionRequest) Field5DeepEqual

func (p *CommentActionRequest) Field5DeepEqual(src int64) bool

func (*CommentActionRequest) GetActionType

func (p *CommentActionRequest) GetActionType() (v int32)

func (*CommentActionRequest) GetCommentId

func (p *CommentActionRequest) GetCommentId() (v int64)

func (*CommentActionRequest) GetCommentText

func (p *CommentActionRequest) GetCommentText() (v string)

func (*CommentActionRequest) GetToken

func (p *CommentActionRequest) GetToken() (v string)

func (*CommentActionRequest) GetVideoId

func (p *CommentActionRequest) GetVideoId() (v int64)

func (*CommentActionRequest) InitDefault

func (p *CommentActionRequest) InitDefault()

func (*CommentActionRequest) IsValid

func (p *CommentActionRequest) IsValid() error

IsValid 校验VideoId,ActionType

func (*CommentActionRequest) Read

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

func (*CommentActionRequest) ReadField1

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

func (*CommentActionRequest) ReadField2

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

func (*CommentActionRequest) ReadField3

func (p *CommentActionRequest) ReadField3(iprot thrift.TProtocol) error

func (*CommentActionRequest) ReadField4

func (p *CommentActionRequest) ReadField4(iprot thrift.TProtocol) error

func (*CommentActionRequest) ReadField5

func (p *CommentActionRequest) ReadField5(iprot thrift.TProtocol) error

func (*CommentActionRequest) SetActionType

func (p *CommentActionRequest) SetActionType(val int32)

func (*CommentActionRequest) SetCommentId

func (p *CommentActionRequest) SetCommentId(val int64)

func (*CommentActionRequest) SetCommentText

func (p *CommentActionRequest) SetCommentText(val string)

func (*CommentActionRequest) SetToken

func (p *CommentActionRequest) SetToken(val string)

func (*CommentActionRequest) SetVideoId

func (p *CommentActionRequest) SetVideoId(val int64)

func (*CommentActionRequest) String

func (p *CommentActionRequest) String() string

func (*CommentActionRequest) Write

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

type CommentActionResponse

type CommentActionResponse struct {
	StatusCode int32    `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  string   `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"`
	Comment    *Comment `thrift:"comment,3" frugal:"3,default,Comment" json:"comment"`
}
var InteractServiceCommentActionResult_Success_DEFAULT *CommentActionResponse

func NewCommentActionResponse

func NewCommentActionResponse() *CommentActionResponse

func (*CommentActionResponse) BLength

func (p *CommentActionResponse) BLength() int

func (*CommentActionResponse) DeepEqual

func (*CommentActionResponse) FastRead

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

func (*CommentActionResponse) FastReadField1

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

func (*CommentActionResponse) FastReadField2

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

func (*CommentActionResponse) FastReadField3

func (p *CommentActionResponse) FastReadField3(buf []byte) (int, error)

func (*CommentActionResponse) FastWrite

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

for compatibility

func (*CommentActionResponse) FastWriteNocopy

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

func (*CommentActionResponse) Field1DeepEqual

func (p *CommentActionResponse) Field1DeepEqual(src int32) bool

func (*CommentActionResponse) Field2DeepEqual

func (p *CommentActionResponse) Field2DeepEqual(src string) bool

func (*CommentActionResponse) Field3DeepEqual

func (p *CommentActionResponse) Field3DeepEqual(src *Comment) bool

func (*CommentActionResponse) GetComment

func (p *CommentActionResponse) GetComment() (v *Comment)

func (*CommentActionResponse) GetStatusCode

func (p *CommentActionResponse) GetStatusCode() (v int32)

func (*CommentActionResponse) GetStatusMsg

func (p *CommentActionResponse) GetStatusMsg() (v string)

func (*CommentActionResponse) InitDefault

func (p *CommentActionResponse) InitDefault()

func (*CommentActionResponse) IsSetComment

func (p *CommentActionResponse) IsSetComment() bool

func (*CommentActionResponse) Read

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

func (*CommentActionResponse) ReadField1

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

func (*CommentActionResponse) ReadField2

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

func (*CommentActionResponse) ReadField3

func (p *CommentActionResponse) ReadField3(iprot thrift.TProtocol) error

func (*CommentActionResponse) SetComment

func (p *CommentActionResponse) SetComment(val *Comment)

func (*CommentActionResponse) SetStatusCode

func (p *CommentActionResponse) SetStatusCode(val int32)

func (*CommentActionResponse) SetStatusMsg

func (p *CommentActionResponse) SetStatusMsg(val string)

func (*CommentActionResponse) String

func (p *CommentActionResponse) String() string

func (*CommentActionResponse) Write

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

type CommentListRequest

type CommentListRequest struct {
	Token   string `thrift:"token,1" frugal:"1,default,string" json:"token"`
	VideoId int64  `thrift:"video_id,2" frugal:"2,default,i64" json:"video_id"`
}
var InteractServiceGetCommentListArgs_Req_DEFAULT *CommentListRequest

func NewCommentListRequest

func NewCommentListRequest() *CommentListRequest

func (*CommentListRequest) BLength

func (p *CommentListRequest) BLength() int

func (*CommentListRequest) DeepEqual

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

func (*CommentListRequest) FastRead

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

func (*CommentListRequest) FastReadField1

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

func (*CommentListRequest) FastReadField2

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

func (*CommentListRequest) FastWrite

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

for compatibility

func (*CommentListRequest) FastWriteNocopy

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

func (*CommentListRequest) Field1DeepEqual

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

func (*CommentListRequest) Field2DeepEqual

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

func (*CommentListRequest) GetToken

func (p *CommentListRequest) GetToken() (v string)

func (*CommentListRequest) GetVideoId

func (p *CommentListRequest) GetVideoId() (v int64)

func (*CommentListRequest) InitDefault

func (p *CommentListRequest) InitDefault()

func (*CommentListRequest) IsValid

func (p *CommentListRequest) IsValid() error

IsValid 校验VideoId

func (*CommentListRequest) Read

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

func (*CommentListRequest) ReadField1

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

func (*CommentListRequest) ReadField2

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

func (*CommentListRequest) SetToken

func (p *CommentListRequest) SetToken(val string)

func (*CommentListRequest) SetVideoId

func (p *CommentListRequest) SetVideoId(val int64)

func (*CommentListRequest) String

func (p *CommentListRequest) String() string

func (*CommentListRequest) Write

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

type CommentListResponse

type CommentListResponse struct {
	StatusCode  int32      `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg   string     `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"`
	CommentList []*Comment `thrift:"comment_list,3" frugal:"3,default,list<Comment>" json:"comment_list"`
}
var InteractServiceGetCommentListResult_Success_DEFAULT *CommentListResponse

func NewCommentListResponse

func NewCommentListResponse() *CommentListResponse

func (*CommentListResponse) BLength

func (p *CommentListResponse) BLength() int

func (*CommentListResponse) DeepEqual

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

func (*CommentListResponse) FastRead

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

func (*CommentListResponse) FastReadField1

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

func (*CommentListResponse) FastReadField2

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

func (*CommentListResponse) FastReadField3

func (p *CommentListResponse) FastReadField3(buf []byte) (int, error)

func (*CommentListResponse) FastWrite

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

for compatibility

func (*CommentListResponse) FastWriteNocopy

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

func (*CommentListResponse) Field1DeepEqual

func (p *CommentListResponse) Field1DeepEqual(src int32) bool

func (*CommentListResponse) Field2DeepEqual

func (p *CommentListResponse) Field2DeepEqual(src string) bool

func (*CommentListResponse) Field3DeepEqual

func (p *CommentListResponse) Field3DeepEqual(src []*Comment) bool

func (*CommentListResponse) GetCommentList

func (p *CommentListResponse) GetCommentList() (v []*Comment)

func (*CommentListResponse) GetStatusCode

func (p *CommentListResponse) GetStatusCode() (v int32)

func (*CommentListResponse) GetStatusMsg

func (p *CommentListResponse) GetStatusMsg() (v string)

func (*CommentListResponse) InitDefault

func (p *CommentListResponse) InitDefault()

func (*CommentListResponse) Read

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

func (*CommentListResponse) ReadField1

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

func (*CommentListResponse) ReadField2

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

func (*CommentListResponse) ReadField3

func (p *CommentListResponse) ReadField3(iprot thrift.TProtocol) error

func (*CommentListResponse) SetCommentList

func (p *CommentListResponse) SetCommentList(val []*Comment)

func (*CommentListResponse) SetStatusCode

func (p *CommentListResponse) SetStatusCode(val int32)

func (*CommentListResponse) SetStatusMsg

func (p *CommentListResponse) SetStatusMsg(val string)

func (*CommentListResponse) String

func (p *CommentListResponse) String() string

func (*CommentListResponse) Write

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

type FavoriteActionRequest

type FavoriteActionRequest struct {
	Token      string `thrift:"token,1" frugal:"1,default,string" json:"token"`
	VideoId    int64  `thrift:"video_id,2" frugal:"2,default,i64" json:"video_id"`
	ActionType int32  `thrift:"action_type,3" frugal:"3,default,i32" json:"action_type"`
}
var InteractServiceFavoriteActionArgs_Req_DEFAULT *FavoriteActionRequest

func NewFavoriteActionRequest

func NewFavoriteActionRequest() *FavoriteActionRequest

func (*FavoriteActionRequest) BLength

func (p *FavoriteActionRequest) BLength() int

func (*FavoriteActionRequest) DeepEqual

func (*FavoriteActionRequest) FastRead

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

func (*FavoriteActionRequest) FastReadField1

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

func (*FavoriteActionRequest) FastReadField2

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

func (*FavoriteActionRequest) FastReadField3

func (p *FavoriteActionRequest) FastReadField3(buf []byte) (int, error)

func (*FavoriteActionRequest) FastWrite

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

for compatibility

func (*FavoriteActionRequest) FastWriteNocopy

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

func (*FavoriteActionRequest) Field1DeepEqual

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

func (*FavoriteActionRequest) Field2DeepEqual

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

func (*FavoriteActionRequest) Field3DeepEqual

func (p *FavoriteActionRequest) Field3DeepEqual(src int32) bool

func (*FavoriteActionRequest) GetActionType

func (p *FavoriteActionRequest) GetActionType() (v int32)

func (*FavoriteActionRequest) GetToken

func (p *FavoriteActionRequest) GetToken() (v string)

func (*FavoriteActionRequest) GetVideoId

func (p *FavoriteActionRequest) GetVideoId() (v int64)

func (*FavoriteActionRequest) InitDefault

func (p *FavoriteActionRequest) InitDefault()

func (*FavoriteActionRequest) IsValid

func (p *FavoriteActionRequest) IsValid() error

IsValid 校验VideoId,ActionType

func (*FavoriteActionRequest) Read

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

func (*FavoriteActionRequest) ReadField1

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

func (*FavoriteActionRequest) ReadField2

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

func (*FavoriteActionRequest) ReadField3

func (p *FavoriteActionRequest) ReadField3(iprot thrift.TProtocol) error

func (*FavoriteActionRequest) SetActionType

func (p *FavoriteActionRequest) SetActionType(val int32)

func (*FavoriteActionRequest) SetToken

func (p *FavoriteActionRequest) SetToken(val string)

func (*FavoriteActionRequest) SetVideoId

func (p *FavoriteActionRequest) SetVideoId(val int64)

func (*FavoriteActionRequest) String

func (p *FavoriteActionRequest) String() string

func (*FavoriteActionRequest) Write

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

type FavoriteActionResponse

type FavoriteActionResponse struct {
	StatusCode int32  `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  string `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"`
}
var InteractServiceFavoriteActionResult_Success_DEFAULT *FavoriteActionResponse

func NewFavoriteActionResponse

func NewFavoriteActionResponse() *FavoriteActionResponse

func (*FavoriteActionResponse) BLength

func (p *FavoriteActionResponse) BLength() int

func (*FavoriteActionResponse) DeepEqual

func (*FavoriteActionResponse) FastRead

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

func (*FavoriteActionResponse) FastReadField1

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

func (*FavoriteActionResponse) FastReadField2

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

func (*FavoriteActionResponse) FastWrite

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

for compatibility

func (*FavoriteActionResponse) FastWriteNocopy

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

func (*FavoriteActionResponse) Field1DeepEqual

func (p *FavoriteActionResponse) Field1DeepEqual(src int32) bool

func (*FavoriteActionResponse) Field2DeepEqual

func (p *FavoriteActionResponse) Field2DeepEqual(src string) bool

func (*FavoriteActionResponse) GetStatusCode

func (p *FavoriteActionResponse) GetStatusCode() (v int32)

func (*FavoriteActionResponse) GetStatusMsg

func (p *FavoriteActionResponse) GetStatusMsg() (v string)

func (*FavoriteActionResponse) InitDefault

func (p *FavoriteActionResponse) InitDefault()

func (*FavoriteActionResponse) Read

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

func (*FavoriteActionResponse) ReadField1

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

func (*FavoriteActionResponse) ReadField2

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

func (*FavoriteActionResponse) SetStatusCode

func (p *FavoriteActionResponse) SetStatusCode(val int32)

func (*FavoriteActionResponse) SetStatusMsg

func (p *FavoriteActionResponse) SetStatusMsg(val string)

func (*FavoriteActionResponse) String

func (p *FavoriteActionResponse) String() string

func (*FavoriteActionResponse) Write

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

type FavoriteListRequest

type FavoriteListRequest struct {
	UserId int64  `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"`
	Token  string `thrift:"token,2" frugal:"2,default,string" json:"token"`
}
var InteractServiceGetFavoriteListArgs_Req_DEFAULT *FavoriteListRequest

func NewFavoriteListRequest

func NewFavoriteListRequest() *FavoriteListRequest

func (*FavoriteListRequest) BLength

func (p *FavoriteListRequest) BLength() int

func (*FavoriteListRequest) DeepEqual

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

func (*FavoriteListRequest) FastRead

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

func (*FavoriteListRequest) FastReadField1

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

func (*FavoriteListRequest) FastReadField2

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

func (*FavoriteListRequest) FastWrite

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

for compatibility

func (*FavoriteListRequest) FastWriteNocopy

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

func (*FavoriteListRequest) Field1DeepEqual

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

func (*FavoriteListRequest) Field2DeepEqual

func (p *FavoriteListRequest) Field2DeepEqual(src string) bool

func (*FavoriteListRequest) GetToken

func (p *FavoriteListRequest) GetToken() (v string)

func (*FavoriteListRequest) GetUserId

func (p *FavoriteListRequest) GetUserId() (v int64)

func (*FavoriteListRequest) InitDefault

func (p *FavoriteListRequest) InitDefault()

func (*FavoriteListRequest) IsValid

func (p *FavoriteListRequest) IsValid() error

IsValid 校验UserId

func (*FavoriteListRequest) Read

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

func (*FavoriteListRequest) ReadField1

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

func (*FavoriteListRequest) ReadField2

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

func (*FavoriteListRequest) SetToken

func (p *FavoriteListRequest) SetToken(val string)

func (*FavoriteListRequest) SetUserId

func (p *FavoriteListRequest) SetUserId(val int64)

func (*FavoriteListRequest) String

func (p *FavoriteListRequest) String() string

func (*FavoriteListRequest) Write

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

type FavoriteListResponse

type FavoriteListResponse struct {
	StatusCode int32          `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  string         `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"`
	VideoList  []*video.Video `thrift:"video_list,3" frugal:"3,default,list<video.Video>" json:"video_list"`
}
var InteractServiceGetFavoriteListResult_Success_DEFAULT *FavoriteListResponse

func NewFavoriteListResponse

func NewFavoriteListResponse() *FavoriteListResponse

func (*FavoriteListResponse) BLength

func (p *FavoriteListResponse) BLength() int

func (*FavoriteListResponse) DeepEqual

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

func (*FavoriteListResponse) FastRead

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

func (*FavoriteListResponse) FastReadField1

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

func (*FavoriteListResponse) FastReadField2

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

func (*FavoriteListResponse) FastReadField3

func (p *FavoriteListResponse) FastReadField3(buf []byte) (int, error)

func (*FavoriteListResponse) FastWrite

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

for compatibility

func (*FavoriteListResponse) FastWriteNocopy

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

func (*FavoriteListResponse) Field1DeepEqual

func (p *FavoriteListResponse) Field1DeepEqual(src int32) bool

func (*FavoriteListResponse) Field2DeepEqual

func (p *FavoriteListResponse) Field2DeepEqual(src string) bool

func (*FavoriteListResponse) Field3DeepEqual

func (p *FavoriteListResponse) Field3DeepEqual(src []*video.Video) bool

func (*FavoriteListResponse) GetStatusCode

func (p *FavoriteListResponse) GetStatusCode() (v int32)

func (*FavoriteListResponse) GetStatusMsg

func (p *FavoriteListResponse) GetStatusMsg() (v string)

func (*FavoriteListResponse) GetVideoList

func (p *FavoriteListResponse) GetVideoList() (v []*video.Video)

func (*FavoriteListResponse) InitDefault

func (p *FavoriteListResponse) InitDefault()

func (*FavoriteListResponse) Read

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

func (*FavoriteListResponse) ReadField1

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

func (*FavoriteListResponse) ReadField2

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

func (*FavoriteListResponse) ReadField3

func (p *FavoriteListResponse) ReadField3(iprot thrift.TProtocol) error

func (*FavoriteListResponse) SetStatusCode

func (p *FavoriteListResponse) SetStatusCode(val int32)

func (*FavoriteListResponse) SetStatusMsg

func (p *FavoriteListResponse) SetStatusMsg(val string)

func (*FavoriteListResponse) SetVideoList

func (p *FavoriteListResponse) SetVideoList(val []*video.Video)

func (*FavoriteListResponse) String

func (p *FavoriteListResponse) String() string

func (*FavoriteListResponse) Write

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

type InteractService

type InteractService interface {
	FavoriteAction(ctx context.Context, req *FavoriteActionRequest) (r *FavoriteActionResponse, err error)

	GetFavoriteList(ctx context.Context, req *FavoriteListRequest) (r *FavoriteListResponse, err error)

	CommentAction(ctx context.Context, req *CommentActionRequest) (r *CommentActionResponse, err error)

	GetCommentList(ctx context.Context, req *CommentListRequest) (r *CommentListResponse, err error)

	GetVideoInteract(ctx context.Context, req *VideoInteractRequest) (r *VideoInteractResponse, err error)
}

type InteractServiceClient

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

func NewInteractServiceClient

func NewInteractServiceClient(c thrift.TClient) *InteractServiceClient

func NewInteractServiceClientProtocol

func NewInteractServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *InteractServiceClient

func (*InteractServiceClient) Client_

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

func (*InteractServiceClient) CommentAction

func (*InteractServiceClient) FavoriteAction

func (*InteractServiceClient) GetCommentList

func (p *InteractServiceClient) GetCommentList(ctx context.Context, req *CommentListRequest) (r *CommentListResponse, err error)

func (*InteractServiceClient) GetFavoriteList

func (p *InteractServiceClient) GetFavoriteList(ctx context.Context, req *FavoriteListRequest) (r *FavoriteListResponse, err error)

func (*InteractServiceClient) GetVideoInteract

func (p *InteractServiceClient) GetVideoInteract(ctx context.Context, req *VideoInteractRequest) (r *VideoInteractResponse, err error)

type InteractServiceCommentActionArgs

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

func NewInteractServiceCommentActionArgs

func NewInteractServiceCommentActionArgs() *InteractServiceCommentActionArgs

func (*InteractServiceCommentActionArgs) BLength

func (*InteractServiceCommentActionArgs) DeepEqual

func (*InteractServiceCommentActionArgs) FastRead

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

func (*InteractServiceCommentActionArgs) FastReadField1

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

func (*InteractServiceCommentActionArgs) FastWrite

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

for compatibility

func (*InteractServiceCommentActionArgs) FastWriteNocopy

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

func (*InteractServiceCommentActionArgs) Field1DeepEqual

func (*InteractServiceCommentActionArgs) GetFirstArgument

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

func (*InteractServiceCommentActionArgs) GetReq

func (*InteractServiceCommentActionArgs) InitDefault

func (p *InteractServiceCommentActionArgs) InitDefault()

func (*InteractServiceCommentActionArgs) IsSetReq

func (p *InteractServiceCommentActionArgs) IsSetReq() bool

func (*InteractServiceCommentActionArgs) Read

func (*InteractServiceCommentActionArgs) ReadField1

func (*InteractServiceCommentActionArgs) SetReq

func (*InteractServiceCommentActionArgs) String

func (*InteractServiceCommentActionArgs) Write

type InteractServiceCommentActionResult

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

func NewInteractServiceCommentActionResult

func NewInteractServiceCommentActionResult() *InteractServiceCommentActionResult

func (*InteractServiceCommentActionResult) BLength

func (*InteractServiceCommentActionResult) DeepEqual

func (*InteractServiceCommentActionResult) FastRead

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

func (*InteractServiceCommentActionResult) FastReadField0

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

func (*InteractServiceCommentActionResult) FastWrite

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

for compatibility

func (*InteractServiceCommentActionResult) FastWriteNocopy

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

func (*InteractServiceCommentActionResult) Field0DeepEqual

func (*InteractServiceCommentActionResult) GetResult

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

func (*InteractServiceCommentActionResult) GetSuccess

func (*InteractServiceCommentActionResult) InitDefault

func (p *InteractServiceCommentActionResult) InitDefault()

func (*InteractServiceCommentActionResult) IsSetSuccess

func (p *InteractServiceCommentActionResult) IsSetSuccess() bool

func (*InteractServiceCommentActionResult) Read

func (*InteractServiceCommentActionResult) ReadField0

func (*InteractServiceCommentActionResult) SetSuccess

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

func (*InteractServiceCommentActionResult) String

func (*InteractServiceCommentActionResult) Write

type InteractServiceFavoriteActionArgs

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

func NewInteractServiceFavoriteActionArgs

func NewInteractServiceFavoriteActionArgs() *InteractServiceFavoriteActionArgs

func (*InteractServiceFavoriteActionArgs) BLength

func (*InteractServiceFavoriteActionArgs) DeepEqual

func (*InteractServiceFavoriteActionArgs) FastRead

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

func (*InteractServiceFavoriteActionArgs) FastReadField1

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

func (*InteractServiceFavoriteActionArgs) FastWrite

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

for compatibility

func (*InteractServiceFavoriteActionArgs) FastWriteNocopy

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

func (*InteractServiceFavoriteActionArgs) Field1DeepEqual

func (*InteractServiceFavoriteActionArgs) GetFirstArgument

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

func (*InteractServiceFavoriteActionArgs) GetReq

func (*InteractServiceFavoriteActionArgs) InitDefault

func (p *InteractServiceFavoriteActionArgs) InitDefault()

func (*InteractServiceFavoriteActionArgs) IsSetReq

func (*InteractServiceFavoriteActionArgs) Read

func (*InteractServiceFavoriteActionArgs) ReadField1

func (*InteractServiceFavoriteActionArgs) SetReq

func (*InteractServiceFavoriteActionArgs) String

func (*InteractServiceFavoriteActionArgs) Write

type InteractServiceFavoriteActionResult

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

func NewInteractServiceFavoriteActionResult

func NewInteractServiceFavoriteActionResult() *InteractServiceFavoriteActionResult

func (*InteractServiceFavoriteActionResult) BLength

func (*InteractServiceFavoriteActionResult) DeepEqual

func (*InteractServiceFavoriteActionResult) FastRead

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

func (*InteractServiceFavoriteActionResult) FastReadField0

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

func (*InteractServiceFavoriteActionResult) FastWrite

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

for compatibility

func (*InteractServiceFavoriteActionResult) FastWriteNocopy

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

func (*InteractServiceFavoriteActionResult) Field0DeepEqual

func (*InteractServiceFavoriteActionResult) GetResult

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

func (*InteractServiceFavoriteActionResult) GetSuccess

func (*InteractServiceFavoriteActionResult) InitDefault

func (p *InteractServiceFavoriteActionResult) InitDefault()

func (*InteractServiceFavoriteActionResult) IsSetSuccess

func (p *InteractServiceFavoriteActionResult) IsSetSuccess() bool

func (*InteractServiceFavoriteActionResult) Read

func (*InteractServiceFavoriteActionResult) ReadField0

func (*InteractServiceFavoriteActionResult) SetSuccess

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

func (*InteractServiceFavoriteActionResult) String

func (*InteractServiceFavoriteActionResult) Write

type InteractServiceGetCommentListArgs

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

func NewInteractServiceGetCommentListArgs

func NewInteractServiceGetCommentListArgs() *InteractServiceGetCommentListArgs

func (*InteractServiceGetCommentListArgs) BLength

func (*InteractServiceGetCommentListArgs) DeepEqual

func (*InteractServiceGetCommentListArgs) FastRead

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

func (*InteractServiceGetCommentListArgs) FastReadField1

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

func (*InteractServiceGetCommentListArgs) FastWrite

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

for compatibility

func (*InteractServiceGetCommentListArgs) FastWriteNocopy

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

func (*InteractServiceGetCommentListArgs) Field1DeepEqual

func (*InteractServiceGetCommentListArgs) GetFirstArgument

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

func (*InteractServiceGetCommentListArgs) GetReq

func (*InteractServiceGetCommentListArgs) InitDefault

func (p *InteractServiceGetCommentListArgs) InitDefault()

func (*InteractServiceGetCommentListArgs) IsSetReq

func (*InteractServiceGetCommentListArgs) Read

func (*InteractServiceGetCommentListArgs) ReadField1

func (*InteractServiceGetCommentListArgs) SetReq

func (*InteractServiceGetCommentListArgs) String

func (*InteractServiceGetCommentListArgs) Write

type InteractServiceGetCommentListResult

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

func NewInteractServiceGetCommentListResult

func NewInteractServiceGetCommentListResult() *InteractServiceGetCommentListResult

func (*InteractServiceGetCommentListResult) BLength

func (*InteractServiceGetCommentListResult) DeepEqual

func (*InteractServiceGetCommentListResult) FastRead

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

func (*InteractServiceGetCommentListResult) FastReadField0

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

func (*InteractServiceGetCommentListResult) FastWrite

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

for compatibility

func (*InteractServiceGetCommentListResult) FastWriteNocopy

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

func (*InteractServiceGetCommentListResult) Field0DeepEqual

func (*InteractServiceGetCommentListResult) GetResult

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

func (*InteractServiceGetCommentListResult) GetSuccess

func (*InteractServiceGetCommentListResult) InitDefault

func (p *InteractServiceGetCommentListResult) InitDefault()

func (*InteractServiceGetCommentListResult) IsSetSuccess

func (p *InteractServiceGetCommentListResult) IsSetSuccess() bool

func (*InteractServiceGetCommentListResult) Read

func (*InteractServiceGetCommentListResult) ReadField0

func (*InteractServiceGetCommentListResult) SetSuccess

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

func (*InteractServiceGetCommentListResult) String

func (*InteractServiceGetCommentListResult) Write

type InteractServiceGetFavoriteListArgs

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

func NewInteractServiceGetFavoriteListArgs

func NewInteractServiceGetFavoriteListArgs() *InteractServiceGetFavoriteListArgs

func (*InteractServiceGetFavoriteListArgs) BLength

func (*InteractServiceGetFavoriteListArgs) DeepEqual

func (*InteractServiceGetFavoriteListArgs) FastRead

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

func (*InteractServiceGetFavoriteListArgs) FastReadField1

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

func (*InteractServiceGetFavoriteListArgs) FastWrite

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

for compatibility

func (*InteractServiceGetFavoriteListArgs) FastWriteNocopy

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

func (*InteractServiceGetFavoriteListArgs) Field1DeepEqual

func (*InteractServiceGetFavoriteListArgs) GetFirstArgument

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

func (*InteractServiceGetFavoriteListArgs) GetReq

func (*InteractServiceGetFavoriteListArgs) InitDefault

func (p *InteractServiceGetFavoriteListArgs) InitDefault()

func (*InteractServiceGetFavoriteListArgs) IsSetReq

func (*InteractServiceGetFavoriteListArgs) Read

func (*InteractServiceGetFavoriteListArgs) ReadField1

func (*InteractServiceGetFavoriteListArgs) SetReq

func (*InteractServiceGetFavoriteListArgs) String

func (*InteractServiceGetFavoriteListArgs) Write

type InteractServiceGetFavoriteListResult

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

func NewInteractServiceGetFavoriteListResult

func NewInteractServiceGetFavoriteListResult() *InteractServiceGetFavoriteListResult

func (*InteractServiceGetFavoriteListResult) BLength

func (*InteractServiceGetFavoriteListResult) DeepEqual

func (*InteractServiceGetFavoriteListResult) FastRead

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

func (*InteractServiceGetFavoriteListResult) FastReadField0

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

func (*InteractServiceGetFavoriteListResult) FastWrite

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

for compatibility

func (*InteractServiceGetFavoriteListResult) FastWriteNocopy

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

func (*InteractServiceGetFavoriteListResult) Field0DeepEqual

func (*InteractServiceGetFavoriteListResult) GetResult

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

func (*InteractServiceGetFavoriteListResult) GetSuccess

func (*InteractServiceGetFavoriteListResult) InitDefault

func (p *InteractServiceGetFavoriteListResult) InitDefault()

func (*InteractServiceGetFavoriteListResult) IsSetSuccess

func (p *InteractServiceGetFavoriteListResult) IsSetSuccess() bool

func (*InteractServiceGetFavoriteListResult) Read

func (*InteractServiceGetFavoriteListResult) ReadField0

func (*InteractServiceGetFavoriteListResult) SetSuccess

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

func (*InteractServiceGetFavoriteListResult) String

func (*InteractServiceGetFavoriteListResult) Write

type InteractServiceGetVideoInteractArgs

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

func NewInteractServiceGetVideoInteractArgs

func NewInteractServiceGetVideoInteractArgs() *InteractServiceGetVideoInteractArgs

func (*InteractServiceGetVideoInteractArgs) BLength

func (*InteractServiceGetVideoInteractArgs) DeepEqual

func (*InteractServiceGetVideoInteractArgs) FastRead

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

func (*InteractServiceGetVideoInteractArgs) FastReadField1

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

func (*InteractServiceGetVideoInteractArgs) FastWrite

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

for compatibility

func (*InteractServiceGetVideoInteractArgs) FastWriteNocopy

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

func (*InteractServiceGetVideoInteractArgs) Field1DeepEqual

func (*InteractServiceGetVideoInteractArgs) GetFirstArgument

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

func (*InteractServiceGetVideoInteractArgs) GetReq

func (*InteractServiceGetVideoInteractArgs) InitDefault

func (p *InteractServiceGetVideoInteractArgs) InitDefault()

func (*InteractServiceGetVideoInteractArgs) IsSetReq

func (*InteractServiceGetVideoInteractArgs) Read

func (*InteractServiceGetVideoInteractArgs) ReadField1

func (*InteractServiceGetVideoInteractArgs) SetReq

func (*InteractServiceGetVideoInteractArgs) String

func (*InteractServiceGetVideoInteractArgs) Write

type InteractServiceGetVideoInteractResult

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

func NewInteractServiceGetVideoInteractResult

func NewInteractServiceGetVideoInteractResult() *InteractServiceGetVideoInteractResult

func (*InteractServiceGetVideoInteractResult) BLength

func (*InteractServiceGetVideoInteractResult) DeepEqual

func (*InteractServiceGetVideoInteractResult) FastRead

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

func (*InteractServiceGetVideoInteractResult) FastReadField0

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

func (*InteractServiceGetVideoInteractResult) FastWrite

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

for compatibility

func (*InteractServiceGetVideoInteractResult) FastWriteNocopy

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

func (*InteractServiceGetVideoInteractResult) Field0DeepEqual

func (*InteractServiceGetVideoInteractResult) GetResult

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

func (*InteractServiceGetVideoInteractResult) GetSuccess

func (*InteractServiceGetVideoInteractResult) InitDefault

func (p *InteractServiceGetVideoInteractResult) InitDefault()

func (*InteractServiceGetVideoInteractResult) IsSetSuccess

func (p *InteractServiceGetVideoInteractResult) IsSetSuccess() bool

func (*InteractServiceGetVideoInteractResult) Read

func (*InteractServiceGetVideoInteractResult) ReadField0

func (*InteractServiceGetVideoInteractResult) SetSuccess

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

func (*InteractServiceGetVideoInteractResult) String

func (*InteractServiceGetVideoInteractResult) Write

type InteractServiceProcessor

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

func NewInteractServiceProcessor

func NewInteractServiceProcessor(handler InteractService) *InteractServiceProcessor

func (*InteractServiceProcessor) AddToProcessorMap

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

func (*InteractServiceProcessor) GetProcessorFunction

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

func (*InteractServiceProcessor) Process

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

func (*InteractServiceProcessor) ProcessorMap

type VideoInteractRequest

type VideoInteractRequest struct {
	UserId  int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"`
	VideoId int64 `thrift:"video_id,2" frugal:"2,default,i64" json:"video_id"`
}
var InteractServiceGetVideoInteractArgs_Req_DEFAULT *VideoInteractRequest

func NewVideoInteractRequest

func NewVideoInteractRequest() *VideoInteractRequest

func (*VideoInteractRequest) BLength

func (p *VideoInteractRequest) BLength() int

func (*VideoInteractRequest) DeepEqual

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

func (*VideoInteractRequest) FastRead

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

func (*VideoInteractRequest) FastReadField1

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

func (*VideoInteractRequest) FastReadField2

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

func (*VideoInteractRequest) FastWrite

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

for compatibility

func (*VideoInteractRequest) FastWriteNocopy

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

func (*VideoInteractRequest) Field1DeepEqual

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

func (*VideoInteractRequest) Field2DeepEqual

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

func (*VideoInteractRequest) GetUserId

func (p *VideoInteractRequest) GetUserId() (v int64)

func (*VideoInteractRequest) GetVideoId

func (p *VideoInteractRequest) GetVideoId() (v int64)

func (*VideoInteractRequest) InitDefault

func (p *VideoInteractRequest) InitDefault()

func (*VideoInteractRequest) IsValid

func (p *VideoInteractRequest) IsValid() error

IsValid 校验UserId,VideoId

func (*VideoInteractRequest) Read

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

func (*VideoInteractRequest) ReadField1

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

func (*VideoInteractRequest) ReadField2

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

func (*VideoInteractRequest) SetUserId

func (p *VideoInteractRequest) SetUserId(val int64)

func (*VideoInteractRequest) SetVideoId

func (p *VideoInteractRequest) SetVideoId(val int64)

func (*VideoInteractRequest) String

func (p *VideoInteractRequest) String() string

func (*VideoInteractRequest) Write

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

type VideoInteractResponse

type VideoInteractResponse struct {
	StatusCode    int32  `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg     string `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"`
	FavoriteCount int64  `thrift:"favorite_count,3" frugal:"3,default,i64" json:"favorite_count"`
	CommentCount  int64  `thrift:"comment_count,4" frugal:"4,default,i64" json:"comment_count"`
	IsFavorite    bool   `thrift:"is_favorite,5" frugal:"5,default,bool" json:"is_favorite"`
}
var InteractServiceGetVideoInteractResult_Success_DEFAULT *VideoInteractResponse

func NewVideoInteractResponse

func NewVideoInteractResponse() *VideoInteractResponse

func (*VideoInteractResponse) BLength

func (p *VideoInteractResponse) BLength() int

func (*VideoInteractResponse) DeepEqual

func (*VideoInteractResponse) FastRead

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

func (*VideoInteractResponse) FastReadField1

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

func (*VideoInteractResponse) FastReadField2

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

func (*VideoInteractResponse) FastReadField3

func (p *VideoInteractResponse) FastReadField3(buf []byte) (int, error)

func (*VideoInteractResponse) FastReadField4

func (p *VideoInteractResponse) FastReadField4(buf []byte) (int, error)

func (*VideoInteractResponse) FastReadField5

func (p *VideoInteractResponse) FastReadField5(buf []byte) (int, error)

func (*VideoInteractResponse) FastWrite

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

for compatibility

func (*VideoInteractResponse) FastWriteNocopy

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

func (*VideoInteractResponse) Field1DeepEqual

func (p *VideoInteractResponse) Field1DeepEqual(src int32) bool

func (*VideoInteractResponse) Field2DeepEqual

func (p *VideoInteractResponse) Field2DeepEqual(src string) bool

func (*VideoInteractResponse) Field3DeepEqual

func (p *VideoInteractResponse) Field3DeepEqual(src int64) bool

func (*VideoInteractResponse) Field4DeepEqual

func (p *VideoInteractResponse) Field4DeepEqual(src int64) bool

func (*VideoInteractResponse) Field5DeepEqual

func (p *VideoInteractResponse) Field5DeepEqual(src bool) bool

func (*VideoInteractResponse) GetCommentCount

func (p *VideoInteractResponse) GetCommentCount() (v int64)

func (*VideoInteractResponse) GetFavoriteCount

func (p *VideoInteractResponse) GetFavoriteCount() (v int64)

func (*VideoInteractResponse) GetIsFavorite

func (p *VideoInteractResponse) GetIsFavorite() (v bool)

func (*VideoInteractResponse) GetStatusCode

func (p *VideoInteractResponse) GetStatusCode() (v int32)

func (*VideoInteractResponse) GetStatusMsg

func (p *VideoInteractResponse) GetStatusMsg() (v string)

func (*VideoInteractResponse) InitDefault

func (p *VideoInteractResponse) InitDefault()

func (*VideoInteractResponse) Read

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

func (*VideoInteractResponse) ReadField1

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

func (*VideoInteractResponse) ReadField2

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

func (*VideoInteractResponse) ReadField3

func (p *VideoInteractResponse) ReadField3(iprot thrift.TProtocol) error

func (*VideoInteractResponse) ReadField4

func (p *VideoInteractResponse) ReadField4(iprot thrift.TProtocol) error

func (*VideoInteractResponse) ReadField5

func (p *VideoInteractResponse) ReadField5(iprot thrift.TProtocol) error

func (*VideoInteractResponse) SetCommentCount

func (p *VideoInteractResponse) SetCommentCount(val int64)

func (*VideoInteractResponse) SetFavoriteCount

func (p *VideoInteractResponse) SetFavoriteCount(val int64)

func (*VideoInteractResponse) SetIsFavorite

func (p *VideoInteractResponse) SetIsFavorite(val bool)

func (*VideoInteractResponse) SetStatusCode

func (p *VideoInteractResponse) SetStatusCode(val int32)

func (*VideoInteractResponse) SetStatusMsg

func (p *VideoInteractResponse) SetStatusMsg(val string)

func (*VideoInteractResponse) String

func (p *VideoInteractResponse) String() string

func (*VideoInteractResponse) Write

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

Directories

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

Jump to

Keyboard shortcuts

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