video

package
v0.0.0-...-37f092c Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KitexUnusedProtection = struct{}{}

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

Functions

This section is empty.

Types

type BaseResp

type BaseResp struct {
	Code int64  `thrift:"code,1" frugal:"1,default,i64" json:"code"`
	Msg  string `thrift:"msg,2" frugal:"2,default,string" json:"msg"`
}
var FeedResponse_Base_DEFAULT *BaseResp
var GetFavoriteVideoInfoResponse_Base_DEFAULT *BaseResp
var GetPublishListResponse_Base_DEFAULT *BaseResp
var GetVideoIDByUidResponse_Base_DEFAULT *BaseResp
var GetWorkCountResponse_Base_DEFAULT *BaseResp
var PutVideoResponse_Base_DEFAULT *BaseResp

func NewBaseResp

func NewBaseResp() *BaseResp

func (*BaseResp) BLength

func (p *BaseResp) BLength() int

func (*BaseResp) DeepEqual

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

func (*BaseResp) FastRead

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

func (*BaseResp) FastReadField1

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

func (*BaseResp) FastReadField2

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

func (*BaseResp) FastWrite

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

for compatibility

func (*BaseResp) FastWriteNocopy

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

func (*BaseResp) Field1DeepEqual

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

func (*BaseResp) Field2DeepEqual

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

func (*BaseResp) GetCode

func (p *BaseResp) GetCode() (v int64)

func (*BaseResp) GetMsg

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

func (*BaseResp) InitDefault

func (p *BaseResp) InitDefault()

func (*BaseResp) Read

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

func (*BaseResp) ReadField1

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

func (*BaseResp) ReadField2

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

func (*BaseResp) SetCode

func (p *BaseResp) SetCode(val int64)

func (*BaseResp) SetMsg

func (p *BaseResp) SetMsg(val string)

func (*BaseResp) String

func (p *BaseResp) String() string

func (*BaseResp) Write

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

type FeedRequest

type FeedRequest struct {
	LatestTime int64  `thrift:"latest_time,1" frugal:"1,default,i64" json:"latest_time"`
	Token      string `thrift:"token,2" frugal:"2,default,string" json:"token"`
}
var VideoServiceFeedArgs_Req_DEFAULT *FeedRequest

func NewFeedRequest

func NewFeedRequest() *FeedRequest

func (*FeedRequest) BLength

func (p *FeedRequest) BLength() int

func (*FeedRequest) DeepEqual

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

func (*FeedRequest) FastRead

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

func (*FeedRequest) FastReadField1

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

func (*FeedRequest) FastReadField2

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

func (*FeedRequest) FastWrite

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

for compatibility

func (*FeedRequest) FastWriteNocopy

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

func (*FeedRequest) Field1DeepEqual

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

func (*FeedRequest) Field2DeepEqual

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

func (*FeedRequest) GetLatestTime

func (p *FeedRequest) GetLatestTime() (v int64)

func (*FeedRequest) GetToken

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

func (*FeedRequest) InitDefault

func (p *FeedRequest) InitDefault()

func (*FeedRequest) Read

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

func (*FeedRequest) ReadField1

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

func (*FeedRequest) ReadField2

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

func (*FeedRequest) SetLatestTime

func (p *FeedRequest) SetLatestTime(val int64)

func (*FeedRequest) SetToken

func (p *FeedRequest) SetToken(val string)

func (*FeedRequest) String

func (p *FeedRequest) String() string

func (*FeedRequest) Write

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

type FeedResponse

type FeedResponse struct {
	Base      *BaseResp `thrift:"base,1" frugal:"1,default,BaseResp" json:"base"`
	NextTime  int64     `thrift:"next_time,2" frugal:"2,default,i64" json:"next_time"`
	VideoList []*Video  `thrift:"video_list,3" frugal:"3,default,list<Video>" json:"video_list"`
}
var VideoServiceFeedResult_Success_DEFAULT *FeedResponse

func NewFeedResponse

func NewFeedResponse() *FeedResponse

func (*FeedResponse) BLength

func (p *FeedResponse) BLength() int

func (*FeedResponse) DeepEqual

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

func (*FeedResponse) FastRead

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

func (*FeedResponse) FastReadField1

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

func (*FeedResponse) FastReadField2

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

func (*FeedResponse) FastReadField3

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

func (*FeedResponse) FastWrite

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

for compatibility

func (*FeedResponse) FastWriteNocopy

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

func (*FeedResponse) Field1DeepEqual

func (p *FeedResponse) Field1DeepEqual(src *BaseResp) bool

func (*FeedResponse) Field2DeepEqual

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

func (*FeedResponse) Field3DeepEqual

func (p *FeedResponse) Field3DeepEqual(src []*Video) bool

func (*FeedResponse) GetBase

func (p *FeedResponse) GetBase() (v *BaseResp)

func (*FeedResponse) GetNextTime

func (p *FeedResponse) GetNextTime() (v int64)

func (*FeedResponse) GetVideoList

func (p *FeedResponse) GetVideoList() (v []*Video)

func (*FeedResponse) InitDefault

func (p *FeedResponse) InitDefault()

func (*FeedResponse) IsSetBase

func (p *FeedResponse) IsSetBase() bool

func (*FeedResponse) Read

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

func (*FeedResponse) ReadField1

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

func (*FeedResponse) ReadField2

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

func (*FeedResponse) ReadField3

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

func (*FeedResponse) SetBase

func (p *FeedResponse) SetBase(val *BaseResp)

func (*FeedResponse) SetNextTime

func (p *FeedResponse) SetNextTime(val int64)

func (*FeedResponse) SetVideoList

func (p *FeedResponse) SetVideoList(val []*Video)

func (*FeedResponse) String

func (p *FeedResponse) String() string

func (*FeedResponse) Write

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

type GetFavoriteVideoInfoRequest

