favorite

package
v0.0.0-...-542fe02 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FavoriteActionResponse_StatusMsg_DEFAULT string
View Source
var FavoriteCountByUserIDResponse_StatusMsg_DEFAULT string
View Source
var FavoriteCountResponse_StatusMsg_DEFAULT string
View Source
var FavoriteListResponse_StatusMsg_DEFAULT string
View Source
var IsFavoriteResponse_StatusMsg_DEFAULT string
View Source
var KitexUnusedProtection = struct{}{}

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

View Source
var TotalFavoritedByAuthorIDResponse_StatusMsg_DEFAULT string

Functions

This section is empty.

Types

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"`
	UserId     int64  `thrift:"user_id,4" frugal:"4,default,i64" json:"user_id"`
}
var FavoriteServiceFavoriteActionArgs_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) FastReadField4

func (p *FavoriteActionRequest) FastReadField4(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) Field4DeepEqual

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

func (*FavoriteActionRequest) GetActionType

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

func (*FavoriteActionRequest) GetToken

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

func (*FavoriteActionRequest) GetUserId

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

func (*FavoriteActionRequest) GetVideoId

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

func (*FavoriteActionRequest) InitDefault

func (p *FavoriteActionRequest) InitDefault()

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

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

func (*FavoriteActionRequest) SetActionType

func (p *FavoriteActionRequest) SetActionType(val int32)

func (*FavoriteActionRequest) SetToken

func (p *FavoriteActionRequest) SetToken(val string)

func (*FavoriteActionRequest) SetUserId

func (p *FavoriteActionRequest) SetUserId(val int64)

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,optional" frugal:"2,optional,string" json:"status_msg,omitempty"`
}
var FavoriteServiceFavoriteActionResult_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) IsSetStatusMsg

func (p *FavoriteActionResponse) IsSetStatusMsg() bool

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 FavoriteCountByUserIDRequest

type FavoriteCountByUserIDRequest struct {
	UserId int64 `thrift:"user_id,1" frugal:"1,default,i64" json:"user_id"`
}
var FavoriteServiceFavoriteCountByUserIDArgs_Req_DEFAULT *FavoriteCountByUserIDRequest

func NewFavoriteCountByUserIDRequest

func NewFavoriteCountByUserIDRequest() *FavoriteCountByUserIDRequest

func (*FavoriteCountByUserIDRequest) BLength

func (p *FavoriteCountByUserIDRequest) BLength() int

func (*FavoriteCountByUserIDRequest) DeepEqual

func (*FavoriteCountByUserIDRequest) FastRead

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

func (*FavoriteCountByUserIDRequest) FastReadField1

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

func (*FavoriteCountByUserIDRequest) FastWrite

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

for compatibility

func (*FavoriteCountByUserIDRequest) FastWriteNocopy

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

func (*FavoriteCountByUserIDRequest) Field1DeepEqual

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

func (*FavoriteCountByUserIDRequest) GetUserId

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

func (*FavoriteCountByUserIDRequest) InitDefault

func (p *FavoriteCountByUserIDRequest) InitDefault()

func (*FavoriteCountByUserIDRequest) Read

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

func (*FavoriteCountByUserIDRequest) ReadField1

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

func (*FavoriteCountByUserIDRequest) SetUserId

func (p *FavoriteCountByUserIDRequest) SetUserId(val int64)

func (*FavoriteCountByUserIDRequest) String

func (*FavoriteCountByUserIDRequest) Write

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

type FavoriteCountByUserIDResponse

type FavoriteCountByUserIDResponse struct {
	StatusCode    int32   `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg     *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"`
	FavoriteCount int64   `thrift:"favorite_count,3" frugal:"3,default,i64" json:"favorite_count"`
}
var FavoriteServiceFavoriteCountByUserIDResult_Success_DEFAULT *FavoriteCountByUserIDResponse

func NewFavoriteCountByUserIDResponse

func NewFavoriteCountByUserIDResponse() *FavoriteCountByUserIDResponse

func (*FavoriteCountByUserIDResponse) BLength

func (p *FavoriteCountByUserIDResponse) BLength() int

func (*FavoriteCountByUserIDResponse) DeepEqual

func (*FavoriteCountByUserIDResponse) FastRead

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

func (*FavoriteCountByUserIDResponse) FastReadField1

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

func (*FavoriteCountByUserIDResponse) FastReadField2

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

func (*FavoriteCountByUserIDResponse) FastReadField3

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

func (*FavoriteCountByUserIDResponse) FastWrite

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

for compatibility

func (*FavoriteCountByUserIDResponse) FastWriteNocopy

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

func (*FavoriteCountByUserIDResponse) Field1DeepEqual

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

func (*FavoriteCountByUserIDResponse) Field2DeepEqual

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

func (*FavoriteCountByUserIDResponse) Field3DeepEqual

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

func (*FavoriteCountByUserIDResponse) GetFavoriteCount

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

func (*FavoriteCountByUserIDResponse) GetStatusCode

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

func (*FavoriteCountByUserIDResponse) GetStatusMsg

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

func (*FavoriteCountByUserIDResponse) InitDefault

func (p *FavoriteCountByUserIDResponse) InitDefault()

func (*FavoriteCountByUserIDResponse) IsSetStatusMsg

func (p *FavoriteCountByUserIDResponse) IsSetStatusMsg() bool

func (*FavoriteCountByUserIDResponse) Read

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

func (*FavoriteCountByUserIDResponse) ReadField1

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

func (*FavoriteCountByUserIDResponse) ReadField2

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

func (*FavoriteCountByUserIDResponse) ReadField3

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

func (*FavoriteCountByUserIDResponse) SetFavoriteCount

func (p *FavoriteCountByUserIDResponse) SetFavoriteCount(val int64)

func (*FavoriteCountByUserIDResponse) SetStatusCode

func (p *FavoriteCountByUserIDResponse) SetStatusCode(val int32)

func (*FavoriteCountByUserIDResponse) SetStatusMsg

func (p *FavoriteCountByUserIDResponse) SetStatusMsg(val *string)

func (*FavoriteCountByUserIDResponse) String

