Documentation ¶
Index ¶
- Variables
- type FeedRequest
- func (p *FeedRequest) BLength() int
- func (p *FeedRequest) DeepEqual(ano *FeedRequest) bool
- func (p *FeedRequest) FastRead(buf []byte) (int, error)
- func (p *FeedRequest) FastReadField1(buf []byte) (int, error)
- func (p *FeedRequest) FastReadField2(buf []byte) (int, error)
- func (p *FeedRequest) FastWrite(buf []byte) int
- func (p *FeedRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FeedRequest) Field1DeepEqual(src int64) bool
- func (p *FeedRequest) Field2DeepEqual(src string) bool
- func (p *FeedRequest) GetLatestTime() (v int64)
- func (p *FeedRequest) GetToken() (v string)
- func (p *FeedRequest) InitDefault()
- func (p *FeedRequest) IsValid() error
- func (p *FeedRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *FeedRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *FeedRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *FeedRequest) SetLatestTime(val int64)
- func (p *FeedRequest) SetToken(val string)
- func (p *FeedRequest) String() string
- func (p *FeedRequest) Write(oprot thrift.TProtocol) (err error)
- type FeedResponse
- func (p *FeedResponse) BLength() int
- func (p *FeedResponse) DeepEqual(ano *FeedResponse) bool
- func (p *FeedResponse) FastRead(buf []byte) (int, error)
- func (p *FeedResponse) FastReadField1(buf []byte) (int, error)
- func (p *FeedResponse) FastReadField2(buf []byte) (int, error)
- func (p *FeedResponse) FastReadField3(buf []byte) (int, error)
- func (p *FeedResponse) FastReadField4(buf []byte) (int, error)
- func (p *FeedResponse) FastWrite(buf []byte) int
- func (p *FeedResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FeedResponse) Field1DeepEqual(src int32) bool
- func (p *FeedResponse) Field2DeepEqual(src string) bool
- func (p *FeedResponse) Field3DeepEqual(src []*Video) bool
- func (p *FeedResponse) Field4DeepEqual(src int64) bool
- func (p *FeedResponse) GetNextTime() (v int64)
- func (p *FeedResponse) GetStatusCode() (v int32)
- func (p *FeedResponse) GetStatusMsg() (v string)
- func (p *FeedResponse) GetVideoList() (v []*Video)
- func (p *FeedResponse) InitDefault()
- func (p *FeedResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *FeedResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *FeedResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *FeedResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *FeedResponse) ReadField4(iprot thrift.TProtocol) error
- func (p *FeedResponse) SetNextTime(val int64)
- func (p *FeedResponse) SetStatusCode(val int32)
- func (p *FeedResponse) SetStatusMsg(val string)
- func (p *FeedResponse) SetVideoList(val []*Video)
- func (p *FeedResponse) String() string
- func (p *FeedResponse) Write(oprot thrift.TProtocol) (err error)
- type PublishActionRequest
- func (p *PublishActionRequest) BLength() int
- func (p *PublishActionRequest) DeepEqual(ano *PublishActionRequest) bool
- func (p *PublishActionRequest) FastRead(buf []byte) (int, error)
- func (p *PublishActionRequest) FastReadField1(buf []byte) (int, error)
- func (p *PublishActionRequest) FastReadField2(buf []byte) (int, error)
- func (p *PublishActionRequest) FastReadField3(buf []byte) (int, error)
- func (p *PublishActionRequest) FastWrite(buf []byte) int
- func (p *PublishActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishActionRequest) Field1DeepEqual(src string) bool
- func (p *PublishActionRequest) Field2DeepEqual(src []byte) bool
- func (p *PublishActionRequest) Field3DeepEqual(src string) bool
- func (p *PublishActionRequest) GetData() (v []byte)
- func (p *PublishActionRequest) GetTitle() (v string)
- func (p *PublishActionRequest) GetToken() (v string)
- func (p *PublishActionRequest) InitDefault()
- func (p *PublishActionRequest) IsValid() error
- func (p *PublishActionRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishActionRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishActionRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *PublishActionRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *PublishActionRequest) SetData(val []byte)
- func (p *PublishActionRequest) SetTitle(val string)
- func (p *PublishActionRequest) SetToken(val string)
- func (p *PublishActionRequest) String() string
- func (p *PublishActionRequest) Write(oprot thrift.TProtocol) (err error)
- type PublishActionResponse
- func (p *PublishActionResponse) BLength() int
- func (p *PublishActionResponse) DeepEqual(ano *PublishActionResponse) bool
- func (p *PublishActionResponse) FastRead(buf []byte) (int, error)
- func (p *PublishActionResponse) FastReadField1(buf []byte) (int, error)
- func (p *PublishActionResponse) FastReadField2(buf []byte) (int, error)
- func (p *PublishActionResponse) FastWrite(buf []byte) int
- func (p *PublishActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishActionResponse) Field1DeepEqual(src int32) bool
- func (p *PublishActionResponse) Field2DeepEqual(src string) bool
- func (p *PublishActionResponse) GetStatusCode() (v int32)
- func (p *PublishActionResponse) GetStatusMsg() (v string)
- func (p *PublishActionResponse) InitDefault()
- func (p *PublishActionResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishActionResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishActionResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *PublishActionResponse) SetStatusCode(val int32)
- func (p *PublishActionResponse) SetStatusMsg(val string)
- func (p *PublishActionResponse) String() string
- func (p *PublishActionResponse) Write(oprot thrift.TProtocol) (err error)
- type PublishListRequest
- func (p *PublishListRequest) BLength() int
- func (p *PublishListRequest) DeepEqual(ano *PublishListRequest) bool
- func (p *PublishListRequest) FastRead(buf []byte) (int, error)
- func (p *PublishListRequest) FastReadField1(buf []byte) (int, error)
- func (p *PublishListRequest) FastReadField2(buf []byte) (int, error)
- func (p *PublishListRequest) FastWrite(buf []byte) int
- func (p *PublishListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishListRequest) Field1DeepEqual(src int64) bool
- func (p *PublishListRequest) Field2DeepEqual(src string) bool
- func (p *PublishListRequest) GetToken() (v string)
- func (p *PublishListRequest) GetUserId() (v int64)
- func (p *PublishListRequest) InitDefault()
- func (p *PublishListRequest) IsValid() error
- func (p *PublishListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishListRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *PublishListRequest) SetToken(val string)
- func (p *PublishListRequest) SetUserId(val int64)
- func (p *PublishListRequest) String() string
- func (p *PublishListRequest) Write(oprot thrift.TProtocol) (err error)
- type PublishListResponse
- func (p *PublishListResponse) BLength() int
- func (p *PublishListResponse) DeepEqual(ano *PublishListResponse) bool
- func (p *PublishListResponse) FastRead(buf []byte) (int, error)
- func (p *PublishListResponse) FastReadField1(buf []byte) (int, error)
- func (p *PublishListResponse) FastReadField2(buf []byte) (int, error)
- func (p *PublishListResponse) FastReadField3(buf []byte) (int, error)
- func (p *PublishListResponse) FastWrite(buf []byte) int
- func (p *PublishListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishListResponse) Field1DeepEqual(src int32) bool
- func (p *PublishListResponse) Field2DeepEqual(src string) bool
- func (p *PublishListResponse) Field3DeepEqual(src []*Video) bool
- func (p *PublishListResponse) GetStatusCode() (v int32)
- func (p *PublishListResponse) GetStatusMsg() (v string)
- func (p *PublishListResponse) GetVideoList() (v []*Video)
- func (p *PublishListResponse) InitDefault()
- func (p *PublishListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *PublishListResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *PublishListResponse) SetStatusCode(val int32)
- func (p *PublishListResponse) SetStatusMsg(val string)
- func (p *PublishListResponse) SetVideoList(val []*Video)
- func (p *PublishListResponse) String() string
- func (p *PublishListResponse) Write(oprot thrift.TProtocol) (err error)
- type Video
- func (p *Video) BLength() int
- func (p *Video) DeepEqual(ano *Video) bool
- func (p *Video) FastRead(buf []byte) (int, error)
- func (p *Video) FastReadField1(buf []byte) (int, error)
- func (p *Video) FastReadField2(buf []byte) (int, error)
- func (p *Video) FastReadField3(buf []byte) (int, error)
- func (p *Video) FastReadField4(buf []byte) (int, error)
- func (p *Video) FastReadField5(buf []byte) (int, error)
- func (p *Video) FastReadField6(buf []byte) (int, error)
- func (p *Video) FastReadField7(buf []byte) (int, error)
- func (p *Video) FastReadField8(buf []byte) (int, error)
- func (p *Video) FastWrite(buf []byte) int
- func (p *Video) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *Video) Field1DeepEqual(src int64) bool
- func (p *Video) Field2DeepEqual(src *user.User) bool
- func (p *Video) Field3DeepEqual(src string) bool
- func (p *Video) Field4DeepEqual(src string) bool
- func (p *Video) Field5DeepEqual(src int64) bool
- func (p *Video) Field6DeepEqual(src int64) bool
- func (p *Video) Field7DeepEqual(src bool) bool
- func (p *Video) Field8DeepEqual(src string) bool
- func (p *Video) GetAuthor() (v *user.User)
- func (p *Video) GetCommentCount() (v int64)
- func (p *Video) GetCoverUrl() (v string)
- func (p *Video) GetFavoriteCount() (v int64)
- func (p *Video) GetId() (v int64)
- func (p *Video) GetIsFavorite() (v bool)
- func (p *Video) GetPlayUrl() (v string)
- func (p *Video) GetTitle() (v string)
- func (p *Video) InitDefault()
- func (p *Video) IsSetAuthor() bool
- func (p *Video) Read(iprot thrift.TProtocol) (err error)
- func (p *Video) ReadField1(iprot thrift.TProtocol) error
- func (p *Video) ReadField2(iprot thrift.TProtocol) error
- func (p *Video) ReadField3(iprot thrift.TProtocol) error
- func (p *Video) ReadField4(iprot thrift.TProtocol) error
- func (p *Video) ReadField5(iprot thrift.TProtocol) error
- func (p *Video) ReadField6(iprot thrift.TProtocol) error
- func (p *Video) ReadField7(iprot thrift.TProtocol) error
- func (p *Video) ReadField8(iprot thrift.TProtocol) error
- func (p *Video) SetAuthor(val *user.User)
- func (p *Video) SetCommentCount(val int64)
- func (p *Video) SetCoverUrl(val string)
- func (p *Video) SetFavoriteCount(val int64)
- func (p *Video) SetId(val int64)
- func (p *Video) SetIsFavorite(val bool)
- func (p *Video) SetPlayUrl(val string)
- func (p *Video) SetTitle(val string)
- func (p *Video) String() string
- func (p *Video) Write(oprot thrift.TProtocol) (err error)
- type VideoRequest
- func (p *VideoRequest) BLength() int
- func (p *VideoRequest) DeepEqual(ano *VideoRequest) bool
- func (p *VideoRequest) FastRead(buf []byte) (int, error)
- func (p *VideoRequest) FastReadField1(buf []byte) (int, error)
- func (p *VideoRequest) FastReadField2(buf []byte) (int, error)
- func (p *VideoRequest) FastWrite(buf []byte) int
- func (p *VideoRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *VideoRequest) Field1DeepEqual(src int64) bool
- func (p *VideoRequest) Field2DeepEqual(src int64) bool
- func (p *VideoRequest) GetUserId() (v int64)
- func (p *VideoRequest) GetVideoId() (v int64)
- func (p *VideoRequest) InitDefault()
- func (p *VideoRequest) IsValid() error
- func (p *VideoRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *VideoRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *VideoRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *VideoRequest) SetUserId(val int64)
- func (p *VideoRequest) SetVideoId(val int64)
- func (p *VideoRequest) String() string
- func (p *VideoRequest) Write(oprot thrift.TProtocol) (err error)
- type VideoResponse
- func (p *VideoResponse) BLength() int
- func (p *VideoResponse) DeepEqual(ano *VideoResponse) bool
- func (p *VideoResponse) FastRead(buf []byte) (int, error)
- func (p *VideoResponse) FastReadField1(buf []byte) (int, error)
- func (p *VideoResponse) FastReadField2(buf []byte) (int, error)
- func (p *VideoResponse) FastReadField3(buf []byte) (int, error)
- func (p *VideoResponse) FastWrite(buf []byte) int
- func (p *VideoResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *VideoResponse) Field1DeepEqual(src int32) bool
- func (p *VideoResponse) Field2DeepEqual(src string) bool
- func (p *VideoResponse) Field3DeepEqual(src *Video) bool
- func (p *VideoResponse) GetStatusCode() (v int32)
- func (p *VideoResponse) GetStatusMsg() (v string)
- func (p *VideoResponse) GetVideo() (v *Video)
- func (p *VideoResponse) InitDefault()
- func (p *VideoResponse) IsSetVideo() bool
- func (p *VideoResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *VideoResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *VideoResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *VideoResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *VideoResponse) SetStatusCode(val int32)
- func (p *VideoResponse) SetStatusMsg(val string)
- func (p *VideoResponse) SetVideo(val *Video)
- func (p *VideoResponse) String() string
- func (p *VideoResponse) Write(oprot thrift.TProtocol) (err error)
- type VideoService
- type VideoServiceClient
- func (p *VideoServiceClient) Client_() thrift.TClient
- func (p *VideoServiceClient) GetFeed(ctx context.Context, req *FeedRequest) (r *FeedResponse, err error)
- func (p *VideoServiceClient) GetPublishList(ctx context.Context, req *PublishListRequest) (r *PublishListResponse, err error)
- func (p *VideoServiceClient) GetVideo(ctx context.Context, req *VideoRequest) (r *VideoResponse, err error)
- func (p *VideoServiceClient) PublishAction(ctx context.Context, req *PublishActionRequest) (r *PublishActionResponse, err error)
- type VideoServiceGetFeedArgs
- func (p *VideoServiceGetFeedArgs) BLength() int
- func (p *VideoServiceGetFeedArgs) DeepEqual(ano *VideoServiceGetFeedArgs) bool
- func (p *VideoServiceGetFeedArgs) FastRead(buf []byte) (int, error)
- func (p *VideoServiceGetFeedArgs) FastReadField1(buf []byte) (int, error)
- func (p *VideoServiceGetFeedArgs) FastWrite(buf []byte) int
- func (p *VideoServiceGetFeedArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *VideoServiceGetFeedArgs) Field1DeepEqual(src *FeedRequest) bool
- func (p *VideoServiceGetFeedArgs) GetFirstArgument() interface{}
- func (p *VideoServiceGetFeedArgs) GetReq() (v *FeedRequest)
- func (p *VideoServiceGetFeedArgs) InitDefault()
- func (p *VideoServiceGetFeedArgs) IsSetReq() bool
- func (p *VideoServiceGetFeedArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *VideoServiceGetFeedArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *VideoServiceGetFeedArgs) SetReq(val *FeedRequest)
- func (p *VideoServiceGetFeedArgs) String() string
- func (p *VideoServiceGetFeedArgs) Write(oprot thrift.TProtocol) (err error)
- type VideoServiceGetFeedResult
- func (p *VideoServiceGetFeedResult) BLength() int
- func (p *VideoServiceGetFeedResult) DeepEqual(ano *VideoServiceGetFeedResult) bool
- func (p *VideoServiceGetFeedResult) FastRead(buf []byte) (int, error)
- func (p *VideoServiceGetFeedResult) FastReadField0(buf []byte) (int, error)
- func (p *VideoServiceGetFeedResult) FastWrite(buf []byte) int
- func (p *VideoServiceGetFeedResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *VideoServiceGetFeedResult) Field0DeepEqual(src *FeedResponse) bool
- func (p *VideoServiceGetFeedResult) GetResult() interface{}
- func (p *VideoServiceGetFeedResult) GetSuccess() (v *FeedResponse)
- func (p *VideoServiceGetFeedResult) InitDefault()
- func (p *VideoServiceGetFeedResult) IsSetSuccess() bool
- func (p *VideoServiceGetFeedResult) Read(iprot thrift.TProtocol) (err error)
- func (p *VideoServiceGetFeedResult) ReadField0(iprot thrift.TProtocol) error
- func (p *VideoServiceGetFeedResult) SetSuccess(x interface{})
- func (p *VideoServiceGetFeedResult) String() string
- func (p *VideoServiceGetFeedResult) Write(oprot thrift.TProtocol) (err error)
- type VideoServiceGetPublishListArgs
- func (p *VideoServiceGetPublishListArgs) BLength() int
- func (p *VideoServiceGetPublishListArgs) DeepEqual(ano *VideoServiceGetPublishListArgs) bool
- func (p *VideoServiceGetPublishListArgs) FastRead(buf []byte) (int, error)
- func (p *VideoServiceGetPublishListArgs) FastReadField1(buf []byte) (int, error)
- func (p *VideoServiceGetPublishListArgs) FastWrite(buf []byte) int
- func (p *VideoServiceGetPublishListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *VideoServiceGetPublishListArgs) Field1DeepEqual(src *PublishListRequest) bool
- func (p *VideoServiceGetPublishListArgs) GetFirstArgument() interface{}
- func (p *VideoServiceGetPublishListArgs) GetReq() (v *PublishListRequest)
- func (p *VideoServiceGetPublishListArgs) InitDefault()
- func (p *VideoServiceGetPublishListArgs) IsSetReq() bool
- func (p *VideoServiceGetPublishListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *VideoServiceGetPublishListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *VideoServiceGetPublishListArgs) SetReq(val *PublishListRequest)
- func (p *VideoServiceGetPublishListArgs) String() string
- func (p *VideoServiceGetPublishListArgs) Write(oprot thrift.TProtocol) (err error)
- type VideoServiceGetPublishListResult
- func (p *VideoServiceGetPublishListResult) BLength() int
- func (p *VideoServiceGetPublishListResult) DeepEqual(ano *VideoServiceGetPublishListResult) bool
- func (p *VideoServiceGetPublishListResult) FastRead(buf []byte) (int, error)
- func (p *VideoServiceGetPublishListResult) FastReadField0(buf []byte) (int, error)
- func (p *VideoServiceGetPublishListResult) FastWrite(buf []byte) int
- func (p *VideoServiceGetPublishListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *VideoServiceGetPublishListResult) Field0DeepEqual(src *PublishListResponse) bool
- func (p *VideoServiceGetPublishListResult) GetResult() interface{}
- func (p *VideoServiceGetPublishListResult) GetSuccess() (v *PublishListResponse)
- func (p *VideoServiceGetPublishListResult) InitDefault()
- func (p *VideoServiceGetPublishListResult) IsSetSuccess() bool
- func (p *VideoServiceGetPublishListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *VideoServiceGetPublishListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *VideoServiceGetPublishListResult) SetSuccess(x interface{})
- func (p *VideoServiceGetPublishListResult) String() string
- func (p *VideoServiceGetPublishListResult) Write(oprot thrift.TProtocol) (err error)
- type VideoServiceGetVideoArgs
- func (p *VideoServiceGetVideoArgs) BLength() int
- func (p *VideoServiceGetVideoArgs) DeepEqual(ano *VideoServiceGetVideoArgs) bool
- func (p *VideoServiceGetVideoArgs) FastRead(buf []byte) (int, error)
- func (p *VideoServiceGetVideoArgs) FastReadField1(buf []byte) (int, error)
- func (p *VideoServiceGetVideoArgs) FastWrite(buf []byte) int
- func (p *VideoServiceGetVideoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *VideoServiceGetVideoArgs) Field1DeepEqual(src *VideoRequest) bool
- func (p *VideoServiceGetVideoArgs) GetFirstArgument() interface{}
- func (p *VideoServiceGetVideoArgs) GetReq() (v *VideoRequest)
- func (p *VideoServiceGetVideoArgs) InitDefault()
- func (p *VideoServiceGetVideoArgs) IsSetReq() bool
- func (p *VideoServiceGetVideoArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *VideoServiceGetVideoArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *VideoServiceGetVideoArgs) SetReq(val *VideoRequest)
- func (p *VideoServiceGetVideoArgs) String() string
- func (p *VideoServiceGetVideoArgs) Write(oprot thrift.TProtocol) (err error)
- type VideoServiceGetVideoResult
- func (p *VideoServiceGetVideoResult) BLength() int
- func (p *VideoServiceGetVideoResult) DeepEqual(ano *VideoServiceGetVideoResult) bool
- func (p *VideoServiceGetVideoResult) FastRead(buf []byte) (int, error)
- func (p *VideoServiceGetVideoResult) FastReadField0(buf []byte) (int, error)
- func (p *VideoServiceGetVideoResult) FastWrite(buf []byte) int
- func (p *VideoServiceGetVideoResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *VideoServiceGetVideoResult) Field0DeepEqual(src *VideoResponse) bool
- func (p *VideoServiceGetVideoResult) GetResult() interface{}
- func (p *VideoServiceGetVideoResult) GetSuccess() (v *VideoResponse)
- func (p *VideoServiceGetVideoResult) InitDefault()
- func (p *VideoServiceGetVideoResult) IsSetSuccess() bool
- func (p *VideoServiceGetVideoResult) Read(iprot thrift.TProtocol) (err error)
- func (p *VideoServiceGetVideoResult) ReadField0(iprot thrift.TProtocol) error
- func (p *VideoServiceGetVideoResult) SetSuccess(x interface{})
- func (p *VideoServiceGetVideoResult) String() string
- func (p *VideoServiceGetVideoResult) Write(oprot thrift.TProtocol) (err error)
- type VideoServiceProcessor
- func (p *VideoServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *VideoServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *VideoServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *VideoServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type VideoServicePublishActionArgs
- func (p *VideoServicePublishActionArgs) BLength() int
- func (p *VideoServicePublishActionArgs) DeepEqual(ano *VideoServicePublishActionArgs) bool
- func (p *VideoServicePublishActionArgs) FastRead(buf []byte) (int, error)
- func (p *VideoServicePublishActionArgs) FastReadField1(buf []byte) (int, error)
- func (p *VideoServicePublishActionArgs) FastWrite(buf []byte) int
- func (p *VideoServicePublishActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *VideoServicePublishActionArgs) Field1DeepEqual(src *PublishActionRequest) bool
- func (p *VideoServicePublishActionArgs) GetFirstArgument() interface{}
- func (p *VideoServicePublishActionArgs) GetReq() (v *PublishActionRequest)
- func (p *VideoServicePublishActionArgs) InitDefault()
- func (p *VideoServicePublishActionArgs) IsSetReq() bool
- func (p *VideoServicePublishActionArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *VideoServicePublishActionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *VideoServicePublishActionArgs) SetReq(val *PublishActionRequest)
- func (p *VideoServicePublishActionArgs) String() string
- func (p *VideoServicePublishActionArgs) Write(oprot thrift.TProtocol) (err error)
- type VideoServicePublishActionResult
- func (p *VideoServicePublishActionResult) BLength() int
- func (p *VideoServicePublishActionResult) DeepEqual(ano *VideoServicePublishActionResult) bool
- func (p *VideoServicePublishActionResult) FastRead(buf []byte) (int, error)
- func (p *VideoServicePublishActionResult) FastReadField0(buf []byte) (int, error)
- func (p *VideoServicePublishActionResult) FastWrite(buf []byte) int
- func (p *VideoServicePublishActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *VideoServicePublishActionResult) Field0DeepEqual(src *PublishActionResponse) bool
- func (p *VideoServicePublishActionResult) GetResult() interface{}
- func (p *VideoServicePublishActionResult) GetSuccess() (v *PublishActionResponse)
- func (p *VideoServicePublishActionResult) InitDefault()
- func (p *VideoServicePublishActionResult) IsSetSuccess() bool
- func (p *VideoServicePublishActionResult) Read(iprot thrift.TProtocol) (err error)
- func (p *VideoServicePublishActionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *VideoServicePublishActionResult) SetSuccess(x interface{})
- func (p *VideoServicePublishActionResult) String() string
- func (p *VideoServicePublishActionResult) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
View Source
var Video_Author_DEFAULT *user.User
Functions ¶
This section is empty.
Types ¶
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 VideoServiceGetFeedArgs_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) FastReadField1 ¶
func (p *FeedRequest) FastReadField1(buf []byte) (int, error)
func (*FeedRequest) FastReadField2 ¶
func (p *FeedRequest) FastReadField2(buf []byte) (int, error)
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) 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
type FeedResponse ¶
type FeedResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg string `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"` VideoList []*Video `thrift:"video_list,3" frugal:"3,default,list<Video>" json:"video_list"` NextTime int64 `thrift:"next_time,4" frugal:"4,default,i64" json:"next_time"` }
var VideoServiceGetFeedResult_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) 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) FastReadField4 ¶
func (p *FeedResponse) FastReadField4(buf []byte) (int, error)
func (*FeedResponse) FastWriteNocopy ¶
func (p *FeedResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FeedResponse) Field1DeepEqual ¶
func (p *FeedResponse) Field1DeepEqual(src int32) bool
func (*FeedResponse) Field2DeepEqual ¶
func (p *FeedResponse) Field2DeepEqual(src string) bool
func (*FeedResponse) Field3DeepEqual ¶
func (p *FeedResponse) Field3DeepEqual(src []*Video) bool
func (*FeedResponse) Field4DeepEqual ¶
func (p *FeedResponse) Field4DeepEqual(src int64) bool
func (*FeedResponse) GetNextTime ¶
func (p *FeedResponse) GetNextTime() (v int64)
func (*FeedResponse) GetStatusCode ¶
func (p *FeedResponse) GetStatusCode() (v int32)
func (*FeedResponse) GetStatusMsg ¶
func (p *FeedResponse) GetStatusMsg() (v string)
func (*FeedResponse) GetVideoList ¶
func (p *FeedResponse) GetVideoList() (v []*Video)
func (*FeedResponse) InitDefault ¶
func (p *FeedResponse) InitDefault()
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) ReadField4 ¶
func (p *FeedResponse) ReadField4(iprot thrift.TProtocol) error
func (*FeedResponse) SetNextTime ¶
func (p *FeedResponse) SetNextTime(val int64)
func (*FeedResponse) SetStatusCode ¶
func (p *FeedResponse) SetStatusCode(val int32)
func (*FeedResponse) SetStatusMsg ¶
func (p *FeedResponse) SetStatusMsg(val string)
func (*FeedResponse) SetVideoList ¶
func (p *FeedResponse) SetVideoList(val []*Video)
func (*FeedResponse) String ¶
func (p *FeedResponse) String() string
type PublishActionRequest ¶
type PublishActionRequest struct { Token string `thrift:"token,1" frugal:"1,default,string" json:"token"` Data []byte `thrift:"data,2" frugal:"2,default,binary" json:"data"` Title string `thrift:"title,3" frugal:"3,default,string" json:"title"` }
var VideoServicePublishActionArgs_Req_DEFAULT *PublishActionRequest
func NewPublishActionRequest ¶
func NewPublishActionRequest() *PublishActionRequest
func (*PublishActionRequest) BLength ¶
func (p *PublishActionRequest) BLength() int
func (*PublishActionRequest) DeepEqual ¶
func (p *PublishActionRequest) DeepEqual(ano *PublishActionRequest) bool
func (*PublishActionRequest) FastRead ¶
func (p *PublishActionRequest) FastRead(buf []byte) (int, error)
func (*PublishActionRequest) FastReadField1 ¶
func (p *PublishActionRequest) FastReadField1(buf []byte) (int, error)
func (*PublishActionRequest) FastReadField2 ¶
func (p *PublishActionRequest) FastReadField2(buf []byte) (int, error)
func (*PublishActionRequest) FastReadField3 ¶
func (p *PublishActionRequest) FastReadField3(buf []byte) (int, error)
func (*PublishActionRequest) FastWrite ¶
func (p *PublishActionRequest) FastWrite(buf []byte) int
for compatibility
func (*PublishActionRequest) FastWriteNocopy ¶
func (p *PublishActionRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishActionRequest) Field1DeepEqual ¶
func (p *PublishActionRequest) Field1DeepEqual(src string) bool
func (*PublishActionRequest) Field2DeepEqual ¶
func (p *PublishActionRequest) Field2DeepEqual(src []byte) bool
func (*PublishActionRequest) Field3DeepEqual ¶
func (p *PublishActionRequest) Field3DeepEqual(src string) bool
func (*PublishActionRequest) GetData ¶
func (p *PublishActionRequest) GetData() (v []byte)
func (*PublishActionRequest) GetTitle ¶
func (p *PublishActionRequest) GetTitle() (v string)
func (*PublishActionRequest) GetToken ¶
func (p *PublishActionRequest) GetToken() (v string)
func (*PublishActionRequest) InitDefault ¶
func (p *PublishActionRequest) InitDefault()
func (*PublishActionRequest) IsValid ¶
func (p *PublishActionRequest) IsValid() error
IsValid 校验Data,Title
func (*PublishActionRequest) Read ¶
func (p *PublishActionRequest) Read(iprot thrift.TProtocol) (err error)
func (*PublishActionRequest) ReadField1 ¶
func (p *PublishActionRequest) ReadField1(iprot thrift.TProtocol) error
func (*PublishActionRequest) ReadField2 ¶
func (p *PublishActionRequest) ReadField2(iprot thrift.TProtocol) error
func (*PublishActionRequest) ReadField3 ¶
func (p *PublishActionRequest) ReadField3(iprot thrift.TProtocol) error
func (*PublishActionRequest) SetData ¶
func (p *PublishActionRequest) SetData(val []byte)
func (*PublishActionRequest) SetTitle ¶
func (p *PublishActionRequest) SetTitle(val string)
func (*PublishActionRequest) SetToken ¶
func (p *PublishActionRequest) SetToken(val string)
func (*PublishActionRequest) String ¶
func (p *PublishActionRequest) String() string
type PublishActionResponse ¶
type PublishActionResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg string `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"` }
var VideoServicePublishActionResult_Success_DEFAULT *PublishActionResponse
func NewPublishActionResponse ¶
func NewPublishActionResponse() *PublishActionResponse
func (*PublishActionResponse) BLength ¶
func (p *PublishActionResponse) BLength() int
func (*PublishActionResponse) DeepEqual ¶
func (p *PublishActionResponse) DeepEqual(ano *PublishActionResponse) bool
func (*PublishActionResponse) FastRead ¶
func (p *PublishActionResponse) FastRead(buf []byte) (int, error)
func (*PublishActionResponse) FastReadField1 ¶
func (p *PublishActionResponse) FastReadField1(buf []byte) (int, error)
func (*PublishActionResponse) FastReadField2 ¶
func (p *PublishActionResponse) FastReadField2(buf []byte) (int, error)
func (*PublishActionResponse) FastWrite ¶
func (p *PublishActionResponse) FastWrite(buf []byte) int
for compatibility
func (*PublishActionResponse) FastWriteNocopy ¶
func (p *PublishActionResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishActionResponse) Field1DeepEqual ¶
func (p *PublishActionResponse) Field1DeepEqual(src int32) bool
func (*PublishActionResponse) Field2DeepEqual ¶
func (p *PublishActionResponse) Field2DeepEqual(src string) bool
func (*PublishActionResponse) GetStatusCode ¶
func (p *PublishActionResponse) GetStatusCode() (v int32)
func (*PublishActionResponse) GetStatusMsg ¶
func (p *PublishActionResponse) GetStatusMsg() (v string)
func (*PublishActionResponse) InitDefault ¶
func (p *PublishActionResponse) InitDefault()
func (*PublishActionResponse) Read ¶
func (p *PublishActionResponse) Read(iprot thrift.TProtocol) (err error)
func (*PublishActionResponse) ReadField1 ¶
func (p *PublishActionResponse) ReadField1(iprot thrift.TProtocol) error
func (*PublishActionResponse) ReadField2 ¶
func (p *PublishActionResponse) ReadField2(iprot thrift.TProtocol) error
func (*PublishActionResponse) SetStatusCode ¶
func (p *PublishActionResponse) SetStatusCode(val int32)
func (*PublishActionResponse) SetStatusMsg ¶
func (p *PublishActionResponse) SetStatusMsg(val string)
func (*PublishActionResponse) String ¶
func (p *PublishActionResponse) String() string
type PublishListRequest ¶
type PublishListRequest 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 VideoServiceGetPublishListArgs_Req_DEFAULT *PublishListRequest
func NewPublishListRequest ¶
func NewPublishListRequest() *PublishListRequest
func (*PublishListRequest) BLength ¶
func (p *PublishListRequest) BLength() int
func (*PublishListRequest) DeepEqual ¶
func (p *PublishListRequest) DeepEqual(ano *PublishListRequest) bool
func (*PublishListRequest) FastRead ¶
func (p *PublishListRequest) FastRead(buf []byte) (int, error)
func (*PublishListRequest) FastReadField1 ¶
func (p *PublishListRequest) FastReadField1(buf []byte) (int, error)
func (*PublishListRequest) FastReadField2 ¶
func (p *PublishListRequest) FastReadField2(buf []byte) (int, error)
func (*PublishListRequest) FastWrite ¶
func (p *PublishListRequest) FastWrite(buf []byte) int
for compatibility
func (*PublishListRequest) FastWriteNocopy ¶
func (p *PublishListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishListRequest) Field1DeepEqual ¶
func (p *PublishListRequest) Field1DeepEqual(src int64) bool
func (*PublishListRequest) Field2DeepEqual ¶
func (p *PublishListRequest) Field2DeepEqual(src string) bool
func (*PublishListRequest) GetToken ¶
func (p *PublishListRequest) GetToken() (v string)
func (*PublishListRequest) GetUserId ¶
func (p *PublishListRequest) GetUserId() (v int64)
func (*PublishListRequest) InitDefault ¶
func (p *PublishListRequest) InitDefault()
func (*PublishListRequest) Read ¶
func (p *PublishListRequest) Read(iprot thrift.TProtocol) (err error)
func (*PublishListRequest) ReadField1 ¶
func (p *PublishListRequest) ReadField1(iprot thrift.TProtocol) error
func (*PublishListRequest) ReadField2 ¶
func (p *PublishListRequest) ReadField2(iprot thrift.TProtocol) error
func (*PublishListRequest) SetToken ¶
func (p *PublishListRequest) SetToken(val string)
func (*PublishListRequest) SetUserId ¶
func (p *PublishListRequest) SetUserId(val int64)
func (*PublishListRequest) String ¶
func (p *PublishListRequest) String() string
type PublishListResponse ¶
type PublishListResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg string `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"` VideoList []*Video `thrift:"video_list,3" frugal:"3,default,list<Video>" json:"video_list"` }
var VideoServiceGetPublishListResult_Success_DEFAULT *PublishListResponse
func NewPublishListResponse ¶
func NewPublishListResponse() *PublishListResponse
func (*PublishListResponse) BLength ¶
func (p *PublishListResponse) BLength() int
func (*PublishListResponse) DeepEqual ¶
func (p *PublishListResponse) DeepEqual(ano *PublishListResponse) bool
func (*PublishListResponse) FastRead ¶
func (p *PublishListResponse) FastRead(buf []byte) (int, error)
func (*PublishListResponse) FastReadField1 ¶
func (p *PublishListResponse) FastReadField1(buf []byte) (int, error)
func (*PublishListResponse) FastReadField2 ¶
func (p *PublishListResponse) FastReadField2(buf []byte) (int, error)
func (*PublishListResponse) FastReadField3 ¶
func (p *PublishListResponse) FastReadField3(buf []byte) (int, error)
func (*PublishListResponse) FastWrite ¶
func (p *PublishListResponse) FastWrite(buf []byte) int
for compatibility
func (*PublishListResponse) FastWriteNocopy ¶
func (p *PublishListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishListResponse) Field1DeepEqual ¶
func (p *PublishListResponse) Field1DeepEqual(src int32) bool
func (*PublishListResponse) Field2DeepEqual ¶
func (p *PublishListResponse) Field2DeepEqual(src string) bool
func (*PublishListResponse) Field3DeepEqual ¶
func (p *PublishListResponse) Field3DeepEqual(src []*Video) bool
func (*PublishListResponse) GetStatusCode ¶
func (p *PublishListResponse) GetStatusCode() (v int32)
func (*PublishListResponse) GetStatusMsg ¶
func (p *PublishListResponse) GetStatusMsg() (v string)
func (*PublishListResponse) GetVideoList ¶
func (p *PublishListResponse) GetVideoList() (v []*Video)
func (*PublishListResponse) InitDefault ¶
func (p *PublishListResponse) InitDefault()
func (*PublishListResponse) Read ¶
func (p *PublishListResponse) Read(iprot thrift.TProtocol) (err error)
func (*PublishListResponse) ReadField1 ¶
func (p *PublishListResponse) ReadField1(iprot thrift.TProtocol) error
func (*PublishListResponse) ReadField2 ¶
func (p *PublishListResponse) ReadField2(iprot thrift.TProtocol) error
func (*PublishListResponse) ReadField3 ¶
func (p *PublishListResponse) ReadField3(iprot thrift.TProtocol) error
func (*PublishListResponse) SetStatusCode ¶
func (p *PublishListResponse) SetStatusCode(val int32)
func (*PublishListResponse) SetStatusMsg ¶
func (p *PublishListResponse) SetStatusMsg(val string)
func (*PublishListResponse) SetVideoList ¶
func (p *PublishListResponse) SetVideoList(val []*Video)
func (*PublishListResponse) String ¶
func (p *PublishListResponse) String() string
type Video ¶
type Video struct { Id int64 `thrift:"id,1" frugal:"1,default,i64" json:"id"` Author *user.User `thrift:"author,2" frugal:"2,default,user.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"` }
var VideoResponse_Video_DEFAULT *Video
func (*Video) FastWriteNocopy ¶
func (p *Video) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Video) Field1DeepEqual ¶
func (*Video) Field3DeepEqual ¶
func (*Video) Field4DeepEqual ¶
func (*Video) Field5DeepEqual ¶
func (*Video) Field6DeepEqual ¶
func (*Video) Field7DeepEqual ¶
func (*Video) Field8DeepEqual ¶
func (*Video) GetCommentCount ¶
func (*Video) GetCoverUrl ¶
func (*Video) GetFavoriteCount ¶
func (*Video) GetIsFavorite ¶
func (*Video) GetPlayUrl ¶
func (*Video) InitDefault ¶
func (p *Video) InitDefault()
func (*Video) IsSetAuthor ¶
func (*Video) SetCommentCount ¶
func (*Video) SetCoverUrl ¶
func (*Video) SetFavoriteCount ¶
func (*Video) SetIsFavorite ¶
func (*Video) SetPlayUrl ¶
type VideoRequest ¶
type VideoRequest 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 VideoServiceGetVideoArgs_Req_DEFAULT *VideoRequest
func NewVideoRequest ¶
func NewVideoRequest() *VideoRequest
func (*VideoRequest) BLength ¶
func (p *VideoRequest) BLength() int
func (*VideoRequest) DeepEqual ¶
func (p *VideoRequest) DeepEqual(ano *VideoRequest) bool
func (*VideoRequest) FastReadField1 ¶
func (p *VideoRequest) FastReadField1(buf []byte) (int, error)
func (*VideoRequest) FastReadField2 ¶
func (p *VideoRequest) FastReadField2(buf []byte) (int, error)
func (*VideoRequest) FastWriteNocopy ¶
func (p *VideoRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*VideoRequest) Field1DeepEqual ¶
func (p *VideoRequest) Field1DeepEqual(src int64) bool
func (*VideoRequest) Field2DeepEqual ¶
func (p *VideoRequest) Field2DeepEqual(src int64) bool
func (*VideoRequest) GetUserId ¶
func (p *VideoRequest) GetUserId() (v int64)
func (*VideoRequest) GetVideoId ¶
func (p *VideoRequest) GetVideoId() (v int64)
func (*VideoRequest) InitDefault ¶
func (p *VideoRequest) InitDefault()
func (*VideoRequest) ReadField1 ¶
func (p *VideoRequest) ReadField1(iprot thrift.TProtocol) error
func (*VideoRequest) ReadField2 ¶
func (p *VideoRequest) ReadField2(iprot thrift.TProtocol) error
func (*VideoRequest) SetUserId ¶
func (p *VideoRequest) SetUserId(val int64)
func (*VideoRequest) SetVideoId ¶
func (p *VideoRequest) SetVideoId(val int64)
func (*VideoRequest) String ¶
func (p *VideoRequest) String() string
type VideoResponse ¶
type VideoResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg string `thrift:"status_msg,2" frugal:"2,default,string" json:"status_msg"` Video *Video `thrift:"video,3" frugal:"3,default,Video" json:"video"` }
var VideoServiceGetVideoResult_Success_DEFAULT *VideoResponse
func NewVideoResponse ¶
func NewVideoResponse() *VideoResponse
func (*VideoResponse) BLength ¶
func (p *VideoResponse) BLength() int
func (*VideoResponse) DeepEqual ¶
func (p *VideoResponse) DeepEqual(ano *VideoResponse) bool
func (*VideoResponse) FastReadField1 ¶
func (p *VideoResponse) FastReadField1(buf []byte) (int, error)
func (*VideoResponse) FastReadField2 ¶
func (p *VideoResponse) FastReadField2(buf []byte) (int, error)
func (*VideoResponse) FastReadField3 ¶
func (p *VideoResponse) FastReadField3(buf []byte) (int, error)
func (*VideoResponse) FastWrite ¶
func (p *VideoResponse) FastWrite(buf []byte) int
for compatibility
func (*VideoResponse) FastWriteNocopy ¶
func (p *VideoResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*VideoResponse) Field1DeepEqual ¶
func (p *VideoResponse) Field1DeepEqual(src int32) bool
func (*VideoResponse) Field2DeepEqual ¶
func (p *VideoResponse) Field2DeepEqual(src string) bool
func (*VideoResponse) Field3DeepEqual ¶
func (p *VideoResponse) Field3DeepEqual(src *Video) bool
func (*VideoResponse) GetStatusCode ¶
func (p *VideoResponse) GetStatusCode() (v int32)
func (*VideoResponse) GetStatusMsg ¶
func (p *VideoResponse) GetStatusMsg() (v string)
func (*VideoResponse) GetVideo ¶
func (p *VideoResponse) GetVideo() (v *Video)
func (*VideoResponse) InitDefault ¶
func (p *VideoResponse) InitDefault()
func (*VideoResponse) IsSetVideo ¶
func (p *VideoResponse) IsSetVideo() bool
func (*VideoResponse) ReadField1 ¶
func (p *VideoResponse) ReadField1(iprot thrift.TProtocol) error
func (*VideoResponse) ReadField2 ¶
func (p *VideoResponse) ReadField2(iprot thrift.TProtocol) error
func (*VideoResponse) ReadField3 ¶
func (p *VideoResponse) ReadField3(iprot thrift.TProtocol) error
func (*VideoResponse) SetStatusCode ¶
func (p *VideoResponse) SetStatusCode(val int32)
func (*VideoResponse) SetStatusMsg ¶
func (p *VideoResponse) SetStatusMsg(val string)
func (*VideoResponse) SetVideo ¶
func (p *VideoResponse) SetVideo(val *Video)
func (*VideoResponse) String ¶
func (p *VideoResponse) String() string
type VideoService ¶
type VideoService interface { GetFeed(ctx context.Context, req *FeedRequest) (r *FeedResponse, err error) PublishAction(ctx context.Context, req *PublishActionRequest) (r *PublishActionResponse, err error) GetPublishList(ctx context.Context, req *PublishListRequest) (r *PublishListResponse, err error) GetVideo(ctx context.Context, req *VideoRequest) (r *VideoResponse, err error) }
type VideoServiceClient ¶
type VideoServiceClient struct {
// contains filtered or unexported fields
}
func NewVideoServiceClient ¶
func NewVideoServiceClient(c thrift.TClient) *VideoServiceClient
func NewVideoServiceClientFactory ¶
func NewVideoServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *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) GetFeed ¶
func (p *VideoServiceClient) GetFeed(ctx context.Context, req *FeedRequest) (r *FeedResponse, err error)
func (*VideoServiceClient) GetPublishList ¶
func (p *VideoServiceClient) GetPublishList(ctx context.Context, req *PublishListRequest) (r *PublishListResponse, err error)
func (*VideoServiceClient) GetVideo ¶
func (p *VideoServiceClient) GetVideo(ctx context.Context, req *VideoRequest) (r *VideoResponse, err error)
func (*VideoServiceClient) PublishAction ¶
func (p *VideoServiceClient) PublishAction(ctx context.Context, req *PublishActionRequest) (r *PublishActionResponse, err error)
type VideoServiceGetFeedArgs ¶
type VideoServiceGetFeedArgs struct {
Req *FeedRequest `thrift:"req,1" frugal:"1,default,FeedRequest" json:"req"`
}
func NewVideoServiceGetFeedArgs ¶
func NewVideoServiceGetFeedArgs() *VideoServiceGetFeedArgs
func (*VideoServiceGetFeedArgs) BLength ¶
func (p *VideoServiceGetFeedArgs) BLength() int
func (*VideoServiceGetFeedArgs) DeepEqual ¶
func (p *VideoServiceGetFeedArgs) DeepEqual(ano *VideoServiceGetFeedArgs) bool
func (*VideoServiceGetFeedArgs) FastRead ¶
func (p *VideoServiceGetFeedArgs) FastRead(buf []byte) (int, error)
func (*VideoServiceGetFeedArgs) FastReadField1 ¶
func (p *VideoServiceGetFeedArgs) FastReadField1(buf []byte) (int, error)
func (*VideoServiceGetFeedArgs) FastWrite ¶
func (p *VideoServiceGetFeedArgs) FastWrite(buf []byte) int
for compatibility
func (*VideoServiceGetFeedArgs) FastWriteNocopy ¶
func (p *VideoServiceGetFeedArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*VideoServiceGetFeedArgs) Field1DeepEqual ¶
func (p *VideoServiceGetFeedArgs) Field1DeepEqual(src *FeedRequest) bool
func (*VideoServiceGetFeedArgs) GetFirstArgument ¶
func (p *VideoServiceGetFeedArgs) GetFirstArgument() interface{}
func (*VideoServiceGetFeedArgs) GetReq ¶
func (p *VideoServiceGetFeedArgs) GetReq() (v *FeedRequest)
func (*VideoServiceGetFeedArgs) InitDefault ¶
func (p *VideoServiceGetFeedArgs) InitDefault()
func (*VideoServiceGetFeedArgs) IsSetReq ¶
func (p *VideoServiceGetFeedArgs) IsSetReq() bool
func (*VideoServiceGetFeedArgs) Read ¶
func (p *VideoServiceGetFeedArgs) Read(iprot thrift.TProtocol) (err error)
func (*VideoServiceGetFeedArgs) ReadField1 ¶
func (p *VideoServiceGetFeedArgs) ReadField1(iprot thrift.TProtocol) error
func (*VideoServiceGetFeedArgs) SetReq ¶
func (p *VideoServiceGetFeedArgs) SetReq(val *FeedRequest)
func (*VideoServiceGetFeedArgs) String ¶
func (p *VideoServiceGetFeedArgs) String() string
type VideoServiceGetFeedResult ¶
type VideoServiceGetFeedResult struct {
Success *FeedResponse `thrift:"success,0,optional" frugal:"0,optional,FeedResponse" json:"success,omitempty"`
}
func NewVideoServiceGetFeedResult ¶
func NewVideoServiceGetFeedResult() *VideoServiceGetFeedResult
func (*VideoServiceGetFeedResult) BLength ¶
func (p *VideoServiceGetFeedResult) BLength() int
func (*VideoServiceGetFeedResult) DeepEqual ¶
func (p *VideoServiceGetFeedResult) DeepEqual(ano *VideoServiceGetFeedResult) bool
func (*VideoServiceGetFeedResult) FastRead ¶
func (p *VideoServiceGetFeedResult) FastRead(buf []byte) (int, error)
func (*VideoServiceGetFeedResult) FastReadField0 ¶
func (p *VideoServiceGetFeedResult) FastReadField0(buf []byte) (int, error)
func (*VideoServiceGetFeedResult) FastWrite ¶
func (p *VideoServiceGetFeedResult) FastWrite(buf []byte) int
for compatibility
func (*VideoServiceGetFeedResult) FastWriteNocopy ¶
func (p *VideoServiceGetFeedResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*VideoServiceGetFeedResult) Field0DeepEqual ¶
func (p *VideoServiceGetFeedResult) Field0DeepEqual(src *FeedResponse) bool
func (*VideoServiceGetFeedResult) GetResult ¶
func (p *VideoServiceGetFeedResult) GetResult() interface{}
func (*VideoServiceGetFeedResult) GetSuccess ¶
func (p *VideoServiceGetFeedResult) GetSuccess() (v *FeedResponse)
func (*VideoServiceGetFeedResult) InitDefault ¶
func (p *VideoServiceGetFeedResult) InitDefault()
func (*VideoServiceGetFeedResult) IsSetSuccess ¶
func (p *VideoServiceGetFeedResult) IsSetSuccess() bool
func (*VideoServiceGetFeedResult) Read ¶
func (p *VideoServiceGetFeedResult) Read(iprot thrift.TProtocol) (err error)
func (*VideoServiceGetFeedResult) ReadField0 ¶
func (p *VideoServiceGetFeedResult) ReadField0(iprot thrift.TProtocol) error
func (*VideoServiceGetFeedResult) SetSuccess ¶
func (p *VideoServiceGetFeedResult) SetSuccess(x interface{})
func (*VideoServiceGetFeedResult) String ¶
func (p *VideoServiceGetFeedResult) String() string
type VideoServiceGetPublishListArgs ¶
type VideoServiceGetPublishListArgs struct {
Req *PublishListRequest `thrift:"req,1" frugal:"1,default,PublishListRequest" json:"req"`
}
func NewVideoServiceGetPublishListArgs ¶
func NewVideoServiceGetPublishListArgs() *VideoServiceGetPublishListArgs
func (*VideoServiceGetPublishListArgs) BLength ¶
func (p *VideoServiceGetPublishListArgs) BLength() int
func (*VideoServiceGetPublishListArgs) DeepEqual ¶
func (p *VideoServiceGetPublishListArgs) DeepEqual(ano *VideoServiceGetPublishListArgs) bool
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 (p *VideoServiceGetPublishListArgs) Field1DeepEqual(src *PublishListRequest) bool
func (*VideoServiceGetPublishListArgs) GetFirstArgument ¶
func (p *VideoServiceGetPublishListArgs) GetFirstArgument() interface{}
func (*VideoServiceGetPublishListArgs) GetReq ¶
func (p *VideoServiceGetPublishListArgs) GetReq() (v *PublishListRequest)
func (*VideoServiceGetPublishListArgs) InitDefault ¶
func (p *VideoServiceGetPublishListArgs) InitDefault()
func (*VideoServiceGetPublishListArgs) IsSetReq ¶
func (p *VideoServiceGetPublishListArgs) IsSetReq() bool
func (*VideoServiceGetPublishListArgs) Read ¶
func (p *VideoServiceGetPublishListArgs) Read(iprot thrift.TProtocol) (err error)
func (*VideoServiceGetPublishListArgs) ReadField1 ¶
func (p *VideoServiceGetPublishListArgs) ReadField1(iprot thrift.TProtocol) error
func (*VideoServiceGetPublishListArgs) SetReq ¶
func (p *VideoServiceGetPublishListArgs) SetReq(val *PublishListRequest)
func (*VideoServiceGetPublishListArgs) String ¶
func (p *VideoServiceGetPublishListArgs) String() string
type VideoServiceGetPublishListResult ¶
type VideoServiceGetPublishListResult struct {
Success *PublishListResponse `thrift:"success,0,optional" frugal:"0,optional,PublishListResponse" json:"success,omitempty"`
}
func NewVideoServiceGetPublishListResult ¶
func NewVideoServiceGetPublishListResult() *VideoServiceGetPublishListResult
func (*VideoServiceGetPublishListResult) BLength ¶
func (p *VideoServiceGetPublishListResult) BLength() int
func (*VideoServiceGetPublishListResult) DeepEqual ¶
func (p *VideoServiceGetPublishListResult) DeepEqual(ano *VideoServiceGetPublishListResult) bool
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 (p *VideoServiceGetPublishListResult) Field0DeepEqual(src *PublishListResponse) bool
func (*VideoServiceGetPublishListResult) GetResult ¶
func (p *VideoServiceGetPublishListResult) GetResult() interface{}
func (*VideoServiceGetPublishListResult) GetSuccess ¶
func (p *VideoServiceGetPublishListResult) GetSuccess() (v *PublishListResponse)
func (*VideoServiceGetPublishListResult) InitDefault ¶
func (p *VideoServiceGetPublishListResult) InitDefault()
func (*VideoServiceGetPublishListResult) IsSetSuccess ¶
func (p *VideoServiceGetPublishListResult) IsSetSuccess() bool
func (*VideoServiceGetPublishListResult) Read ¶
func (p *VideoServiceGetPublishListResult) Read(iprot thrift.TProtocol) (err error)
func (*VideoServiceGetPublishListResult) ReadField0 ¶
func (p *VideoServiceGetPublishListResult) ReadField0(iprot thrift.TProtocol) error
func (*VideoServiceGetPublishListResult) SetSuccess ¶
func (p *VideoServiceGetPublishListResult) SetSuccess(x interface{})
func (*VideoServiceGetPublishListResult) String ¶
func (p *VideoServiceGetPublishListResult) String() string
type VideoServiceGetVideoArgs ¶
type VideoServiceGetVideoArgs struct {
Req *VideoRequest `thrift:"req,1" frugal:"1,default,VideoRequest" json:"req"`
}
func NewVideoServiceGetVideoArgs ¶
func NewVideoServiceGetVideoArgs() *VideoServiceGetVideoArgs
func (*VideoServiceGetVideoArgs) BLength ¶
func (p *VideoServiceGetVideoArgs) BLength() int
func (*VideoServiceGetVideoArgs) DeepEqual ¶
func (p *VideoServiceGetVideoArgs) DeepEqual(ano *VideoServiceGetVideoArgs) bool
func (*VideoServiceGetVideoArgs) FastRead ¶
func (p *VideoServiceGetVideoArgs) FastRead(buf []byte) (int, error)
func (*VideoServiceGetVideoArgs) FastReadField1 ¶
func (p *VideoServiceGetVideoArgs) FastReadField1(buf []byte) (int, error)
func (*VideoServiceGetVideoArgs) FastWrite ¶
func (p *VideoServiceGetVideoArgs) FastWrite(buf []byte) int
for compatibility
func (*VideoServiceGetVideoArgs) FastWriteNocopy ¶
func (p *VideoServiceGetVideoArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*VideoServiceGetVideoArgs) Field1DeepEqual ¶
func (p *VideoServiceGetVideoArgs) Field1DeepEqual(src *VideoRequest) bool
func (*VideoServiceGetVideoArgs) GetFirstArgument ¶
func (p *VideoServiceGetVideoArgs) GetFirstArgument() interface{}
func (*VideoServiceGetVideoArgs) GetReq ¶
func (p *VideoServiceGetVideoArgs) GetReq() (v *VideoRequest)
func (*VideoServiceGetVideoArgs) InitDefault ¶
func (p *VideoServiceGetVideoArgs) InitDefault()
func (*VideoServiceGetVideoArgs) IsSetReq ¶
func (p *VideoServiceGetVideoArgs) IsSetReq() bool
func (*VideoServiceGetVideoArgs) Read ¶
func (p *VideoServiceGetVideoArgs) Read(iprot thrift.TProtocol) (err error)
func (*VideoServiceGetVideoArgs) ReadField1 ¶
func (p *VideoServiceGetVideoArgs) ReadField1(iprot thrift.TProtocol) error
func (*VideoServiceGetVideoArgs) SetReq ¶
func (p *VideoServiceGetVideoArgs) SetReq(val *VideoRequest)
func (*VideoServiceGetVideoArgs) String ¶
func (p *VideoServiceGetVideoArgs) String() string
type VideoServiceGetVideoResult ¶
type VideoServiceGetVideoResult struct {
Success *VideoResponse `thrift:"success,0,optional" frugal:"0,optional,VideoResponse" json:"success,omitempty"`
}
func NewVideoServiceGetVideoResult ¶
func NewVideoServiceGetVideoResult() *VideoServiceGetVideoResult
func (*VideoServiceGetVideoResult) BLength ¶
func (p *VideoServiceGetVideoResult) BLength() int
func (*VideoServiceGetVideoResult) DeepEqual ¶
func (p *VideoServiceGetVideoResult) DeepEqual(ano *VideoServiceGetVideoResult) bool
func (*VideoServiceGetVideoResult) FastRead ¶
func (p *VideoServiceGetVideoResult) FastRead(buf []byte) (int, error)
func (*VideoServiceGetVideoResult) FastReadField0 ¶
func (p *VideoServiceGetVideoResult) FastReadField0(buf []byte) (int, error)
func (*VideoServiceGetVideoResult) FastWrite ¶
func (p *VideoServiceGetVideoResult) FastWrite(buf []byte) int
for compatibility
func (*VideoServiceGetVideoResult) FastWriteNocopy ¶
func (p *VideoServiceGetVideoResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*VideoServiceGetVideoResult) Field0DeepEqual ¶
func (p *VideoServiceGetVideoResult) Field0DeepEqual(src *VideoResponse) bool
func (*VideoServiceGetVideoResult) GetResult ¶
func (p *VideoServiceGetVideoResult) GetResult() interface{}
func (*VideoServiceGetVideoResult) GetSuccess ¶
func (p *VideoServiceGetVideoResult) GetSuccess() (v *VideoResponse)
func (*VideoServiceGetVideoResult) InitDefault ¶
func (p *VideoServiceGetVideoResult) InitDefault()
func (*VideoServiceGetVideoResult) IsSetSuccess ¶
func (p *VideoServiceGetVideoResult) IsSetSuccess() bool
func (*VideoServiceGetVideoResult) Read ¶
func (p *VideoServiceGetVideoResult) Read(iprot thrift.TProtocol) (err error)
func (*VideoServiceGetVideoResult) ReadField0 ¶
func (p *VideoServiceGetVideoResult) ReadField0(iprot thrift.TProtocol) error
func (*VideoServiceGetVideoResult) SetSuccess ¶
func (p *VideoServiceGetVideoResult) SetSuccess(x interface{})
func (*VideoServiceGetVideoResult) String ¶
func (p *VideoServiceGetVideoResult) String() string
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 VideoServicePublishActionArgs ¶
type VideoServicePublishActionArgs struct {
Req *PublishActionRequest `thrift:"req,1" frugal:"1,default,PublishActionRequest" json:"req"`
}
func NewVideoServicePublishActionArgs ¶
func NewVideoServicePublishActionArgs() *VideoServicePublishActionArgs
func (*VideoServicePublishActionArgs) BLength ¶
func (p *VideoServicePublishActionArgs) BLength() int
func (*VideoServicePublishActionArgs) DeepEqual ¶
func (p *VideoServicePublishActionArgs) DeepEqual(ano *VideoServicePublishActionArgs) bool
func (*VideoServicePublishActionArgs) FastRead ¶
func (p *VideoServicePublishActionArgs) FastRead(buf []byte) (int, error)
func (*VideoServicePublishActionArgs) FastReadField1 ¶
func (p *VideoServicePublishActionArgs) FastReadField1(buf []byte) (int, error)
func (*VideoServicePublishActionArgs) FastWrite ¶
func (p *VideoServicePublishActionArgs) FastWrite(buf []byte) int
for compatibility
func (*VideoServicePublishActionArgs) FastWriteNocopy ¶
func (p *VideoServicePublishActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*VideoServicePublishActionArgs) Field1DeepEqual ¶
func (p *VideoServicePublishActionArgs) Field1DeepEqual(src *PublishActionRequest) bool
func (*VideoServicePublishActionArgs) GetFirstArgument ¶
func (p *VideoServicePublishActionArgs) GetFirstArgument() interface{}
func (*VideoServicePublishActionArgs) GetReq ¶
func (p *VideoServicePublishActionArgs) GetReq() (v *PublishActionRequest)
func (*VideoServicePublishActionArgs) InitDefault ¶
func (p *VideoServicePublishActionArgs) InitDefault()
func (*VideoServicePublishActionArgs) IsSetReq ¶
func (p *VideoServicePublishActionArgs) IsSetReq() bool
func (*VideoServicePublishActionArgs) Read ¶
func (p *VideoServicePublishActionArgs) Read(iprot thrift.TProtocol) (err error)
func (*VideoServicePublishActionArgs) ReadField1 ¶
func (p *VideoServicePublishActionArgs) ReadField1(iprot thrift.TProtocol) error
func (*VideoServicePublishActionArgs) SetReq ¶
func (p *VideoServicePublishActionArgs) SetReq(val *PublishActionRequest)
func (*VideoServicePublishActionArgs) String ¶
func (p *VideoServicePublishActionArgs) String() string
type VideoServicePublishActionResult ¶
type VideoServicePublishActionResult struct {
Success *PublishActionResponse `thrift:"success,0,optional" frugal:"0,optional,PublishActionResponse" json:"success,omitempty"`
}
func NewVideoServicePublishActionResult ¶
func NewVideoServicePublishActionResult() *VideoServicePublishActionResult
func (*VideoServicePublishActionResult) BLength ¶
func (p *VideoServicePublishActionResult) BLength() int
func (*VideoServicePublishActionResult) DeepEqual ¶
func (p *VideoServicePublishActionResult) DeepEqual(ano *VideoServicePublishActionResult) bool
func (*VideoServicePublishActionResult) FastRead ¶
func (p *VideoServicePublishActionResult) FastRead(buf []byte) (int, error)
func (*VideoServicePublishActionResult) FastReadField0 ¶
func (p *VideoServicePublishActionResult) FastReadField0(buf []byte) (int, error)
func (*VideoServicePublishActionResult) FastWrite ¶
func (p *VideoServicePublishActionResult) FastWrite(buf []byte) int
for compatibility
func (*VideoServicePublishActionResult) FastWriteNocopy ¶
func (p *VideoServicePublishActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*VideoServicePublishActionResult) Field0DeepEqual ¶
func (p *VideoServicePublishActionResult) Field0DeepEqual(src *PublishActionResponse) bool
func (*VideoServicePublishActionResult) GetResult ¶
func (p *VideoServicePublishActionResult) GetResult() interface{}
func (*VideoServicePublishActionResult) GetSuccess ¶
func (p *VideoServicePublishActionResult) GetSuccess() (v *PublishActionResponse)
func (*VideoServicePublishActionResult) InitDefault ¶
func (p *VideoServicePublishActionResult) InitDefault()
func (*VideoServicePublishActionResult) IsSetSuccess ¶
func (p *VideoServicePublishActionResult) IsSetSuccess() bool
func (*VideoServicePublishActionResult) Read ¶
func (p *VideoServicePublishActionResult) Read(iprot thrift.TProtocol) (err error)
func (*VideoServicePublishActionResult) ReadField0 ¶
func (p *VideoServicePublishActionResult) ReadField0(iprot thrift.TProtocol) error
func (*VideoServicePublishActionResult) SetSuccess ¶
func (p *VideoServicePublishActionResult) SetSuccess(x interface{})
func (*VideoServicePublishActionResult) String ¶
func (p *VideoServicePublishActionResult) String() string
Click to show internal directories.
Click to hide internal directories.