type GetFavoriteVideoInfoRequest struct {
	VideoId []int64 `thrift:"video_id,1" frugal:"1,default,list<i64>" json:"video_id"`
	Token   string  `thrift:"token,2" frugal:"2,default,string" json:"token"`
}
var VideoServiceGetFavoriteVideoInfoArgs_Req_DEFAULT *GetFavoriteVideoInfoRequest

func NewGetFavoriteVideoInfoRequest

func NewGetFavoriteVideoInfoRequest() *GetFavoriteVideoInfoRequest

func (*GetFavoriteVideoInfoRequest) BLength

func (p *GetFavoriteVideoInfoRequest) BLength() int

func (*GetFavoriteVideoInfoRequest) DeepEqual

func (*GetFavoriteVideoInfoRequest) FastRead

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

func (*GetFavoriteVideoInfoRequest) FastReadField1

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

func (*GetFavoriteVideoInfoRequest) FastReadField2

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

func (*GetFavoriteVideoInfoRequest) FastWrite

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

for compatibility

func (*GetFavoriteVideoInfoRequest) FastWriteNocopy

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

func (*GetFavoriteVideoInfoRequest) Field1DeepEqual

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

func (*GetFavoriteVideoInfoRequest) Field2DeepEqual

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

func (*GetFavoriteVideoInfoRequest) GetToken

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

func (*GetFavoriteVideoInfoRequest) GetVideoId

func (p *GetFavoriteVideoInfoRequest) GetVideoId() (v []int64)

func (*GetFavoriteVideoInfoRequest) InitDefault

func (p *GetFavoriteVideoInfoRequest) InitDefault()

func (*GetFavoriteVideoInfoRequest) Read

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

func (*GetFavoriteVideoInfoRequest) ReadField1

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

func (*GetFavoriteVideoInfoRequest) ReadField2

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

func (*GetFavoriteVideoInfoRequest) SetToken

func (p *GetFavoriteVideoInfoRequest) SetToken(val string)

func (*GetFavoriteVideoInfoRequest) SetVideoId

func (p *GetFavoriteVideoInfoRequest) SetVideoId(val []int64)

func (*GetFavoriteVideoInfoRequest) String

func (p *GetFavoriteVideoInfoRequest) String() string

func (*GetFavoriteVideoInfoRequest) Write

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

type GetFavoriteVideoInfoResponse

type GetFavoriteVideoInfoResponse struct {
	Base      *BaseResp `thrift:"base,1" frugal:"1,default,BaseResp" json:"base"`
	VideoList []*Video  `thrift:"video_list,2" frugal:"2,default,list<Video>" json:"video_list"`
}
var VideoServiceGetFavoriteVideoInfoResult_Success_DEFAULT *GetFavoriteVideoInfoResponse

func NewGetFavoriteVideoInfoResponse

func NewGetFavoriteVideoInfoResponse() *GetFavoriteVideoInfoResponse

func (*GetFavoriteVideoInfoResponse) BLength

func (p *GetFavoriteVideoInfoResponse) BLength() int

func (*GetFavoriteVideoInfoResponse) DeepEqual

func (*GetFavoriteVideoInfoResponse) FastRead

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

func (*GetFavoriteVideoInfoResponse) FastReadField1

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

func (*GetFavoriteVideoInfoResponse) FastReadField2

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

func (*GetFavoriteVideoInfoResponse) FastWrite

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

for compatibility

func (*GetFavoriteVideoInfoResponse) FastWriteNocopy

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

func (*GetFavoriteVideoInfoResponse) Field1DeepEqual

func (p *GetFavoriteVideoInfoResponse) Field1DeepEqual(src *BaseResp) bool

func (*GetFavoriteVideoInfoResponse) Field2DeepEqual

func (p *GetFavoriteVideoInfoResponse) Field2DeepEqual(src []*Video) bool

func (*GetFavoriteVideoInfoResponse) GetBase

func (p *GetFavoriteVideoInfoResponse) GetBase() (v *BaseResp)

func (*GetFavoriteVideoInfoResponse) GetVideoList

func (p *GetFavoriteVideoInfoResponse) GetVideoList() (v []*Video)

func (*GetFavoriteVideoInfoResponse) InitDefault

func (p *GetFavoriteVideoInfoResponse) InitDefault()

func (*GetFavoriteVideoInfoResponse) IsSetBase

func (p *GetFavoriteVideoInfoResponse) IsSetBase() bool

func (*GetFavoriteVideoInfoResponse) Read

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

func (*GetFavoriteVideoInfoResponse) ReadField1

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

func (*GetFavoriteVideoInfoResponse) ReadField2

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

func (*GetFavoriteVideoInfoResponse) SetBase

func (p *GetFavoriteVideoInfoResponse) SetBase(val *BaseResp)

func (*GetFavoriteVideoInfoResponse) SetVideoList

func (p *GetFavoriteVideoInfoResponse) SetVideoList(val []*Video)

func (*GetFavoriteVideoInfoResponse) String

func (*GetFavoriteVideoInfoResponse) Write

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

type GetPublishListRequest

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

func NewGetPublishListRequest

func NewGetPublishListRequest() *GetPublishListRequest

func (*GetPublishListRequest) BLength

func (p *GetPublishListRequest) BLength() int

func (*GetPublishListRequest) DeepEqual

func (*GetPublishListRequest) FastRead

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

func (*GetPublishListRequest) FastReadField1

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

func (*GetPublishListRequest) FastReadField2

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

func (*GetPublishListRequest) FastWrite

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

for compatibility

func (*GetPublishListRequest) FastWriteNocopy

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

func (*GetPublishListRequest) Field1DeepEqual

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

func (*GetPublishListRequest) Field2DeepEqual

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

func (*GetPublishListRequest) GetToken

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

func (*GetPublishListRequest) GetUserId

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

func (*GetPublishListRequest) InitDefault

func (p *GetPublishListRequest) InitDefault()

func (*GetPublishListRequest) Read

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

func (*GetPublishListRequest) ReadField1

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

func (*GetPublishListRequest) ReadField2

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