func (*FavoriteCountByUserIDResponse) Write

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

type FavoriteCountRequest

type FavoriteCountRequest struct {
	VideoId int64 `thrift:"video_id,1" frugal:"1,default,i64" json:"video_id"`
}
var FavoriteServiceFavoriteCountArgs_Req_DEFAULT *FavoriteCountRequest

func NewFavoriteCountRequest

func NewFavoriteCountRequest() *FavoriteCountRequest

func (*FavoriteCountRequest) BLength

func (p *FavoriteCountRequest) BLength() int

func (*FavoriteCountRequest) DeepEqual

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

func (*FavoriteCountRequest) FastRead

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

func (*FavoriteCountRequest) FastReadField1

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

func (*FavoriteCountRequest) FastWrite

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

for compatibility

func (*FavoriteCountRequest) FastWriteNocopy

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

func (*FavoriteCountRequest) Field1DeepEqual

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

func (*FavoriteCountRequest) GetVideoId

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

func (*FavoriteCountRequest) InitDefault

func (p *FavoriteCountRequest) InitDefault()

func (*FavoriteCountRequest) Read

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

func (*FavoriteCountRequest) ReadField1

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

func (*FavoriteCountRequest) SetVideoId

func (p *FavoriteCountRequest) SetVideoId(val int64)

func (*FavoriteCountRequest) String

func (p *FavoriteCountRequest) String() string

func (*FavoriteCountRequest) Write

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

type FavoriteCountResponse

type FavoriteCountResponse struct {
	StatusCode    int32   `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg     *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"`
	FavoriteCount int64   `thrift:"favorite_count,3" frugal:"3,default,i64" json:"favorite_count"`
}
var FavoriteServiceFavoriteCountResult_Success_DEFAULT *FavoriteCountResponse

func NewFavoriteCountResponse

func NewFavoriteCountResponse() *FavoriteCountResponse

func (*FavoriteCountResponse) BLength

func (p *FavoriteCountResponse) BLength() int

func (*FavoriteCountResponse) DeepEqual

func (*FavoriteCountResponse) FastRead

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

func (*FavoriteCountResponse) FastReadField1

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

func (*FavoriteCountResponse) FastReadField2

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

func (*FavoriteCountResponse) FastReadField3

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

func (*FavoriteCountResponse) FastWrite

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

for compatibility

func (*FavoriteCountResponse) FastWriteNocopy

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

func (*FavoriteCountResponse) Field1DeepEqual

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

func (*FavoriteCountResponse) Field2DeepEqual

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

func (*FavoriteCountResponse) Field3DeepEqual

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

func (*FavoriteCountResponse) GetFavoriteCount

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

func (*FavoriteCountResponse) GetStatusCode

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

func (*FavoriteCountResponse) GetStatusMsg

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

func (*FavoriteCountResponse) InitDefault

func (p *FavoriteCountResponse) InitDefault()

func (*FavoriteCountResponse) IsSetStatusMsg

func (p *FavoriteCountResponse) IsSetStatusMsg() bool

func (*FavoriteCountResponse) Read

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

func (*FavoriteCountResponse) ReadField1

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

func (*FavoriteCountResponse) ReadField2

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

func (*FavoriteCountResponse) ReadField3

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

func (*FavoriteCountResponse) SetFavoriteCount

func (p *FavoriteCountResponse) SetFavoriteCount(val int64)

func (*FavoriteCountResponse) SetStatusCode

func (p *FavoriteCountResponse) SetStatusCode(val int32)

func (*FavoriteCountResponse) SetStatusMsg

func (p *FavoriteCountResponse) SetStatusMsg(val *string)

func (*FavoriteCountResponse) String

func (p *FavoriteCountResponse) String() string

func (*FavoriteCountResponse) Write

func (p *FavoriteCountResponse) 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 FavoriteServiceFavoriteListArgs_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) 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,optional" frugal:"2,optional,string" json:"status_msg,omitempty"`
	VideoList  []*Video `thrift:"video_list,3" frugal:"3,default,list<Video>" json:"video_list"`
}
var FavoriteServiceFavoriteListResult_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) 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)

func (*FavoriteListResponse) InitDefault

func (p *FavoriteListResponse) InitDefault()

func (*FavoriteListResponse) IsSetStatusMsg

func (p *FavoriteListResponse) IsSetStatusMsg() bool

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)

func (*FavoriteListResponse) String

func (p *FavoriteListResponse) String() string

func (*FavoriteListResponse) Write

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

type FavoriteService

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

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

	FavoriteCount(ctx context.Context, req *FavoriteCountRequest) (r *FavoriteCountResponse, err error)

	FavoriteCountByUserID(ctx context.Context, req *FavoriteCountByUserIDRequest) (r *FavoriteCountByUserIDResponse, err error)

	TotalFavoritedByAuthorID(ctx context.Context, req *TotalFavoritedByAuthorIDRequest) (r *TotalFavoritedByAuthorIDResponse, err error)

	IsFavorite(ctx context.Context, req *IsFavoriteRequest) (r *IsFavoriteResponse, err error)
}

type FavoriteServiceClient

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

func NewFavoriteServiceClient

func NewFavoriteServiceClient(c thrift.TClient) *FavoriteServiceClient

func NewFavoriteServiceClientProtocol

func NewFavoriteServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *FavoriteServiceClient

func (*FavoriteServiceClient) Client_

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

func (*FavoriteServiceClient) FavoriteAction

func (*FavoriteServiceClient) FavoriteCount

func (*FavoriteServiceClient) FavoriteCountByUserID

func (*FavoriteServiceClient) FavoriteList

func (*FavoriteServiceClient) IsFavorite

func (*FavoriteServiceClient) TotalFavoritedByAuthorID

type FavoriteServiceFavoriteActionArgs

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

func NewFavoriteServiceFavoriteActionArgs

func NewFavoriteServiceFavoriteActionArgs() *FavoriteServiceFavoriteActionArgs

func (*FavoriteServiceFavoriteActionArgs) BLength

func (*FavoriteServiceFavoriteActionArgs) DeepEqual

func (*FavoriteServiceFavoriteActionArgs) FastRead

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

func (*FavoriteServiceFavoriteActionArgs) FastReadField1

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

func (*FavoriteServiceFavoriteActionArgs) FastWrite

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

for compatibility

func (*FavoriteServiceFavoriteActionArgs) FastWriteNocopy

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

func (*FavoriteServiceFavoriteActionArgs) Field1DeepEqual

func (*FavoriteServiceFavoriteActionArgs) GetFirstArgument

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

func (*FavoriteServiceFavoriteActionArgs) GetReq

func (*FavoriteServiceFavoriteActionArgs) InitDefault

func (p *FavoriteServiceFavoriteActionArgs) InitDefault()

func (*FavoriteServiceFavoriteActionArgs) IsSetReq

func (*FavoriteServiceFavoriteActionArgs) Read

func (*FavoriteServiceFavoriteActionArgs) ReadField1

func (*FavoriteServiceFavoriteActionArgs) SetReq

func (*FavoriteServiceFavoriteActionArgs) String

func (*FavoriteServiceFavoriteActionArgs) Write

type FavoriteServiceFavoriteActionResult

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

func NewFavoriteServiceFavoriteActionResult

func NewFavoriteServiceFavoriteActionResult() *FavoriteServiceFavoriteActionResult

func (*FavoriteServiceFavoriteActionResult) BLength

func (*FavoriteServiceFavoriteActionResult) DeepEqual

func (*FavoriteServiceFavoriteActionResult) FastRead

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

func (*FavoriteServiceFavoriteActionResult) FastReadField0

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

func (*FavoriteServiceFavoriteActionResult) FastWrite

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

for compatibility

func (*FavoriteServiceFavoriteActionResult) FastWriteNocopy

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

func (*FavoriteServiceFavoriteActionResult) Field0DeepEqual

func (*FavoriteServiceFavoriteActionResult) GetResult

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

func (*FavoriteServiceFavoriteActionResult) GetSuccess

func (*FavoriteServiceFavoriteActionResult) InitDefault

func (p *FavoriteServiceFavoriteActionResult) InitDefault()

func (*FavoriteServiceFavoriteActionResult) IsSetSuccess

func (p *FavoriteServiceFavoriteActionResult) IsSetSuccess() bool

func (*FavoriteServiceFavoriteActionResult) Read

func (*FavoriteServiceFavoriteActionResult) ReadField0

func (*FavoriteServiceFavoriteActionResult) SetSuccess

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

func (*FavoriteServiceFavoriteActionResult) String

func (*FavoriteServiceFavoriteActionResult) Write

type FavoriteServiceFavoriteCountArgs

type FavoriteServiceFavoriteCountArgs struct {
	Req *FavoriteCountRequest `thrift:"req,1,required" frugal:"1,required,FavoriteCountRequest" json:"req"`
}

func NewFavoriteServiceFavoriteCountArgs

func NewFavoriteServiceFavoriteCountArgs() *FavoriteServiceFavoriteCountArgs

func (*FavoriteServiceFavoriteCountArgs) BLength

func (*FavoriteServiceFavoriteCountArgs) DeepEqual

func (*FavoriteServiceFavoriteCountArgs) FastRead

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

func (*FavoriteServiceFavoriteCountArgs) FastReadField1

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

func (*FavoriteServiceFavoriteCountArgs) FastWrite

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

for compatibility

func (*FavoriteServiceFavoriteCountArgs) FastWriteNocopy

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

func (*FavoriteServiceFavoriteCountArgs) Field1DeepEqual

func (*FavoriteServiceFavoriteCountArgs) GetFirstArgument

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

func (*FavoriteServiceFavoriteCountArgs) GetReq

func (*FavoriteServiceFavoriteCountArgs) InitDefault

func (p *FavoriteServiceFavoriteCountArgs) InitDefault()

func (*FavoriteServiceFavoriteCountArgs) IsSetReq

func (p *FavoriteServiceFavoriteCountArgs) IsSetReq() bool

func (*FavoriteServiceFavoriteCountArgs) Read

func (*FavoriteServiceFavoriteCountArgs) ReadField1

func (*FavoriteServiceFavoriteCountArgs) SetReq

func (*FavoriteServiceFavoriteCountArgs) String

func (*FavoriteServiceFavoriteCountArgs) Write

type FavoriteServiceFavoriteCountByUserIDArgs

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

func NewFavoriteServiceFavoriteCountByUserIDArgs

func NewFavoriteServiceFavoriteCountByUserIDArgs() *FavoriteServiceFavoriteCountByUserIDArgs

func (*FavoriteServiceFavoriteCountByUserIDArgs) BLength

func (*FavoriteServiceFavoriteCountByUserIDArgs) DeepEqual

func (*FavoriteServiceFavoriteCountByUserIDArgs) FastRead

func (*FavoriteServiceFavoriteCountByUserIDArgs) FastReadField1

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

func (*FavoriteServiceFavoriteCountByUserIDArgs) FastWrite

for compatibility

func (*FavoriteServiceFavoriteCountByUserIDArgs) FastWriteNocopy

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

func (*FavoriteServiceFavoriteCountByUserIDArgs) Field1DeepEqual

func (*FavoriteServiceFavoriteCountByUserIDArgs) GetFirstArgument

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

func (*FavoriteServiceFavoriteCountByUserIDArgs) GetReq

func (*FavoriteServiceFavoriteCountByUserIDArgs) InitDefault

func (*FavoriteServiceFavoriteCountByUserIDArgs) IsSetReq

func (*FavoriteServiceFavoriteCountByUserIDArgs) Read

func (*FavoriteServiceFavoriteCountByUserIDArgs) ReadField1

func (*FavoriteServiceFavoriteCountByUserIDArgs) SetReq

func (*FavoriteServiceFavoriteCountByUserIDArgs) String

func (*FavoriteServiceFavoriteCountByUserIDArgs) Write

type FavoriteServiceFavoriteCountByUserIDResult

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

func NewFavoriteServiceFavoriteCountByUserIDResult

func NewFavoriteServiceFavoriteCountByUserIDResult() *FavoriteServiceFavoriteCountByUserIDResult