func (*GetPublishListRequest) SetToken

func (p *GetPublishListRequest) SetToken(val string)

func (*GetPublishListRequest) SetUserId

func (p *GetPublishListRequest) SetUserId(val int64)

func (*GetPublishListRequest) String

func (p *GetPublishListRequest) String() string

func (*GetPublishListRequest) Write

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

type GetPublishListResponse

type GetPublishListResponse struct {
	Base      *BaseResp `thrift:"base,1" frugal:"1,default,BaseResp" json:"base"`
	ListVideo []*Video  `thrift:"list_video,2" frugal:"2,default,list<Video>" json:"list_video"`
}
var VideoServiceGetPublishListResult_Success_DEFAULT *GetPublishListResponse

func NewGetPublishListResponse

func NewGetPublishListResponse() *GetPublishListResponse

func (*GetPublishListResponse) BLength

func (p *GetPublishListResponse) BLength() int

func (*GetPublishListResponse) DeepEqual

func (*GetPublishListResponse) FastRead

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

func (*GetPublishListResponse) FastReadField1

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

func (*GetPublishListResponse) FastReadField2

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

func (*GetPublishListResponse) FastWrite

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

for compatibility

func (*GetPublishListResponse) FastWriteNocopy

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

func (*GetPublishListResponse) Field1DeepEqual

func (p *GetPublishListResponse) Field1DeepEqual(src *BaseResp) bool

func (*GetPublishListResponse) Field2DeepEqual

func (p *GetPublishListResponse) Field2DeepEqual(src []*Video) bool

func (*GetPublishListResponse) GetBase

func (p *GetPublishListResponse) GetBase() (v *BaseResp)

func (*GetPublishListResponse) GetListVideo

func (p *GetPublishListResponse) GetListVideo() (v []*Video)

func (*GetPublishListResponse) InitDefault

func (p *GetPublishListResponse) InitDefault()

func (*GetPublishListResponse) IsSetBase

func (p *GetPublishListResponse) IsSetBase() bool

func (*GetPublishListResponse) Read

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

func (*GetPublishListResponse) ReadField1

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

func (*GetPublishListResponse) ReadField2

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

func (*GetPublishListResponse) SetBase

func (p *GetPublishListResponse) SetBase(val *BaseResp)

func (*GetPublishListResponse) SetListVideo

func (p *GetPublishListResponse) SetListVideo(val []*Video)

func (*GetPublishListResponse) String

func (p *GetPublishListResponse) String() string

func (*GetPublishListResponse) Write

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

type GetVideoIDByUidRequest

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

func NewGetVideoIDByUidRequest

func NewGetVideoIDByUidRequest() *GetVideoIDByUidRequest

func (*GetVideoIDByUidRequest) BLength

func (p *GetVideoIDByUidRequest) BLength() int

func (*GetVideoIDByUidRequest) DeepEqual

func (*GetVideoIDByUidRequest) FastRead

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

func (*GetVideoIDByUidRequest) FastReadField1

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

func (*GetVideoIDByUidRequest) FastReadField2

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

func (*GetVideoIDByUidRequest) FastWrite

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

for compatibility

func (*GetVideoIDByUidRequest) FastWriteNocopy

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

func (*GetVideoIDByUidRequest) Field1DeepEqual

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

func (*GetVideoIDByUidRequest) Field2DeepEqual

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

func (*GetVideoIDByUidRequest) GetToken

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

func (*GetVideoIDByUidRequest) GetUserId

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

func (*GetVideoIDByUidRequest) InitDefault

func (p *GetVideoIDByUidRequest) InitDefault()

func (*GetVideoIDByUidRequest) Read

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

func (*GetVideoIDByUidRequest) ReadField1

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

func (*GetVideoIDByUidRequest) ReadField2

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

func (*GetVideoIDByUidRequest) SetToken

func (p *GetVideoIDByUidRequest) SetToken(val string)

func (*GetVideoIDByUidRequest) SetUserId

func (p *GetVideoIDByUidRequest) SetUserId(val int64)

func (*GetVideoIDByUidRequest) String

func (p *GetVideoIDByUidRequest) String() string

func (*GetVideoIDByUidRequest) Write

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

type GetVideoIDByUidResponse

type GetVideoIDByUidResponse struct {
	Base    *BaseResp `thrift:"base,1" frugal:"1,default,BaseResp" json:"base"`
	VideoId []int64   `thrift:"video_id,2" frugal:"2,default,list<i64>" json:"video_id"`
}
var VideoServiceGetVideoIDByUidResult_Success_DEFAULT *GetVideoIDByUidResponse

func NewGetVideoIDByUidResponse

func NewGetVideoIDByUidResponse() *GetVideoIDByUidResponse

func (*GetVideoIDByUidResponse) BLength

func (p *GetVideoIDByUidResponse) BLength() int

func (*GetVideoIDByUidResponse) DeepEqual

func (*GetVideoIDByUidResponse) FastRead

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

func (*GetVideoIDByUidResponse) FastReadField1

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

func (*GetVideoIDByUidResponse) FastReadField2

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

func (*GetVideoIDByUidResponse) FastWrite

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

for compatibility

func (*GetVideoIDByUidResponse) FastWriteNocopy

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

func (*GetVideoIDByUidResponse) Field1DeepEqual

func (p *GetVideoIDByUidResponse) Field1DeepEqual(src *BaseResp) bool

func (*GetVideoIDByUidResponse) Field2DeepEqual

func (p *GetVideoIDByUidResponse) Field2DeepEqual(src []int64) bool

func (*GetVideoIDByUidResponse) GetBase

func (p *GetVideoIDByUidResponse) GetBase() (v *BaseResp)

func (*GetVideoIDByUidResponse) GetVideoId

func (p *GetVideoIDByUidResponse) GetVideoId() (v []int64)

func (*GetVideoIDByUidResponse) InitDefault

func (p *GetVideoIDByUidResponse) InitDefault()