func (*FavoriteServiceFavoriteCountByUserIDResult) BLength

func (*FavoriteServiceFavoriteCountByUserIDResult) DeepEqual

func (*FavoriteServiceFavoriteCountByUserIDResult) FastRead

func (*FavoriteServiceFavoriteCountByUserIDResult) FastReadField0

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

func (*FavoriteServiceFavoriteCountByUserIDResult) FastWrite

for compatibility

func (*FavoriteServiceFavoriteCountByUserIDResult) FastWriteNocopy

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

func (*FavoriteServiceFavoriteCountByUserIDResult) Field0DeepEqual

func (*FavoriteServiceFavoriteCountByUserIDResult) GetResult

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

func (*FavoriteServiceFavoriteCountByUserIDResult) GetSuccess

func (*FavoriteServiceFavoriteCountByUserIDResult) InitDefault

func (*FavoriteServiceFavoriteCountByUserIDResult) IsSetSuccess

func (*FavoriteServiceFavoriteCountByUserIDResult) Read

func (*FavoriteServiceFavoriteCountByUserIDResult) ReadField0

func (*FavoriteServiceFavoriteCountByUserIDResult) SetSuccess

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

func (*FavoriteServiceFavoriteCountByUserIDResult) String

func (*FavoriteServiceFavoriteCountByUserIDResult) Write

type FavoriteServiceFavoriteCountResult

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

func NewFavoriteServiceFavoriteCountResult

func NewFavoriteServiceFavoriteCountResult() *FavoriteServiceFavoriteCountResult

func (*FavoriteServiceFavoriteCountResult) BLength

func (*FavoriteServiceFavoriteCountResult) DeepEqual

func (*FavoriteServiceFavoriteCountResult) FastRead

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

func (*FavoriteServiceFavoriteCountResult) FastReadField0

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

func (*FavoriteServiceFavoriteCountResult) FastWrite

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

for compatibility

func (*FavoriteServiceFavoriteCountResult) FastWriteNocopy

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

func (*FavoriteServiceFavoriteCountResult) Field0DeepEqual

func (*FavoriteServiceFavoriteCountResult) GetResult

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

func (*FavoriteServiceFavoriteCountResult) GetSuccess

func (*FavoriteServiceFavoriteCountResult) InitDefault

func (p *FavoriteServiceFavoriteCountResult) InitDefault()

func (*FavoriteServiceFavoriteCountResult) IsSetSuccess

func (p *FavoriteServiceFavoriteCountResult) IsSetSuccess() bool

func (*FavoriteServiceFavoriteCountResult) Read

func (*FavoriteServiceFavoriteCountResult) ReadField0

func (*FavoriteServiceFavoriteCountResult) SetSuccess

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

func (*FavoriteServiceFavoriteCountResult) String

func (*FavoriteServiceFavoriteCountResult) Write

type FavoriteServiceFavoriteListArgs

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

func NewFavoriteServiceFavoriteListArgs

func NewFavoriteServiceFavoriteListArgs() *FavoriteServiceFavoriteListArgs

func (*FavoriteServiceFavoriteListArgs) BLength

func (p *FavoriteServiceFavoriteListArgs) BLength() int

func (*FavoriteServiceFavoriteListArgs) DeepEqual

func (*FavoriteServiceFavoriteListArgs) FastRead

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

func (*FavoriteServiceFavoriteListArgs) FastReadField1

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

func (*FavoriteServiceFavoriteListArgs) FastWrite

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

for compatibility

func (*FavoriteServiceFavoriteListArgs) FastWriteNocopy

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

func (*FavoriteServiceFavoriteListArgs) Field1DeepEqual

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

func (*FavoriteServiceFavoriteListArgs) GetFirstArgument

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

func (*FavoriteServiceFavoriteListArgs) GetReq

func (*FavoriteServiceFavoriteListArgs) InitDefault

func (p *FavoriteServiceFavoriteListArgs) InitDefault()

func (*FavoriteServiceFavoriteListArgs) IsSetReq

func (p *FavoriteServiceFavoriteListArgs) IsSetReq() bool

func (*FavoriteServiceFavoriteListArgs) Read

func (*FavoriteServiceFavoriteListArgs) ReadField1

func (*FavoriteServiceFavoriteListArgs) SetReq

func (*FavoriteServiceFavoriteListArgs) String

func (*FavoriteServiceFavoriteListArgs) Write

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

type FavoriteServiceFavoriteListResult

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

func NewFavoriteServiceFavoriteListResult

func NewFavoriteServiceFavoriteListResult() *FavoriteServiceFavoriteListResult

func (*FavoriteServiceFavoriteListResult) BLength

func (*FavoriteServiceFavoriteListResult) DeepEqual

func (*FavoriteServiceFavoriteListResult) FastRead

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

func (*FavoriteServiceFavoriteListResult) FastReadField0

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

func (*FavoriteServiceFavoriteListResult) FastWrite

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

for compatibility

func (*FavoriteServiceFavoriteListResult) FastWriteNocopy

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

func (*FavoriteServiceFavoriteListResult) Field0DeepEqual

func (*FavoriteServiceFavoriteListResult) GetResult

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

func (*FavoriteServiceFavoriteListResult) GetSuccess

func (*FavoriteServiceFavoriteListResult) InitDefault

func (p *FavoriteServiceFavoriteListResult) InitDefault()

func (*FavoriteServiceFavoriteListResult) IsSetSuccess

func (p *FavoriteServiceFavoriteListResult) IsSetSuccess() bool

func (*FavoriteServiceFavoriteListResult) Read

func (*FavoriteServiceFavoriteListResult) ReadField0

func (*FavoriteServiceFavoriteListResult) SetSuccess

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

func (*FavoriteServiceFavoriteListResult) String

func (*FavoriteServiceFavoriteListResult) Write

type FavoriteServiceIsFavoriteArgs

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

func NewFavoriteServiceIsFavoriteArgs

func NewFavoriteServiceIsFavoriteArgs() *FavoriteServiceIsFavoriteArgs

func (*FavoriteServiceIsFavoriteArgs) BLength

func (p *FavoriteServiceIsFavoriteArgs) BLength() int

func (*FavoriteServiceIsFavoriteArgs) DeepEqual

func (*FavoriteServiceIsFavoriteArgs) FastRead

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

func (*FavoriteServiceIsFavoriteArgs) FastReadField1

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

func (*FavoriteServiceIsFavoriteArgs) FastWrite

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

for compatibility

func (*FavoriteServiceIsFavoriteArgs) FastWriteNocopy

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

func (*FavoriteServiceIsFavoriteArgs) Field1DeepEqual

func (p *FavoriteServiceIsFavoriteArgs) Field1DeepEqual(src *IsFavoriteRequest) bool

func (*FavoriteServiceIsFavoriteArgs) GetFirstArgument

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

func (*FavoriteServiceIsFavoriteArgs) GetReq

func (*FavoriteServiceIsFavoriteArgs) InitDefault

func (p *FavoriteServiceIsFavoriteArgs) InitDefault()

func (*FavoriteServiceIsFavoriteArgs) IsSetReq

func (p *FavoriteServiceIsFavoriteArgs) IsSetReq() bool

func (*FavoriteServiceIsFavoriteArgs) Read

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

func (*FavoriteServiceIsFavoriteArgs) ReadField1

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

func (*FavoriteServiceIsFavoriteArgs) SetReq

func (*FavoriteServiceIsFavoriteArgs) String

func (*FavoriteServiceIsFavoriteArgs) Write

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

type FavoriteServiceIsFavoriteResult

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

func NewFavoriteServiceIsFavoriteResult

func NewFavoriteServiceIsFavoriteResult() *FavoriteServiceIsFavoriteResult

func (*FavoriteServiceIsFavoriteResult) BLength

func (p *FavoriteServiceIsFavoriteResult) BLength() int

func (*FavoriteServiceIsFavoriteResult) DeepEqual

func (*FavoriteServiceIsFavoriteResult) FastRead

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

func (*FavoriteServiceIsFavoriteResult) FastReadField0

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

func (*FavoriteServiceIsFavoriteResult) FastWrite

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

for compatibility

func (*FavoriteServiceIsFavoriteResult) FastWriteNocopy

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

func (*FavoriteServiceIsFavoriteResult) Field0DeepEqual

func (p *FavoriteServiceIsFavoriteResult) Field0DeepEqual(src *IsFavoriteResponse) bool

func (*FavoriteServiceIsFavoriteResult) GetResult

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

func (*FavoriteServiceIsFavoriteResult) GetSuccess

func (*FavoriteServiceIsFavoriteResult) InitDefault

func (p *FavoriteServiceIsFavoriteResult) InitDefault()

func (*FavoriteServiceIsFavoriteResult) IsSetSuccess

func (p *FavoriteServiceIsFavoriteResult) IsSetSuccess() bool

func (*FavoriteServiceIsFavoriteResult) Read

func (*FavoriteServiceIsFavoriteResult) ReadField0

func (*FavoriteServiceIsFavoriteResult) SetSuccess

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

func (*FavoriteServiceIsFavoriteResult) String

func (*FavoriteServiceIsFavoriteResult) Write

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

type FavoriteServiceProcessor

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

func NewFavoriteServiceProcessor

func NewFavoriteServiceProcessor(handler FavoriteService) *FavoriteServiceProcessor

func (*FavoriteServiceProcessor) AddToProcessorMap

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

func (*FavoriteServiceProcessor) GetProcessorFunction

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

func (*FavoriteServiceProcessor) Process

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

func (*FavoriteServiceProcessor) ProcessorMap

type FavoriteServiceTotalFavoritedByAuthorIDArgs

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

func NewFavoriteServiceTotalFavoritedByAuthorIDArgs

func NewFavoriteServiceTotalFavoritedByAuthorIDArgs() *FavoriteServiceTotalFavoritedByAuthorIDArgs

func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) BLength

func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) DeepEqual

func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) FastRead

func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) FastReadField1

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

func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) FastWrite

for compatibility

func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) FastWriteNocopy

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

func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) Field1DeepEqual

func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) GetFirstArgument

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

func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) GetReq

func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) InitDefault

func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) IsSetReq

func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) Read

func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) ReadField1

func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) SetReq

func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) String

func (*FavoriteServiceTotalFavoritedByAuthorIDArgs) Write

type FavoriteServiceTotalFavoritedByAuthorIDResult

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

func NewFavoriteServiceTotalFavoritedByAuthorIDResult

func NewFavoriteServiceTotalFavoritedByAuthorIDResult() *FavoriteServiceTotalFavoritedByAuthorIDResult

func (*FavoriteServiceTotalFavoritedByAuthorIDResult) BLength

func (*FavoriteServiceTotalFavoritedByAuthorIDResult) DeepEqual

func (*FavoriteServiceTotalFavoritedByAuthorIDResult) FastRead

func (*FavoriteServiceTotalFavoritedByAuthorIDResult) FastReadField0

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

func (*FavoriteServiceTotalFavoritedByAuthorIDResult) FastWrite

for compatibility

func (*FavoriteServiceTotalFavoritedByAuthorIDResult) FastWriteNocopy

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

func (*FavoriteServiceTotalFavoritedByAuthorIDResult) Field0DeepEqual

func (*FavoriteServiceTotalFavoritedByAuthorIDResult) GetResult

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

func (*FavoriteServiceTotalFavoritedByAuthorIDResult) GetSuccess

func (*FavoriteServiceTotalFavoritedByAuthorIDResult) InitDefault

func (*FavoriteServiceTotalFavoritedByAuthorIDResult) IsSetSuccess

func (*FavoriteServiceTotalFavoritedByAuthorIDResult) Read

func (*FavoriteServiceTotalFavoritedByAuthorIDResult) ReadField0

func (*FavoriteServiceTotalFavoritedByAuthorIDResult) SetSuccess

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

func (*FavoriteServiceTotalFavoritedByAuthorIDResult) String

func (*FavoriteServiceTotalFavoritedByAuthorIDResult) Write

type IsFavoriteRequest

type IsFavoriteRequest 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 FavoriteServiceIsFavoriteArgs_Req_DEFAULT *IsFavoriteRequest