func (*GetVideoIDByUidResponse) IsSetBase

func (p *GetVideoIDByUidResponse) IsSetBase() bool

func (*GetVideoIDByUidResponse) Read

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

func (*GetVideoIDByUidResponse) ReadField1

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

func (*GetVideoIDByUidResponse) ReadField2

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

func (*GetVideoIDByUidResponse) SetBase

func (p *GetVideoIDByUidResponse) SetBase(val *BaseResp)

func (*GetVideoIDByUidResponse) SetVideoId

func (p *GetVideoIDByUidResponse) SetVideoId(val []int64)

func (*GetVideoIDByUidResponse) String

func (p *GetVideoIDByUidResponse) String() string

func (*GetVideoIDByUidResponse) Write

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

type GetWorkCountRequest

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

func NewGetWorkCountRequest

func NewGetWorkCountRequest() *GetWorkCountRequest

func (*GetWorkCountRequest) BLength

func (p *GetWorkCountRequest) BLength() int

func (*GetWorkCountRequest) DeepEqual

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

func (*GetWorkCountRequest) FastRead

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

func (*GetWorkCountRequest) FastReadField1

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

func (*GetWorkCountRequest) FastReadField2

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

func (*GetWorkCountRequest) FastWrite

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

for compatibility

func (*GetWorkCountRequest) FastWriteNocopy

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

func (*GetWorkCountRequest) Field1DeepEqual

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

func (*GetWorkCountRequest) Field2DeepEqual

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

func (*GetWorkCountRequest) GetToken

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

func (*GetWorkCountRequest) GetUserId

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

func (*GetWorkCountRequest) InitDefault

func (p *GetWorkCountRequest) InitDefault()

func (*GetWorkCountRequest) Read

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

func (*GetWorkCountRequest) ReadField1

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

func (*GetWorkCountRequest) ReadField2

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

func (*GetWorkCountRequest) SetToken

func (p *GetWorkCountRequest) SetToken(val string)

func (*GetWorkCountRequest) SetUserId

func (p *GetWorkCountRequest) SetUserId(val int64)

func (*GetWorkCountRequest) String

func (p *GetWorkCountRequest) String() string

func (*GetWorkCountRequest) Write

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

type GetWorkCountResponse

type GetWorkCountResponse struct {
	Base      *BaseResp `thrift:"base,1" frugal:"1,default,BaseResp" json:"base"`
	WorkCount int64     `thrift:"work_count,2" frugal:"2,default,i64" json:"work_count"`
}
var VideoServiceGetWorkCountResult_Success_DEFAULT *GetWorkCountResponse

func NewGetWorkCountResponse

func NewGetWorkCountResponse() *GetWorkCountResponse

func (*GetWorkCountResponse) BLength

func (p *GetWorkCountResponse) BLength() int

func (*GetWorkCountResponse) DeepEqual

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

func (*GetWorkCountResponse) FastRead

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

func (*GetWorkCountResponse) FastReadField1

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

func (*GetWorkCountResponse) FastReadField2

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

func (*GetWorkCountResponse) FastWrite

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

for compatibility

func (*GetWorkCountResponse) FastWriteNocopy

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

func (*GetWorkCountResponse) Field1DeepEqual

func (p *GetWorkCountResponse) Field1DeepEqual(src *BaseResp) bool

func (*GetWorkCountResponse) Field2DeepEqual

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

func (*GetWorkCountResponse) GetBase

func (p *GetWorkCountResponse) GetBase() (v *BaseResp)

func (*GetWorkCountResponse) GetWorkCount

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

func (*GetWorkCountResponse) InitDefault

func (p *GetWorkCountResponse) InitDefault()

func (*GetWorkCountResponse) IsSetBase

func (p *GetWorkCountResponse) IsSetBase() bool

func (*GetWorkCountResponse) Read

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

func (*GetWorkCountResponse) ReadField1

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

func (*GetWorkCountResponse) ReadField2

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

func (*GetWorkCountResponse) SetBase

func (p *GetWorkCountResponse) SetBase(val *BaseResp)

func (*GetWorkCountResponse) SetWorkCount

func (p *GetWorkCountResponse) SetWorkCount(val int64)

func (*GetWorkCountResponse) String

func (p *GetWorkCountResponse) String() string

func (*GetWorkCountResponse) Write

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

type PutVideoRequest

type PutVideoRequest struct {
	VideoFile []byte `thrift:"video_file,1" frugal:"1,default,binary" json:"video_file"`
	Title     string `thrift:"title,2" frugal:"2,default,string" json:"title"`
	Token     string `thrift:"token,3" frugal:"3,default,string" json:"token"`
}
var VideoServicePutVideoArgs_Req_DEFAULT *PutVideoRequest

func NewPutVideoRequest

func NewPutVideoRequest() *PutVideoRequest

func (*PutVideoRequest) BLength

func (p *PutVideoRequest) BLength() int

func (*PutVideoRequest) DeepEqual

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

func (*PutVideoRequest) FastRead

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

func (*PutVideoRequest) FastReadField1

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

func (*PutVideoRequest) FastReadField2

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

func (*PutVideoRequest) FastReadField3

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

func (*PutVideoRequest) FastWrite

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

for compatibility

func (*PutVideoRequest) FastWriteNocopy

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

func (*PutVideoRequest) Field1DeepEqual

func (p *PutVideoRequest) Field1DeepEqual(src []byte) bool

func (*PutVideoRequest) Field2DeepEqual

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

func (*PutVideoRequest) Field3DeepEqual

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

func (*PutVideoRequest) GetTitle

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

func (*PutVideoRequest) GetToken

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

func (*PutVideoRequest) GetVideoFile

func (p *PutVideoRequest) GetVideoFile() (v []byte)

func (*PutVideoRequest) InitDefault

func (p *PutVideoRequest) InitDefault()

func (*PutVideoRequest) Read

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

func (*PutVideoRequest) ReadField1

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