func NewIsFavoriteRequest

func NewIsFavoriteRequest() *IsFavoriteRequest

func (*IsFavoriteRequest) BLength

func (p *IsFavoriteRequest) BLength() int

func (*IsFavoriteRequest) DeepEqual

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

func (*IsFavoriteRequest) FastRead

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

func (*IsFavoriteRequest) FastReadField1

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

func (*IsFavoriteRequest) FastReadField2

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

func (*IsFavoriteRequest) FastWrite

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

for compatibility

func (*IsFavoriteRequest) FastWriteNocopy

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

func (*IsFavoriteRequest) Field1DeepEqual

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

func (*IsFavoriteRequest) Field2DeepEqual

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

func (*IsFavoriteRequest) GetUserId

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

func (*IsFavoriteRequest) GetVideoId

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

func (*IsFavoriteRequest) InitDefault

func (p *IsFavoriteRequest) InitDefault()

func (*IsFavoriteRequest) Read

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

func (*IsFavoriteRequest) ReadField1

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

func (*IsFavoriteRequest) ReadField2

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

func (*IsFavoriteRequest) SetUserId

func (p *IsFavoriteRequest) SetUserId(val int64)

func (*IsFavoriteRequest) SetVideoId

func (p *IsFavoriteRequest) SetVideoId(val int64)

func (*IsFavoriteRequest) String

func (p *IsFavoriteRequest) String() string

func (*IsFavoriteRequest) Write

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

type IsFavoriteResponse

type IsFavoriteResponse struct {
	StatusCode int32   `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg  *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"`
	IsFavorite bool    `thrift:"is_favorite,3" frugal:"3,default,bool" json:"is_favorite"`
}
var FavoriteServiceIsFavoriteResult_Success_DEFAULT *IsFavoriteResponse

func NewIsFavoriteResponse

func NewIsFavoriteResponse() *IsFavoriteResponse

func (*IsFavoriteResponse) BLength

func (p *IsFavoriteResponse) BLength() int

func (*IsFavoriteResponse) DeepEqual

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

func (*IsFavoriteResponse) FastRead

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

func (*IsFavoriteResponse) FastReadField1

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

func (*IsFavoriteResponse) FastReadField2

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

func (*IsFavoriteResponse) FastReadField3

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

func (*IsFavoriteResponse) FastWrite

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

for compatibility

func (*IsFavoriteResponse) FastWriteNocopy

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

func (*IsFavoriteResponse) Field1DeepEqual

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

func (*IsFavoriteResponse) Field2DeepEqual

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

func (*IsFavoriteResponse) Field3DeepEqual

func (p *IsFavoriteResponse) Field3DeepEqual(src bool) bool

func (*IsFavoriteResponse) GetIsFavorite

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

func (*IsFavoriteResponse) GetStatusCode

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

func (*IsFavoriteResponse) GetStatusMsg

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

func (*IsFavoriteResponse) InitDefault

func (p *IsFavoriteResponse) InitDefault()

func (*IsFavoriteResponse) IsSetStatusMsg

func (p *IsFavoriteResponse) IsSetStatusMsg() bool

func (*IsFavoriteResponse) Read

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

func (*IsFavoriteResponse) ReadField1

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

func (*IsFavoriteResponse) ReadField2

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

func (*IsFavoriteResponse) ReadField3

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

func (*IsFavoriteResponse) SetIsFavorite

func (p *IsFavoriteResponse) SetIsFavorite(val bool)

func (*IsFavoriteResponse) SetStatusCode

func (p *IsFavoriteResponse) SetStatusCode(val int32)

func (*IsFavoriteResponse) SetStatusMsg

func (p *IsFavoriteResponse) SetStatusMsg(val *string)

func (*IsFavoriteResponse) String

func (p *IsFavoriteResponse) String() string

func (*IsFavoriteResponse) Write

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

type TotalFavoritedByAuthorIDRequest

type TotalFavoritedByAuthorIDRequest struct {
	AuthorId int64 `thrift:"author_id,1" frugal:"1,default,i64" json:"author_id"`
}
var FavoriteServiceTotalFavoritedByAuthorIDArgs_Req_DEFAULT *TotalFavoritedByAuthorIDRequest

func NewTotalFavoritedByAuthorIDRequest

func NewTotalFavoritedByAuthorIDRequest() *TotalFavoritedByAuthorIDRequest

func (*TotalFavoritedByAuthorIDRequest) BLength

func (p *TotalFavoritedByAuthorIDRequest) BLength() int

func (*TotalFavoritedByAuthorIDRequest) DeepEqual

func (*TotalFavoritedByAuthorIDRequest) FastRead

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

func (*TotalFavoritedByAuthorIDRequest) FastReadField1

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

func (*TotalFavoritedByAuthorIDRequest) FastWrite

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

for compatibility

func (*TotalFavoritedByAuthorIDRequest) FastWriteNocopy

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

func (*TotalFavoritedByAuthorIDRequest) Field1DeepEqual

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

func (*TotalFavoritedByAuthorIDRequest) GetAuthorId

func (p *TotalFavoritedByAuthorIDRequest) GetAuthorId() (v int64)

func (*TotalFavoritedByAuthorIDRequest) InitDefault

func (p *TotalFavoritedByAuthorIDRequest) InitDefault()

func (*TotalFavoritedByAuthorIDRequest) Read

func (*TotalFavoritedByAuthorIDRequest) ReadField1

func (*TotalFavoritedByAuthorIDRequest) SetAuthorId

func (p *TotalFavoritedByAuthorIDRequest) SetAuthorId(val int64)

func (*TotalFavoritedByAuthorIDRequest) String

func (*TotalFavoritedByAuthorIDRequest) Write

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

type TotalFavoritedByAuthorIDResponse

type TotalFavoritedByAuthorIDResponse struct {
	StatusCode     int32   `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"`
	StatusMsg      *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"`
	TotalFavorited int64   `thrift:"total_favorited,3" frugal:"3,default,i64" json:"total_favorited"`
}
var FavoriteServiceTotalFavoritedByAuthorIDResult_Success_DEFAULT *TotalFavoritedByAuthorIDResponse

func NewTotalFavoritedByAuthorIDResponse

func NewTotalFavoritedByAuthorIDResponse() *TotalFavoritedByAuthorIDResponse

func (*TotalFavoritedByAuthorIDResponse) BLength

func (*TotalFavoritedByAuthorIDResponse) DeepEqual

func (*TotalFavoritedByAuthorIDResponse) FastRead

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

func (*TotalFavoritedByAuthorIDResponse) FastReadField1

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

func (*TotalFavoritedByAuthorIDResponse) FastReadField2

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

func (*TotalFavoritedByAuthorIDResponse) FastReadField3

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

func (*TotalFavoritedByAuthorIDResponse) FastWrite

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

for compatibility

func (*TotalFavoritedByAuthorIDResponse) FastWriteNocopy

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

func (*TotalFavoritedByAuthorIDResponse) Field1DeepEqual

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

func (*TotalFavoritedByAuthorIDResponse) Field2DeepEqual

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

func (*TotalFavoritedByAuthorIDResponse) Field3DeepEqual

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

func (*TotalFavoritedByAuthorIDResponse) GetStatusCode

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

func (*TotalFavoritedByAuthorIDResponse) GetStatusMsg

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

func (*TotalFavoritedByAuthorIDResponse) GetTotalFavorited

func (p *TotalFavoritedByAuthorIDResponse) GetTotalFavorited() (v int64)

func (*TotalFavoritedByAuthorIDResponse) InitDefault

func (p *TotalFavoritedByAuthorIDResponse) InitDefault()

func (*TotalFavoritedByAuthorIDResponse) IsSetStatusMsg

func (p *TotalFavoritedByAuthorIDResponse) IsSetStatusMsg() bool

func (*TotalFavoritedByAuthorIDResponse) Read

func (*TotalFavoritedByAuthorIDResponse) ReadField1

func (*TotalFavoritedByAuthorIDResponse) ReadField2

func (*TotalFavoritedByAuthorIDResponse) ReadField3

func (*TotalFavoritedByAuthorIDResponse) SetStatusCode

func (p *TotalFavoritedByAuthorIDResponse) SetStatusCode(val int32)

func (*TotalFavoritedByAuthorIDResponse) SetStatusMsg

func (p *TotalFavoritedByAuthorIDResponse) SetStatusMsg(val *string)

func (*TotalFavoritedByAuthorIDResponse) SetTotalFavorited

func (p *TotalFavoritedByAuthorIDResponse) SetTotalFavorited(val int64)

func (*TotalFavoritedByAuthorIDResponse) String

func (*TotalFavoritedByAuthorIDResponse) Write

type User

type User struct {
	Id              int64  `thrift:"id,1" frugal:"1,default,i64" json:"id"`
	Name            string `thrift:"name,2" frugal:"2,default,string" json:"name"`
	FollowCount     int64  `thrift:"follow_count,3" frugal:"3,default,i64" json:"follow_count"`
	FollowerCount   int64  `thrift:"follower_count,4" frugal:"4,default,i64" json:"follower_count"`
	IsFollow        bool   `thrift:"is_follow,5" frugal:"5,default,bool" json:"is_follow"`
	Avatar          string `thrift:"avatar,6" frugal:"6,default,string" json:"avatar"`
	BackgroundImage string `thrift:"background_image,7" frugal:"7,default,string" json:"background_image"`
	Signature       string `thrift:"signature,8" frugal:"8,default,string" json:"signature"`
	TotalFavorited  int64  `thrift:"total_favorited,9" frugal:"9,default,i64" json:"total_favorited"`
	WorkCount       int64  `thrift:"work_count,10" frugal:"10,default,i64" json:"work_count"`
	FavoriteCount   int64  `thrift:"favorite_count,11" frugal:"11,default,i64" json:"favorite_count"`
}
var Video_Author_DEFAULT *User

func NewUser

func NewUser() *User

func (*User) BLength

func (p *User) BLength() int

func (*User) DeepEqual

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

func (*User) FastRead

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

func (*User) FastReadField1

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

func (*User) FastReadField10

func (p *User) FastReadField10(buf []byte) (int, error)

func (*User) FastReadField11

func (p *User) FastReadField11(buf []byte) (int, error)

func (*User) FastReadField2

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

func (*User) FastReadField3

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

func (*User) FastReadField4

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

func (*User) FastReadField5

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

func (*User) FastReadField6

func (p *User) FastReadField6(buf []byte) (int, error)

func (*User) FastReadField7

func (p *User) FastReadField7(buf []byte) (int, error)

func (*User) FastReadField8

func (p *User) FastReadField8(buf []byte) (int, error)

func (*User) FastReadField9

func (p *User) FastReadField9(buf []byte) (int, error)

func (*User) FastWrite

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

for compatibility

func (*User) FastWriteNocopy

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

func (*User) Field10DeepEqual

func (p *User) Field10DeepEqual(src int64) bool

func (*User) Field11DeepEqual

func (p *User) Field11DeepEqual(src int64) bool

func (*User) Field1DeepEqual

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

func (*User) Field2DeepEqual

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

func (*User) Field3DeepEqual

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

func (*User) Field4DeepEqual

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

func (*User) Field5DeepEqual

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

func (*User) Field6DeepEqual

func (p *User) Field6DeepEqual(src string) bool

func (*User) Field7DeepEqual

func (p *User) Field7DeepEqual(src string) bool

func (*User) Field8DeepEqual

func (p *User) Field8DeepEqual(src string) bool

func (*User) Field9DeepEqual

func (p *User) Field9DeepEqual(src int64) bool

func (*User) GetAvatar

func (p *User) GetAvatar() (v string)

func (*User) GetBackgroundImage

func (p *User) GetBackgroundImage() (v string)

func (*User) GetFavoriteCount

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

func (*User) GetFollowCount

func (p *User) GetFollowCount() (v int64)

func (*User) GetFollowerCount

func (p *User) GetFollowerCount() (v int64)

func (*User) GetId

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

func (*User) GetIsFollow

func (p *User) GetIsFollow() (v bool)

func (*User) GetName