func (*PutVideoRequest) ReadField2

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

func (*PutVideoRequest) ReadField3

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

func (*PutVideoRequest) SetTitle

func (p *PutVideoRequest) SetTitle(val string)

func (*PutVideoRequest) SetToken

func (p *PutVideoRequest) SetToken(val string)

func (*PutVideoRequest) SetVideoFile

func (p *PutVideoRequest) SetVideoFile(val []byte)

func (*PutVideoRequest) String

func (p *PutVideoRequest) String() string

func (*PutVideoRequest) Write

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

type PutVideoResponse

type PutVideoResponse struct {
	Base *BaseResp `thrift:"base,1" frugal:"1,default,BaseResp" json:"base"`
}
var VideoServicePutVideoResult_Success_DEFAULT *PutVideoResponse

func NewPutVideoResponse

func NewPutVideoResponse() *PutVideoResponse

func (*PutVideoResponse) BLength

func (p *PutVideoResponse) BLength() int

func (*PutVideoResponse) DeepEqual

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

func (*PutVideoResponse) FastRead

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

func (*PutVideoResponse) FastReadField1

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

func (*PutVideoResponse) FastWrite

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

for compatibility

func (*PutVideoResponse) FastWriteNocopy

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

func (*PutVideoResponse) Field1DeepEqual

func (p *PutVideoResponse) Field1DeepEqual(src *BaseResp) bool

func (*PutVideoResponse) GetBase

func (p *PutVideoResponse) GetBase() (v *BaseResp)

func (*PutVideoResponse) InitDefault

func (p *PutVideoResponse) InitDefault()

func (*PutVideoResponse) IsSetBase

func (p *PutVideoResponse) IsSetBase() bool

func (*PutVideoResponse) Read

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

func (*PutVideoResponse) ReadField1

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

func (*PutVideoResponse) SetBase

func (p *PutVideoResponse) SetBase(val *BaseResp)

func (*PutVideoResponse) String

func (p *PutVideoResponse) String() string

func (*PutVideoResponse) Write

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

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"`
	FavoritedCount  int64  `thrift:"favorited_count,11" frugal:"11,default,i64" json:"favorited_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) GetFavoritedCount

func (p *User) GetFavoritedCount() (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) SetFavoritedCount

func (p *User) SetFavoritedCount(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"`
	IsFavourite   bool   `thrift:"is_favourite,7" frugal:"7,default,bool" json:"is_favourite"`
	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) GetIsFavourite

func (p *Video) GetIsFavourite() (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) SetIsFavourite

func (p *Video) SetIsFavourite(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)

type VideoService

type VideoService interface {
	Feed(ctx context.Context, req *FeedRequest) (r *FeedResponse, err error)

	PutVideo(ctx context.Context, req *PutVideoRequest) (r *PutVideoResponse, err error)

	GetFavoriteVideoInfo(ctx context.Context, req *GetFavoriteVideoInfoRequest) (r *GetFavoriteVideoInfoResponse, err error)

	GetPublishList(ctx context.Context, req *GetPublishListRequest) (r *GetPublishListResponse, err error)

	GetWorkCount(ctx context.Context, req *GetWorkCountRequest) (r *GetWorkCountResponse, err error)

	GetVideoIDByUid(ctx context.Context, req *GetVideoIDByUidRequest) (r *GetVideoIDByUidResponse, err error)
}

type VideoServiceClient

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

func NewVideoServiceClient

func NewVideoServiceClient(c thrift.TClient) *VideoServiceClient

func NewVideoServiceClientProtocol

func NewVideoServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *VideoServiceClient

func (*VideoServiceClient) Client_

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

func (*VideoServiceClient) Feed

func (p *VideoServiceClient) Feed(ctx context.Context, req *FeedRequest) (r *FeedResponse, err error)

func (*VideoServiceClient) GetFavoriteVideoInfo

func (*VideoServiceClient) GetPublishList

func (*VideoServiceClient) GetVideoIDByUid

func (*VideoServiceClient) GetWorkCount

func (p *VideoServiceClient) GetWorkCount(ctx context.Context, req *GetWorkCountRequest) (r *GetWorkCountResponse, err error)

func (*VideoServiceClient) PutVideo

func (p *VideoServiceClient) PutVideo(ctx context.Context, req *PutVideoRequest) (r *PutVideoResponse, err error)

type VideoServiceFeedArgs

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

func NewVideoServiceFeedArgs

func NewVideoServiceFeedArgs() *VideoServiceFeedArgs

func (*VideoServiceFeedArgs) BLength

func (p *VideoServiceFeedArgs) BLength() int

func (*VideoServiceFeedArgs) DeepEqual

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

func (*VideoServiceFeedArgs) FastRead

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

func (*VideoServiceFeedArgs) FastReadField1

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

func (*VideoServiceFeedArgs) FastWrite

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

for compatibility

func (*VideoServiceFeedArgs) FastWriteNocopy

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

func (*VideoServiceFeedArgs) Field1DeepEqual

func (p *VideoServiceFeedArgs) Field1DeepEqual(src *FeedRequest) bool

func (*VideoServiceFeedArgs) GetFirstArgument

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

func (*VideoServiceFeedArgs) GetReq

func (p *VideoServiceFeedArgs) GetReq() (v *FeedRequest)

func (*VideoServiceFeedArgs) InitDefault

func (p *VideoServiceFeedArgs) InitDefault()

func (*VideoServiceFeedArgs) IsSetReq

func (p *VideoServiceFeedArgs) IsSetReq() bool

func (*VideoServiceFeedArgs) Read

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

func (*VideoServiceFeedArgs) ReadField1

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

func (*VideoServiceFeedArgs) SetReq

func (p *VideoServiceFeedArgs) SetReq(val *FeedRequest)

func (*VideoServiceFeedArgs) String

func (p *VideoServiceFeedArgs) String() string

func (*VideoServiceFeedArgs) Write

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

type VideoServiceFeedResult

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