func (p *User) GetName() (v string)

func (*User) GetSignature

func (p *User) GetSignature() (v string)

func (*User) GetTotalFavorited

func (p *User) GetTotalFavorited() (v int64)

func (*User) GetWorkCount

func (p *User) GetWorkCount() (v int64)

func (*User) InitDefault

func (p *User) InitDefault()

func (*User) Read

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

func (*User) ReadField1

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

func (*User) ReadField10

func (p *User) ReadField10(iprot thrift.TProtocol) error

func (*User) ReadField11

func (p *User) ReadField11(iprot thrift.TProtocol) error

func (*User) ReadField2

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

func (*User) ReadField3

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

func (*User) ReadField4

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

func (*User) ReadField5

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

func (*User) ReadField6

func (p *User) ReadField6(iprot thrift.TProtocol) error

func (*User) ReadField7

func (p *User) ReadField7(iprot thrift.TProtocol) error

func (*User) ReadField8

func (p *User) ReadField8(iprot thrift.TProtocol) error

func (*User) ReadField9

func (p *User) ReadField9(iprot thrift.TProtocol) error

func (*User) SetAvatar

func (p *User) SetAvatar(val string)

func (*User) SetBackgroundImage

func (p *User) SetBackgroundImage(val string)

func (*User) SetFavoriteCount

func (p *User) SetFavoriteCount(val int64)

func (*User) SetFollowCount

func (p *User) SetFollowCount(val int64)

func (*User) SetFollowerCount

func (p *User) SetFollowerCount(val int64)

func (*User) SetId

func (p *User) SetId(val int64)

func (*User) SetIsFollow

func (p *User) SetIsFollow(val bool)

func (*User) SetName

func (p *User) SetName(val string)

func (*User) SetSignature

func (p *User) SetSignature(val string)

func (*User) SetTotalFavorited

func (p *User) SetTotalFavorited(val int64)

func (*User) SetWorkCount

func (p *User) SetWorkCount(val int64)

func (*User) String

func (p *User) String() string

func (*User) Write

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

type Video

type Video struct {
	Id            int64  `thrift:"id,1" frugal:"1,default,i64" json:"id"`
	Author        *User  `thrift:"author,2" frugal:"2,default,User" json:"author"`
	PlayUrl       string `thrift:"play_url,3" frugal:"3,default,string" json:"play_url"`
	CoverUrl      string `thrift:"cover_url,4" frugal:"4,default,string" json:"cover_url"`
	FavoriteCount int64  `thrift:"favorite_count,5" frugal:"5,default,i64" json:"favorite_count"`
	CommentCount  int64  `thrift:"comment_count,6" frugal:"6,default,i64" json:"comment_count"`
	IsFavorite    bool   `thrift:"is_favorite,7" frugal:"7,default,bool" json:"is_favorite"`
	Title         string `thrift:"title,8" frugal:"8,default,string" json:"title"`
}

func NewVideo

func NewVideo() *Video

func (*Video) BLength

func (p *Video) BLength() int

func (*Video) DeepEqual

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

func (*Video) FastRead

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

func (*Video) FastReadField1

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

func (*Video) FastReadField2

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

func (*Video) FastReadField3

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

func (*Video) FastReadField4

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

func (*Video) FastReadField5

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

func (*Video) FastReadField6

func (p *Video) FastReadField6(buf []byte) (int, error)

func (*Video) FastReadField7

func (p *Video) FastReadField7(buf []byte) (int, error)

func (*Video) FastReadField8

func (p *Video) FastReadField8(buf []byte) (int, error)

func (*Video) FastWrite

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

for compatibility

func (*Video) FastWriteNocopy

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

func (*Video) Field1DeepEqual

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

func (*Video) Field2DeepEqual

func (p *Video) Field2DeepEqual(src *User) bool

func (*Video) Field3DeepEqual

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

func (*Video) Field4DeepEqual

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

func (*Video) Field5DeepEqual

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

func (*Video) Field6DeepEqual

func (p *Video) Field6DeepEqual(src int64) bool

func (*Video) Field7DeepEqual

func (p *Video) Field7DeepEqual(src bool) bool

func (*Video) Field8DeepEqual

func (p *Video) Field8DeepEqual(src string) bool

func (*Video) GetAuthor

func (p *Video) GetAuthor() (v *User)

func (*Video) GetCommentCount

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

func (*Video) GetCoverUrl

func (p *Video) GetCoverUrl() (v string)

func (*Video) GetFavoriteCount

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

func (*Video) GetId

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

func (*Video) GetIsFavorite

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

func (*Video) GetPlayUrl

func (p *Video) GetPlayUrl() (v string)

func (*Video) GetTitle

func (p *Video) GetTitle() (v string)

func (*Video) InitDefault

func (p *Video) InitDefault()

func (*Video) IsSetAuthor

func (p *Video) IsSetAuthor() bool

func (*Video) Read

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

func (*Video) ReadField1

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

func (*Video) ReadField2

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

func (*Video) ReadField3

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

func (*Video) ReadField4

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

func (*Video) ReadField5

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

func (*Video) ReadField6

func (p *Video) ReadField6(iprot thrift.TProtocol) error

func (*Video) ReadField7

func (p *Video) ReadField7(iprot thrift.TProtocol) error

func (*Video) ReadField8

func (p *Video) ReadField8(iprot thrift.TProtocol) error

func (*Video) SetAuthor

func (p *Video) SetAuthor(val *User)

func (*Video) SetCommentCount

func (p *Video) SetCommentCount(val int64)

func (*Video) SetCoverUrl

func (p *Video) SetCoverUrl(val string)

func (*Video) SetFavoriteCount

func (p *Video) SetFavoriteCount(val int64)

func (*Video) SetId

func (p *Video) SetId(val int64)

func (*Video) SetIsFavorite

func (p *Video) SetIsFavorite(val bool)

func (*Video) SetPlayUrl

func (p *Video) SetPlayUrl(val string)

func (*Video) SetTitle

func (p *Video) SetTitle(val string)

func (*Video) String

func (p *Video) String() string

func (*Video) Write

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

Directories

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

Jump to

Keyboard shortcuts

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