func NewVideoServiceFeedResult

func NewVideoServiceFeedResult() *VideoServiceFeedResult

func (*VideoServiceFeedResult) BLength

func (p *VideoServiceFeedResult) BLength() int

func (*VideoServiceFeedResult) DeepEqual

func (*VideoServiceFeedResult) FastRead

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

func (*VideoServiceFeedResult) FastReadField0

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

func (*VideoServiceFeedResult) FastWrite

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

for compatibility

func (*VideoServiceFeedResult) FastWriteNocopy

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

func (*VideoServiceFeedResult) Field0DeepEqual

func (p *VideoServiceFeedResult) Field0DeepEqual(src *FeedResponse) bool

func (*VideoServiceFeedResult) GetResult

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

func (*VideoServiceFeedResult) GetSuccess

func (p *VideoServiceFeedResult) GetSuccess() (v *FeedResponse)

func (*VideoServiceFeedResult) InitDefault

func (p *VideoServiceFeedResult) InitDefault()

func (*VideoServiceFeedResult) IsSetSuccess

func (p *VideoServiceFeedResult) IsSetSuccess() bool

func (*VideoServiceFeedResult) Read

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

func (*VideoServiceFeedResult) ReadField0

func (p *VideoServiceFeedResult) ReadField0(iprot thrift.TProtocol) error

func (*VideoServiceFeedResult) SetSuccess

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

func (*VideoServiceFeedResult) String

func (p *VideoServiceFeedResult) String() string

func (*VideoServiceFeedResult) Write

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

type VideoServiceGetFavoriteVideoInfoArgs

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

func NewVideoServiceGetFavoriteVideoInfoArgs

func NewVideoServiceGetFavoriteVideoInfoArgs() *VideoServiceGetFavoriteVideoInfoArgs

func (*VideoServiceGetFavoriteVideoInfoArgs) BLength

func (*VideoServiceGetFavoriteVideoInfoArgs) DeepEqual

func (*VideoServiceGetFavoriteVideoInfoArgs) FastRead

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

func (*VideoServiceGetFavoriteVideoInfoArgs) FastReadField1

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

func (*VideoServiceGetFavoriteVideoInfoArgs) FastWrite

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

for compatibility

func (*VideoServiceGetFavoriteVideoInfoArgs) FastWriteNocopy

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

func (*VideoServiceGetFavoriteVideoInfoArgs) Field1DeepEqual

func (*VideoServiceGetFavoriteVideoInfoArgs) GetFirstArgument

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

func (*VideoServiceGetFavoriteVideoInfoArgs) GetReq

func (*VideoServiceGetFavoriteVideoInfoArgs) InitDefault

func (p *VideoServiceGetFavoriteVideoInfoArgs) InitDefault()

func (*VideoServiceGetFavoriteVideoInfoArgs) IsSetReq

func (*VideoServiceGetFavoriteVideoInfoArgs) Read

func (*VideoServiceGetFavoriteVideoInfoArgs) ReadField1

func (*VideoServiceGetFavoriteVideoInfoArgs) SetReq

func (*VideoServiceGetFavoriteVideoInfoArgs) String

func (*VideoServiceGetFavoriteVideoInfoArgs) Write

type VideoServiceGetFavoriteVideoInfoResult

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

func NewVideoServiceGetFavoriteVideoInfoResult

func NewVideoServiceGetFavoriteVideoInfoResult() *VideoServiceGetFavoriteVideoInfoResult

func (*VideoServiceGetFavoriteVideoInfoResult) BLength

func (*VideoServiceGetFavoriteVideoInfoResult) DeepEqual

func (*VideoServiceGetFavoriteVideoInfoResult) FastRead

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

func (*VideoServiceGetFavoriteVideoInfoResult) FastReadField0

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

func (*VideoServiceGetFavoriteVideoInfoResult) FastWrite

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

for compatibility

func (*VideoServiceGetFavoriteVideoInfoResult) FastWriteNocopy

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

func (*VideoServiceGetFavoriteVideoInfoResult) Field0DeepEqual

func (*VideoServiceGetFavoriteVideoInfoResult) GetResult

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

func (*VideoServiceGetFavoriteVideoInfoResult) GetSuccess

func (*VideoServiceGetFavoriteVideoInfoResult) InitDefault

func (p *VideoServiceGetFavoriteVideoInfoResult) InitDefault()

func (*VideoServiceGetFavoriteVideoInfoResult) IsSetSuccess

func (p *VideoServiceGetFavoriteVideoInfoResult) IsSetSuccess() bool

func (*VideoServiceGetFavoriteVideoInfoResult) Read

func (*VideoServiceGetFavoriteVideoInfoResult) ReadField0

func (*VideoServiceGetFavoriteVideoInfoResult) SetSuccess

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

func (*VideoServiceGetFavoriteVideoInfoResult) String

func (*VideoServiceGetFavoriteVideoInfoResult) Write

type VideoServiceGetPublishListArgs

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

func NewVideoServiceGetPublishListArgs

func NewVideoServiceGetPublishListArgs() *VideoServiceGetPublishListArgs

func (*VideoServiceGetPublishListArgs) BLength

func (p *VideoServiceGetPublishListArgs) BLength() int

func (*VideoServiceGetPublishListArgs) DeepEqual

func (*VideoServiceGetPublishListArgs) FastRead

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

func (*VideoServiceGetPublishListArgs) FastReadField1

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

func (*VideoServiceGetPublishListArgs) FastWrite

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

for compatibility

func (*VideoServiceGetPublishListArgs) FastWriteNocopy

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

func (*VideoServiceGetPublishListArgs) Field1DeepEqual

func (*VideoServiceGetPublishListArgs) GetFirstArgument

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

func (*VideoServiceGetPublishListArgs) GetReq

func (*VideoServiceGetPublishListArgs) InitDefault

func (p *VideoServiceGetPublishListArgs) InitDefault()

func (*VideoServiceGetPublishListArgs) IsSetReq

func (p *VideoServiceGetPublishListArgs) IsSetReq() bool

func (*VideoServiceGetPublishListArgs) Read

func (*VideoServiceGetPublishListArgs) ReadField1

func (*VideoServiceGetPublishListArgs) SetReq

func (*VideoServiceGetPublishListArgs) String

func (*VideoServiceGetPublishListArgs) Write

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

type VideoServiceGetPublishListResult

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

func NewVideoServiceGetPublishListResult

func NewVideoServiceGetPublishListResult() *VideoServiceGetPublishListResult

func (*VideoServiceGetPublishListResult) BLength

func (*VideoServiceGetPublishListResult) DeepEqual

func (*VideoServiceGetPublishListResult) FastRead

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

func (*VideoServiceGetPublishListResult) FastReadField0

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

func (*VideoServiceGetPublishListResult) FastWrite

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

for compatibility

func (*VideoServiceGetPublishListResult) FastWriteNocopy

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

func (*VideoServiceGetPublishListResult) Field0DeepEqual

func (*VideoServiceGetPublishListResult) GetResult

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

func (*VideoServiceGetPublishListResult) GetSuccess

func (*VideoServiceGetPublishListResult) InitDefault

func (p *VideoServiceGetPublishListResult) InitDefault()

func (*VideoServiceGetPublishListResult) IsSetSuccess

func (p *VideoServiceGetPublishListResult) IsSetSuccess() bool

func (*VideoServiceGetPublishListResult) Read

func (*VideoServiceGetPublishListResult) ReadField0

func (*VideoServiceGetPublishListResult) SetSuccess

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

func (*VideoServiceGetPublishListResult) String

func (*VideoServiceGetPublishListResult) Write

type VideoServiceGetVideoIDByUidArgs

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

func NewVideoServiceGetVideoIDByUidArgs

func NewVideoServiceGetVideoIDByUidArgs() *VideoServiceGetVideoIDByUidArgs

func (*VideoServiceGetVideoIDByUidArgs) BLength

func (p *VideoServiceGetVideoIDByUidArgs) BLength() int

func (*VideoServiceGetVideoIDByUidArgs) DeepEqual

func (*VideoServiceGetVideoIDByUidArgs) FastRead

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

func (*VideoServiceGetVideoIDByUidArgs) FastReadField1

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

func (*VideoServiceGetVideoIDByUidArgs) FastWrite

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

for compatibility

func (*VideoServiceGetVideoIDByUidArgs) FastWriteNocopy

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

func (*VideoServiceGetVideoIDByUidArgs) Field1DeepEqual

func (*VideoServiceGetVideoIDByUidArgs) GetFirstArgument

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

func (*VideoServiceGetVideoIDByUidArgs) GetReq

func (*VideoServiceGetVideoIDByUidArgs) InitDefault

func (p *VideoServiceGetVideoIDByUidArgs) InitDefault()

func (*VideoServiceGetVideoIDByUidArgs) IsSetReq

func (p *VideoServiceGetVideoIDByUidArgs) IsSetReq() bool

func (*VideoServiceGetVideoIDByUidArgs) Read

func (*VideoServiceGetVideoIDByUidArgs) ReadField1

func (*VideoServiceGetVideoIDByUidArgs) SetReq

func (*VideoServiceGetVideoIDByUidArgs) String

func (*VideoServiceGetVideoIDByUidArgs) Write

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

type VideoServiceGetVideoIDByUidResult

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

func NewVideoServiceGetVideoIDByUidResult

func NewVideoServiceGetVideoIDByUidResult() *VideoServiceGetVideoIDByUidResult

func (*VideoServiceGetVideoIDByUidResult) BLength

func (*VideoServiceGetVideoIDByUidResult) DeepEqual

func (*VideoServiceGetVideoIDByUidResult) FastRead

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

func (*VideoServiceGetVideoIDByUidResult) FastReadField0

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

func (*VideoServiceGetVideoIDByUidResult) FastWrite

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

for compatibility

func (*VideoServiceGetVideoIDByUidResult) FastWriteNocopy

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

func (*VideoServiceGetVideoIDByUidResult) Field0DeepEqual

func (*VideoServiceGetVideoIDByUidResult) GetResult

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

func (*VideoServiceGetVideoIDByUidResult) GetSuccess

func (*VideoServiceGetVideoIDByUidResult) InitDefault

func (p *VideoServiceGetVideoIDByUidResult) InitDefault()

func (*VideoServiceGetVideoIDByUidResult) IsSetSuccess

func (p *VideoServiceGetVideoIDByUidResult) IsSetSuccess() bool

func (*VideoServiceGetVideoIDByUidResult) Read

func (*VideoServiceGetVideoIDByUidResult) ReadField0

func (*VideoServiceGetVideoIDByUidResult) SetSuccess

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

func (*VideoServiceGetVideoIDByUidResult) String

func (*VideoServiceGetVideoIDByUidResult) Write

type VideoServiceGetWorkCountArgs

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

func NewVideoServiceGetWorkCountArgs

func NewVideoServiceGetWorkCountArgs() *VideoServiceGetWorkCountArgs

func (*VideoServiceGetWorkCountArgs) BLength

func (p *VideoServiceGetWorkCountArgs) BLength() int

func (*VideoServiceGetWorkCountArgs) DeepEqual

func (*VideoServiceGetWorkCountArgs) FastRead

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

func (*VideoServiceGetWorkCountArgs) FastReadField1

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

func (*VideoServiceGetWorkCountArgs) FastWrite

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

for compatibility

func (*VideoServiceGetWorkCountArgs) FastWriteNocopy

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

func (*VideoServiceGetWorkCountArgs) Field1DeepEqual

func (p *VideoServiceGetWorkCountArgs) Field1DeepEqual(src *GetWorkCountRequest) bool

func (*VideoServiceGetWorkCountArgs) GetFirstArgument

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

func (*VideoServiceGetWorkCountArgs) GetReq

func (*VideoServiceGetWorkCountArgs) InitDefault

func (p *VideoServiceGetWorkCountArgs) InitDefault()

func (*VideoServiceGetWorkCountArgs) IsSetReq

func (p *VideoServiceGetWorkCountArgs) IsSetReq() bool

func (*VideoServiceGetWorkCountArgs) Read

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

func (*VideoServiceGetWorkCountArgs) ReadField1

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

func (*VideoServiceGetWorkCountArgs) SetReq

func (*VideoServiceGetWorkCountArgs) String

func (*VideoServiceGetWorkCountArgs) Write

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

type VideoServiceGetWorkCountResult

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

func NewVideoServiceGetWorkCountResult

func NewVideoServiceGetWorkCountResult() *VideoServiceGetWorkCountResult

func (*VideoServiceGetWorkCountResult) BLength

func (p *VideoServiceGetWorkCountResult) BLength() int

func (*VideoServiceGetWorkCountResult) DeepEqual

func (*VideoServiceGetWorkCountResult) FastRead

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

func (*VideoServiceGetWorkCountResult) FastReadField0

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

func (*VideoServiceGetWorkCountResult) FastWrite

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

for compatibility

func (*VideoServiceGetWorkCountResult) FastWriteNocopy

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

func (*VideoServiceGetWorkCountResult) Field0DeepEqual

func (p *VideoServiceGetWorkCountResult) Field0DeepEqual(src *GetWorkCountResponse) bool

func (*VideoServiceGetWorkCountResult) GetResult

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

func (*VideoServiceGetWorkCountResult) GetSuccess

func (*VideoServiceGetWorkCountResult) InitDefault

func (p *VideoServiceGetWorkCountResult) InitDefault()

func (*VideoServiceGetWorkCountResult) IsSetSuccess

func (p *VideoServiceGetWorkCountResult) IsSetSuccess() bool

func (*VideoServiceGetWorkCountResult) Read

func (*VideoServiceGetWorkCountResult) ReadField0

func (*VideoServiceGetWorkCountResult) SetSuccess

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

func (*VideoServiceGetWorkCountResult) String

func (*VideoServiceGetWorkCountResult) Write

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

type VideoServiceProcessor

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

func NewVideoServiceProcessor

func NewVideoServiceProcessor(handler VideoService) *VideoServiceProcessor

func (*VideoServiceProcessor) AddToProcessorMap

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

func (*VideoServiceProcessor) GetProcessorFunction

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

func (*VideoServiceProcessor) Process

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

func (*VideoServiceProcessor) ProcessorMap

func (p *VideoServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

type VideoServicePutVideoArgs

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

func NewVideoServicePutVideoArgs

func NewVideoServicePutVideoArgs() *VideoServicePutVideoArgs

func (*VideoServicePutVideoArgs) BLength

func (p *VideoServicePutVideoArgs) BLength() int

func (*VideoServicePutVideoArgs) DeepEqual

func (*VideoServicePutVideoArgs) FastRead

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

func (*VideoServicePutVideoArgs) FastReadField1

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

func (*VideoServicePutVideoArgs) FastWrite

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

for compatibility

func (*VideoServicePutVideoArgs) FastWriteNocopy

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

func (*VideoServicePutVideoArgs) Field1DeepEqual

func (p *VideoServicePutVideoArgs) Field1DeepEqual(src *PutVideoRequest) bool

func (*VideoServicePutVideoArgs) GetFirstArgument

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

func (*VideoServicePutVideoArgs) GetReq

func (p *VideoServicePutVideoArgs) GetReq() (v *PutVideoRequest)

func (*VideoServicePutVideoArgs) InitDefault

func (p *VideoServicePutVideoArgs) InitDefault()

func (*VideoServicePutVideoArgs) IsSetReq

func (p *VideoServicePutVideoArgs) IsSetReq() bool

func (*VideoServicePutVideoArgs) Read

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

func (*VideoServicePutVideoArgs) ReadField1

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

func (*VideoServicePutVideoArgs) SetReq

func (p *VideoServicePutVideoArgs) SetReq(val *PutVideoRequest)

func (*VideoServicePutVideoArgs) String

func (p *VideoServicePutVideoArgs) String() string

func (*VideoServicePutVideoArgs) Write

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

type VideoServicePutVideoResult

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

func NewVideoServicePutVideoResult

func NewVideoServicePutVideoResult() *VideoServicePutVideoResult

func (*VideoServicePutVideoResult) BLength

func (p *VideoServicePutVideoResult) BLength() int

func (*VideoServicePutVideoResult) DeepEqual

func (*VideoServicePutVideoResult) FastRead

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

func (*VideoServicePutVideoResult) FastReadField0

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

func (*VideoServicePutVideoResult) FastWrite

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

for compatibility

func (*VideoServicePutVideoResult) FastWriteNocopy

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

func (*VideoServicePutVideoResult) Field0DeepEqual

func (p *VideoServicePutVideoResult) Field0DeepEqual(src *PutVideoResponse) bool

func (*VideoServicePutVideoResult) GetResult

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

func (*VideoServicePutVideoResult) GetSuccess

func (p *VideoServicePutVideoResult) GetSuccess() (v *PutVideoResponse)

func (*VideoServicePutVideoResult) InitDefault

func (p *VideoServicePutVideoResult) InitDefault()

func (*VideoServicePutVideoResult) IsSetSuccess

func (p *VideoServicePutVideoResult) IsSetSuccess() bool

func (*VideoServicePutVideoResult) Read

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

func (*VideoServicePutVideoResult) ReadField0

func (p *VideoServicePutVideoResult) ReadField0(iprot thrift.TProtocol) error

func (*VideoServicePutVideoResult) SetSuccess

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

func (*VideoServicePutVideoResult) String

func (p *VideoServicePutVideoResult) String() string

func (*VideoServicePutVideoResult) Write

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

Directories

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

Jump to

Keyboard shortcuts

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