Documentation ¶
Index ¶
- Variables
- type GetVideoListRequest
- func (p *GetVideoListRequest) BLength() int
- func (p *GetVideoListRequest) DeepEqual(ano *GetVideoListRequest) bool
- func (p *GetVideoListRequest) FastRead(buf []byte) (int, error)
- func (p *GetVideoListRequest) FastReadField1(buf []byte) (int, error)
- func (p *GetVideoListRequest) FastReadField2(buf []byte) (int, error)
- func (p *GetVideoListRequest) FastWrite(buf []byte) int
- func (p *GetVideoListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetVideoListRequest) Field1DeepEqual(src []int64) bool
- func (p *GetVideoListRequest) Field2DeepEqual(src int64) bool
- func (p *GetVideoListRequest) GetUserId() (v int64)
- func (p *GetVideoListRequest) GetVideoIds() (v []int64)
- func (p *GetVideoListRequest) InitDefault()
- func (p *GetVideoListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *GetVideoListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *GetVideoListRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *GetVideoListRequest) SetUserId(val int64)
- func (p *GetVideoListRequest) SetVideoIds(val []int64)
- func (p *GetVideoListRequest) String() string
- func (p *GetVideoListRequest) Write(oprot thrift.TProtocol) (err error)
- type GetVideoListResponse
- func (p *GetVideoListResponse) BLength() int
- func (p *GetVideoListResponse) DeepEqual(ano *GetVideoListResponse) bool
- func (p *GetVideoListResponse) FastRead(buf []byte) (int, error)
- func (p *GetVideoListResponse) FastReadField1(buf []byte) (int, error)
- func (p *GetVideoListResponse) FastReadField2(buf []byte) (int, error)
- func (p *GetVideoListResponse) FastReadField3(buf []byte) (int, error)
- func (p *GetVideoListResponse) FastWrite(buf []byte) int
- func (p *GetVideoListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *GetVideoListResponse) Field1DeepEqual(src int32) bool
- func (p *GetVideoListResponse) Field2DeepEqual(src *string) bool
- func (p *GetVideoListResponse) Field3DeepEqual(src []*Video) bool
- func (p *GetVideoListResponse) GetStatusCode() (v int32)
- func (p *GetVideoListResponse) GetStatusMsg() (v string)
- func (p *GetVideoListResponse) GetVideoList() (v []*Video)
- func (p *GetVideoListResponse) InitDefault()
- func (p *GetVideoListResponse) IsSetStatusMsg() bool
- func (p *GetVideoListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *GetVideoListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *GetVideoListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *GetVideoListResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *GetVideoListResponse) SetStatusCode(val int32)
- func (p *GetVideoListResponse) SetStatusMsg(val *string)
- func (p *GetVideoListResponse) SetVideoList(val []*Video)
- func (p *GetVideoListResponse) String() string
- func (p *GetVideoListResponse) 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) FastReadField4(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) Field4DeepEqual(src int64) bool
- func (p *PublishActionRequest) GetData() (v []byte)
- func (p *PublishActionRequest) GetTitle() (v string)
- func (p *PublishActionRequest) GetToken() (v string)
- func (p *PublishActionRequest) GetUserId() (v int64)
- func (p *PublishActionRequest) InitDefault()
- 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) ReadField4(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) SetUserId(val int64)
- 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) IsSetStatusMsg() bool
- 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) 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) IsSetStatusMsg() bool
- 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 PublishService
- type PublishServiceClient
- func NewPublishServiceClient(c thrift.TClient) *PublishServiceClient
- func NewPublishServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *PublishServiceClient
- func NewPublishServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *PublishServiceClient
- func (p *PublishServiceClient) Client_() thrift.TClient
- func (p *PublishServiceClient) GetVideoList(ctx context.Context, req *GetVideoListRequest) (r *GetVideoListResponse, err error)
- func (p *PublishServiceClient) PublishAction(ctx context.Context, req *PublishActionRequest) (r *PublishActionResponse, err error)
- func (p *PublishServiceClient) PublishList(ctx context.Context, req *PublishListRequest) (r *PublishListResponse, err error)
- type PublishServiceGetVideoListArgs
- func (p *PublishServiceGetVideoListArgs) BLength() int
- func (p *PublishServiceGetVideoListArgs) DeepEqual(ano *PublishServiceGetVideoListArgs) bool
- func (p *PublishServiceGetVideoListArgs) FastRead(buf []byte) (int, error)
- func (p *PublishServiceGetVideoListArgs) FastReadField1(buf []byte) (int, error)
- func (p *PublishServiceGetVideoListArgs) FastWrite(buf []byte) int
- func (p *PublishServiceGetVideoListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishServiceGetVideoListArgs) Field1DeepEqual(src *GetVideoListRequest) bool
- func (p *PublishServiceGetVideoListArgs) GetFirstArgument() interface{}
- func (p *PublishServiceGetVideoListArgs) GetReq() (v *GetVideoListRequest)
- func (p *PublishServiceGetVideoListArgs) InitDefault()
- func (p *PublishServiceGetVideoListArgs) IsSetReq() bool
- func (p *PublishServiceGetVideoListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishServiceGetVideoListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishServiceGetVideoListArgs) SetReq(val *GetVideoListRequest)
- func (p *PublishServiceGetVideoListArgs) String() string
- func (p *PublishServiceGetVideoListArgs) Write(oprot thrift.TProtocol) (err error)
- type PublishServiceGetVideoListResult
- func (p *PublishServiceGetVideoListResult) BLength() int
- func (p *PublishServiceGetVideoListResult) DeepEqual(ano *PublishServiceGetVideoListResult) bool
- func (p *PublishServiceGetVideoListResult) FastRead(buf []byte) (int, error)
- func (p *PublishServiceGetVideoListResult) FastReadField0(buf []byte) (int, error)
- func (p *PublishServiceGetVideoListResult) FastWrite(buf []byte) int
- func (p *PublishServiceGetVideoListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishServiceGetVideoListResult) Field0DeepEqual(src *GetVideoListResponse) bool
- func (p *PublishServiceGetVideoListResult) GetResult() interface{}
- func (p *PublishServiceGetVideoListResult) GetSuccess() (v *GetVideoListResponse)
- func (p *PublishServiceGetVideoListResult) InitDefault()
- func (p *PublishServiceGetVideoListResult) IsSetSuccess() bool
- func (p *PublishServiceGetVideoListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishServiceGetVideoListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *PublishServiceGetVideoListResult) SetSuccess(x interface{})
- func (p *PublishServiceGetVideoListResult) String() string
- func (p *PublishServiceGetVideoListResult) Write(oprot thrift.TProtocol) (err error)
- type PublishServiceProcessor
- func (p *PublishServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *PublishServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *PublishServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *PublishServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type PublishServicePublishActionArgs
- func (p *PublishServicePublishActionArgs) BLength() int
- func (p *PublishServicePublishActionArgs) DeepEqual(ano *PublishServicePublishActionArgs) bool
- func (p *PublishServicePublishActionArgs) FastRead(buf []byte) (int, error)
- func (p *PublishServicePublishActionArgs) FastReadField1(buf []byte) (int, error)
- func (p *PublishServicePublishActionArgs) FastWrite(buf []byte) int
- func (p *PublishServicePublishActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishServicePublishActionArgs) Field1DeepEqual(src *PublishActionRequest) bool
- func (p *PublishServicePublishActionArgs) GetFirstArgument() interface{}
- func (p *PublishServicePublishActionArgs) GetReq() (v *PublishActionRequest)
- func (p *PublishServicePublishActionArgs) InitDefault()
- func (p *PublishServicePublishActionArgs) IsSetReq() bool
- func (p *PublishServicePublishActionArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishServicePublishActionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishServicePublishActionArgs) SetReq(val *PublishActionRequest)
- func (p *PublishServicePublishActionArgs) String() string
- func (p *PublishServicePublishActionArgs) Write(oprot thrift.TProtocol) (err error)
- type PublishServicePublishActionResult
- func (p *PublishServicePublishActionResult) BLength() int
- func (p *PublishServicePublishActionResult) DeepEqual(ano *PublishServicePublishActionResult) bool
- func (p *PublishServicePublishActionResult) FastRead(buf []byte) (int, error)
- func (p *PublishServicePublishActionResult) FastReadField0(buf []byte) (int, error)
- func (p *PublishServicePublishActionResult) FastWrite(buf []byte) int
- func (p *PublishServicePublishActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishServicePublishActionResult) Field0DeepEqual(src *PublishActionResponse) bool
- func (p *PublishServicePublishActionResult) GetResult() interface{}
- func (p *PublishServicePublishActionResult) GetSuccess() (v *PublishActionResponse)
- func (p *PublishServicePublishActionResult) InitDefault()
- func (p *PublishServicePublishActionResult) IsSetSuccess() bool
- func (p *PublishServicePublishActionResult) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishServicePublishActionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *PublishServicePublishActionResult) SetSuccess(x interface{})
- func (p *PublishServicePublishActionResult) String() string
- func (p *PublishServicePublishActionResult) Write(oprot thrift.TProtocol) (err error)
- type PublishServicePublishListArgs
- func (p *PublishServicePublishListArgs) BLength() int
- func (p *PublishServicePublishListArgs) DeepEqual(ano *PublishServicePublishListArgs) bool
- func (p *PublishServicePublishListArgs) FastRead(buf []byte) (int, error)
- func (p *PublishServicePublishListArgs) FastReadField1(buf []byte) (int, error)
- func (p *PublishServicePublishListArgs) FastWrite(buf []byte) int
- func (p *PublishServicePublishListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishServicePublishListArgs) Field1DeepEqual(src *PublishListRequest) bool
- func (p *PublishServicePublishListArgs) GetFirstArgument() interface{}
- func (p *PublishServicePublishListArgs) GetReq() (v *PublishListRequest)
- func (p *PublishServicePublishListArgs) InitDefault()
- func (p *PublishServicePublishListArgs) IsSetReq() bool
- func (p *PublishServicePublishListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishServicePublishListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishServicePublishListArgs) SetReq(val *PublishListRequest)
- func (p *PublishServicePublishListArgs) String() string
- func (p *PublishServicePublishListArgs) Write(oprot thrift.TProtocol) (err error)
- type PublishServicePublishListResult
- func (p *PublishServicePublishListResult) BLength() int
- func (p *PublishServicePublishListResult) DeepEqual(ano *PublishServicePublishListResult) bool
- func (p *PublishServicePublishListResult) FastRead(buf []byte) (int, error)
- func (p *PublishServicePublishListResult) FastReadField0(buf []byte) (int, error)
- func (p *PublishServicePublishListResult) FastWrite(buf []byte) int
- func (p *PublishServicePublishListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *PublishServicePublishListResult) Field0DeepEqual(src *PublishListResponse) bool
- func (p *PublishServicePublishListResult) GetResult() interface{}
- func (p *PublishServicePublishListResult) GetSuccess() (v *PublishListResponse)
- func (p *PublishServicePublishListResult) InitDefault()
- func (p *PublishServicePublishListResult) IsSetSuccess() bool
- func (p *PublishServicePublishListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishServicePublishListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *PublishServicePublishListResult) SetSuccess(x interface{})
- func (p *PublishServicePublishListResult) String() string
- func (p *PublishServicePublishListResult) Write(oprot thrift.TProtocol) (err error)
- type User
- func (p *User) BLength() int
- func (p *User) DeepEqual(ano *User) bool
- func (p *User) FastRead(buf []byte) (int, error)
- func (p *User) FastReadField1(buf []byte) (int, error)
- func (p *User) FastReadField10(buf []byte) (int, error)
- func (p *User) FastReadField11(buf []byte) (int, error)
- func (p *User) FastReadField2(buf []byte) (int, error)
- func (p *User) FastReadField3(buf []byte) (int, error)
- func (p *User) FastReadField4(buf []byte) (int, error)
- func (p *User) FastReadField5(buf []byte) (int, error)
- func (p *User) FastReadField6(buf []byte) (int, error)
- func (p *User) FastReadField7(buf []byte) (int, error)
- func (p *User) FastReadField8(buf []byte) (int, error)
- func (p *User) FastReadField9(buf []byte) (int, error)
- func (p *User) FastWrite(buf []byte) int
- func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *User) Field10DeepEqual(src int64) bool
- func (p *User) Field11DeepEqual(src int64) bool
- func (p *User) Field1DeepEqual(src int64) bool
- func (p *User) Field2DeepEqual(src string) bool
- func (p *User) Field3DeepEqual(src int64) bool
- func (p *User) Field4DeepEqual(src int64) bool
- func (p *User) Field5DeepEqual(src bool) bool
- func (p *User) Field6DeepEqual(src string) bool
- func (p *User) Field7DeepEqual(src string) bool
- func (p *User) Field8DeepEqual(src string) bool
- func (p *User) Field9DeepEqual(src int64) bool
- func (p *User) GetAvatar() (v string)
- func (p *User) GetBackgroundImage() (v string)
- func (p *User) GetFavoriteCount() (v int64)
- func (p *User) GetFollowCount() (v int64)
- func (p *User) GetFollowerCount() (v int64)
- func (p *User) GetId() (v int64)
- func (p *User) GetIsFollow() (v bool)
- func (p *User) GetName() (v string)
- func (p *User) GetSignature() (v string)
- func (p *User) GetTotalFavorited() (v int64)
- func (p *User) GetWorkCount() (v int64)
- func (p *User) InitDefault()
- func (p *User) Read(iprot thrift.TProtocol) (err error)
- func (p *User) ReadField1(iprot thrift.TProtocol) error
- func (p *User) ReadField10(iprot thrift.TProtocol) error
- func (p *User) ReadField11(iprot thrift.TProtocol) error
- func (p *User) ReadField2(iprot thrift.TProtocol) error
- func (p *User) ReadField3(iprot thrift.TProtocol) error
- func (p *User) ReadField4(iprot thrift.TProtocol) error
- func (p *User) ReadField5(iprot thrift.TProtocol) error
- func (p *User) ReadField6(iprot thrift.TProtocol) error
- func (p *User) ReadField7(iprot thrift.TProtocol) error
- func (p *User) ReadField8(iprot thrift.TProtocol) error
- func (p *User) ReadField9(iprot thrift.TProtocol) error
- func (p *User) SetAvatar(val string)
- func (p *User) SetBackgroundImage(val string)
- func (p *User) SetFavoriteCount(val int64)
- func (p *User) SetFollowCount(val int64)
- func (p *User) SetFollowerCount(val int64)
- func (p *User) SetId(val int64)
- func (p *User) SetIsFollow(val bool)
- func (p *User) SetName(val string)
- func (p *User) SetSignature(val string)
- func (p *User) SetTotalFavorited(val int64)
- func (p *User) SetWorkCount(val int64)
- func (p *User) String() string
- func (p *User) 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) 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)
- 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)
- 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)
Constants ¶
This section is empty.
Variables ¶
View Source
var GetVideoListResponse_StatusMsg_DEFAULT string
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
View Source
var PublishActionResponse_StatusMsg_DEFAULT string
View Source
var PublishListResponse_StatusMsg_DEFAULT string
Functions ¶
This section is empty.
Types ¶
type GetVideoListRequest ¶
type GetVideoListRequest struct { VideoIds []int64 `thrift:"video_ids,1" frugal:"1,default,list<i64>" json:"video_ids"` UserId int64 `thrift:"user_id,2" frugal:"2,default,i64" json:"user_id"` }
var PublishServiceGetVideoListArgs_Req_DEFAULT *GetVideoListRequest
func NewGetVideoListRequest ¶
func NewGetVideoListRequest() *GetVideoListRequest
func (*GetVideoListRequest) BLength ¶
func (p *GetVideoListRequest) BLength() int
func (*GetVideoListRequest) DeepEqual ¶
func (p *GetVideoListRequest) DeepEqual(ano *GetVideoListRequest) bool
func (*GetVideoListRequest) FastRead ¶
func (p *GetVideoListRequest) FastRead(buf []byte) (int, error)
func (*GetVideoListRequest) FastReadField1 ¶
func (p *GetVideoListRequest) FastReadField1(buf []byte) (int, error)
func (*GetVideoListRequest) FastReadField2 ¶
func (p *GetVideoListRequest) FastReadField2(buf []byte) (int, error)
func (*GetVideoListRequest) FastWrite ¶
func (p *GetVideoListRequest) FastWrite(buf []byte) int
for compatibility
func (*GetVideoListRequest) FastWriteNocopy ¶
func (p *GetVideoListRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetVideoListRequest) Field1DeepEqual ¶
func (p *GetVideoListRequest) Field1DeepEqual(src []int64) bool
func (*GetVideoListRequest) Field2DeepEqual ¶
func (p *GetVideoListRequest) Field2DeepEqual(src int64) bool
func (*GetVideoListRequest) GetUserId ¶
func (p *GetVideoListRequest) GetUserId() (v int64)
func (*GetVideoListRequest) GetVideoIds ¶
func (p *GetVideoListRequest) GetVideoIds() (v []int64)
func (*GetVideoListRequest) InitDefault ¶
func (p *GetVideoListRequest) InitDefault()
func (*GetVideoListRequest) Read ¶
func (p *GetVideoListRequest) Read(iprot thrift.TProtocol) (err error)
func (*GetVideoListRequest) ReadField1 ¶
func (p *GetVideoListRequest) ReadField1(iprot thrift.TProtocol) error
func (*GetVideoListRequest) ReadField2 ¶
func (p *GetVideoListRequest) ReadField2(iprot thrift.TProtocol) error
func (*GetVideoListRequest) SetUserId ¶
func (p *GetVideoListRequest) SetUserId(val int64)
func (*GetVideoListRequest) SetVideoIds ¶
func (p *GetVideoListRequest) SetVideoIds(val []int64)
func (*GetVideoListRequest) String ¶
func (p *GetVideoListRequest) String() string
type GetVideoListResponse ¶
type GetVideoListResponse struct { StatusCode int32 `thrift:"status_code,1" frugal:"1,default,i32" json:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` VideoList []*Video `thrift:"video_list,3" frugal:"3,default,list<Video>" json:"video_list"` }
var PublishServiceGetVideoListResult_Success_DEFAULT *GetVideoListResponse
func NewGetVideoListResponse ¶
func NewGetVideoListResponse() *GetVideoListResponse
func (*GetVideoListResponse) BLength ¶
func (p *GetVideoListResponse) BLength() int
func (*GetVideoListResponse) DeepEqual ¶
func (p *GetVideoListResponse) DeepEqual(ano *GetVideoListResponse) bool
func (*GetVideoListResponse) FastRead ¶
func (p *GetVideoListResponse) FastRead(buf []byte) (int, error)
func (*GetVideoListResponse) FastReadField1 ¶
func (p *GetVideoListResponse) FastReadField1(buf []byte) (int, error)
func (*GetVideoListResponse) FastReadField2 ¶
func (p *GetVideoListResponse) FastReadField2(buf []byte) (int, error)
func (*GetVideoListResponse) FastReadField3 ¶
func (p *GetVideoListResponse) FastReadField3(buf []byte) (int, error)
func (*GetVideoListResponse) FastWrite ¶
func (p *GetVideoListResponse) FastWrite(buf []byte) int
for compatibility
func (*GetVideoListResponse) FastWriteNocopy ¶
func (p *GetVideoListResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*GetVideoListResponse) Field1DeepEqual ¶
func (p *GetVideoListResponse) Field1DeepEqual(src int32) bool
func (*GetVideoListResponse) Field2DeepEqual ¶
func (p *GetVideoListResponse) Field2DeepEqual(src *string) bool
func (*GetVideoListResponse) Field3DeepEqual ¶
func (p *GetVideoListResponse) Field3DeepEqual(src []*Video) bool
func (*GetVideoListResponse) GetStatusCode ¶
func (p *GetVideoListResponse) GetStatusCode() (v int32)
func (*GetVideoListResponse) GetStatusMsg ¶
func (p *GetVideoListResponse) GetStatusMsg() (v string)
func (*GetVideoListResponse) GetVideoList ¶
func (p *GetVideoListResponse) GetVideoList() (v []*Video)
func (*GetVideoListResponse) InitDefault ¶
func (p *GetVideoListResponse) InitDefault()
func (*GetVideoListResponse) IsSetStatusMsg ¶
func (p *GetVideoListResponse) IsSetStatusMsg() bool
func (*GetVideoListResponse) Read ¶
func (p *GetVideoListResponse) Read(iprot thrift.TProtocol) (err error)
func (*GetVideoListResponse) ReadField1 ¶
func (p *GetVideoListResponse) ReadField1(iprot thrift.TProtocol) error
func (*GetVideoListResponse) ReadField2 ¶
func (p *GetVideoListResponse) ReadField2(iprot thrift.TProtocol) error
func (*GetVideoListResponse) ReadField3 ¶
func (p *GetVideoListResponse) ReadField3(iprot thrift.TProtocol) error
func (*GetVideoListResponse) SetStatusCode ¶
func (p *GetVideoListResponse) SetStatusCode(val int32)
func (*GetVideoListResponse) SetStatusMsg ¶
func (p *GetVideoListResponse) SetStatusMsg(val *string)
func (*GetVideoListResponse) SetVideoList ¶
func (p *GetVideoListResponse) SetVideoList(val []*Video)
func (*GetVideoListResponse) String ¶
func (p *GetVideoListResponse) 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"` UserId int64 `thrift:"user_id,4" frugal:"4,default,i64" json:"user_id"` }
var PublishServicePublishActionArgs_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) FastReadField4 ¶
func (p *PublishActionRequest) FastReadField4(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) Field4DeepEqual ¶
func (p *PublishActionRequest) Field4DeepEqual(src int64) 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) GetUserId ¶
func (p *PublishActionRequest) GetUserId() (v int64)
func (*PublishActionRequest) InitDefault ¶
func (p *PublishActionRequest) InitDefault()
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) ReadField4 ¶
func (p *PublishActionRequest) ReadField4(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) SetUserId ¶
func (p *PublishActionRequest) SetUserId(val int64)
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,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` }
var PublishServicePublishActionResult_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) IsSetStatusMsg ¶
func (p *PublishActionResponse) IsSetStatusMsg() bool
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 PublishServicePublishListArgs_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,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` VideoList []*Video `thrift:"video_list,3" frugal:"3,default,list<Video>" json:"video_list"` }
var PublishServicePublishListResult_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) IsSetStatusMsg ¶
func (p *PublishListResponse) IsSetStatusMsg() bool
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 PublishService ¶
type PublishService interface { PublishAction(ctx context.Context, req *PublishActionRequest) (r *PublishActionResponse, err error) PublishList(ctx context.Context, req *PublishListRequest) (r *PublishListResponse, err error) GetVideoList(ctx context.Context, req *GetVideoListRequest) (r *GetVideoListResponse, err error) }
type PublishServiceClient ¶
type PublishServiceClient struct {
// contains filtered or unexported fields
}
func NewPublishServiceClient ¶
func NewPublishServiceClient(c thrift.TClient) *PublishServiceClient
func NewPublishServiceClientFactory ¶
func NewPublishServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *PublishServiceClient
func NewPublishServiceClientProtocol ¶
func NewPublishServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *PublishServiceClient
func (*PublishServiceClient) Client_ ¶
func (p *PublishServiceClient) Client_() thrift.TClient
func (*PublishServiceClient) GetVideoList ¶
func (p *PublishServiceClient) GetVideoList(ctx context.Context, req *GetVideoListRequest) (r *GetVideoListResponse, err error)
func (*PublishServiceClient) PublishAction ¶
func (p *PublishServiceClient) PublishAction(ctx context.Context, req *PublishActionRequest) (r *PublishActionResponse, err error)
func (*PublishServiceClient) PublishList ¶
func (p *PublishServiceClient) PublishList(ctx context.Context, req *PublishListRequest) (r *PublishListResponse, err error)
type PublishServiceGetVideoListArgs ¶
type PublishServiceGetVideoListArgs struct {
Req *GetVideoListRequest `thrift:"req,1" frugal:"1,default,GetVideoListRequest" json:"req"`
}
func NewPublishServiceGetVideoListArgs ¶
func NewPublishServiceGetVideoListArgs() *PublishServiceGetVideoListArgs
func (*PublishServiceGetVideoListArgs) BLength ¶
func (p *PublishServiceGetVideoListArgs) BLength() int
func (*PublishServiceGetVideoListArgs) DeepEqual ¶
func (p *PublishServiceGetVideoListArgs) DeepEqual(ano *PublishServiceGetVideoListArgs) bool
func (*PublishServiceGetVideoListArgs) FastRead ¶
func (p *PublishServiceGetVideoListArgs) FastRead(buf []byte) (int, error)
func (*PublishServiceGetVideoListArgs) FastReadField1 ¶
func (p *PublishServiceGetVideoListArgs) FastReadField1(buf []byte) (int, error)
func (*PublishServiceGetVideoListArgs) FastWrite ¶
func (p *PublishServiceGetVideoListArgs) FastWrite(buf []byte) int
for compatibility
func (*PublishServiceGetVideoListArgs) FastWriteNocopy ¶
func (p *PublishServiceGetVideoListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishServiceGetVideoListArgs) Field1DeepEqual ¶
func (p *PublishServiceGetVideoListArgs) Field1DeepEqual(src *GetVideoListRequest) bool
func (*PublishServiceGetVideoListArgs) GetFirstArgument ¶
func (p *PublishServiceGetVideoListArgs) GetFirstArgument() interface{}
func (*PublishServiceGetVideoListArgs) GetReq ¶
func (p *PublishServiceGetVideoListArgs) GetReq() (v *GetVideoListRequest)
func (*PublishServiceGetVideoListArgs) InitDefault ¶
func (p *PublishServiceGetVideoListArgs) InitDefault()
func (*PublishServiceGetVideoListArgs) IsSetReq ¶
func (p *PublishServiceGetVideoListArgs) IsSetReq() bool
func (*PublishServiceGetVideoListArgs) Read ¶
func (p *PublishServiceGetVideoListArgs) Read(iprot thrift.TProtocol) (err error)
func (*PublishServiceGetVideoListArgs) ReadField1 ¶
func (p *PublishServiceGetVideoListArgs) ReadField1(iprot thrift.TProtocol) error
func (*PublishServiceGetVideoListArgs) SetReq ¶
func (p *PublishServiceGetVideoListArgs) SetReq(val *GetVideoListRequest)
func (*PublishServiceGetVideoListArgs) String ¶
func (p *PublishServiceGetVideoListArgs) String() string
type PublishServiceGetVideoListResult ¶
type PublishServiceGetVideoListResult struct {
Success *GetVideoListResponse `thrift:"success,0,optional" frugal:"0,optional,GetVideoListResponse" json:"success,omitempty"`
}
func NewPublishServiceGetVideoListResult ¶
func NewPublishServiceGetVideoListResult() *PublishServiceGetVideoListResult
func (*PublishServiceGetVideoListResult) BLength ¶
func (p *PublishServiceGetVideoListResult) BLength() int
func (*PublishServiceGetVideoListResult) DeepEqual ¶
func (p *PublishServiceGetVideoListResult) DeepEqual(ano *PublishServiceGetVideoListResult) bool
func (*PublishServiceGetVideoListResult) FastRead ¶
func (p *PublishServiceGetVideoListResult) FastRead(buf []byte) (int, error)
func (*PublishServiceGetVideoListResult) FastReadField0 ¶
func (p *PublishServiceGetVideoListResult) FastReadField0(buf []byte) (int, error)
func (*PublishServiceGetVideoListResult) FastWrite ¶
func (p *PublishServiceGetVideoListResult) FastWrite(buf []byte) int
for compatibility
func (*PublishServiceGetVideoListResult) FastWriteNocopy ¶
func (p *PublishServiceGetVideoListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishServiceGetVideoListResult) Field0DeepEqual ¶
func (p *PublishServiceGetVideoListResult) Field0DeepEqual(src *GetVideoListResponse) bool
func (*PublishServiceGetVideoListResult) GetResult ¶
func (p *PublishServiceGetVideoListResult) GetResult() interface{}
func (*PublishServiceGetVideoListResult) GetSuccess ¶
func (p *PublishServiceGetVideoListResult) GetSuccess() (v *GetVideoListResponse)
func (*PublishServiceGetVideoListResult) InitDefault ¶
func (p *PublishServiceGetVideoListResult) InitDefault()
func (*PublishServiceGetVideoListResult) IsSetSuccess ¶
func (p *PublishServiceGetVideoListResult) IsSetSuccess() bool
func (*PublishServiceGetVideoListResult) Read ¶
func (p *PublishServiceGetVideoListResult) Read(iprot thrift.TProtocol) (err error)
func (*PublishServiceGetVideoListResult) ReadField0 ¶
func (p *PublishServiceGetVideoListResult) ReadField0(iprot thrift.TProtocol) error
func (*PublishServiceGetVideoListResult) SetSuccess ¶
func (p *PublishServiceGetVideoListResult) SetSuccess(x interface{})
func (*PublishServiceGetVideoListResult) String ¶
func (p *PublishServiceGetVideoListResult) String() string
type PublishServiceProcessor ¶
type PublishServiceProcessor struct {
// contains filtered or unexported fields
}
func NewPublishServiceProcessor ¶
func NewPublishServiceProcessor(handler PublishService) *PublishServiceProcessor
func (*PublishServiceProcessor) AddToProcessorMap ¶
func (p *PublishServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*PublishServiceProcessor) GetProcessorFunction ¶
func (p *PublishServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*PublishServiceProcessor) Process ¶
func (p *PublishServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*PublishServiceProcessor) ProcessorMap ¶
func (p *PublishServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type PublishServicePublishActionArgs ¶
type PublishServicePublishActionArgs struct {
Req *PublishActionRequest `thrift:"req,1" frugal:"1,default,PublishActionRequest" json:"req"`
}
func NewPublishServicePublishActionArgs ¶
func NewPublishServicePublishActionArgs() *PublishServicePublishActionArgs
func (*PublishServicePublishActionArgs) BLength ¶
func (p *PublishServicePublishActionArgs) BLength() int
func (*PublishServicePublishActionArgs) DeepEqual ¶
func (p *PublishServicePublishActionArgs) DeepEqual(ano *PublishServicePublishActionArgs) bool
func (*PublishServicePublishActionArgs) FastRead ¶
func (p *PublishServicePublishActionArgs) FastRead(buf []byte) (int, error)
func (*PublishServicePublishActionArgs) FastReadField1 ¶
func (p *PublishServicePublishActionArgs) FastReadField1(buf []byte) (int, error)
func (*PublishServicePublishActionArgs) FastWrite ¶
func (p *PublishServicePublishActionArgs) FastWrite(buf []byte) int
for compatibility
func (*PublishServicePublishActionArgs) FastWriteNocopy ¶
func (p *PublishServicePublishActionArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishServicePublishActionArgs) Field1DeepEqual ¶
func (p *PublishServicePublishActionArgs) Field1DeepEqual(src *PublishActionRequest) bool
func (*PublishServicePublishActionArgs) GetFirstArgument ¶
func (p *PublishServicePublishActionArgs) GetFirstArgument() interface{}
func (*PublishServicePublishActionArgs) GetReq ¶
func (p *PublishServicePublishActionArgs) GetReq() (v *PublishActionRequest)
func (*PublishServicePublishActionArgs) InitDefault ¶
func (p *PublishServicePublishActionArgs) InitDefault()
func (*PublishServicePublishActionArgs) IsSetReq ¶
func (p *PublishServicePublishActionArgs) IsSetReq() bool
func (*PublishServicePublishActionArgs) Read ¶
func (p *PublishServicePublishActionArgs) Read(iprot thrift.TProtocol) (err error)
func (*PublishServicePublishActionArgs) ReadField1 ¶
func (p *PublishServicePublishActionArgs) ReadField1(iprot thrift.TProtocol) error
func (*PublishServicePublishActionArgs) SetReq ¶
func (p *PublishServicePublishActionArgs) SetReq(val *PublishActionRequest)
func (*PublishServicePublishActionArgs) String ¶
func (p *PublishServicePublishActionArgs) String() string
type PublishServicePublishActionResult ¶
type PublishServicePublishActionResult struct {
Success *PublishActionResponse `thrift:"success,0,optional" frugal:"0,optional,PublishActionResponse" json:"success,omitempty"`
}
func NewPublishServicePublishActionResult ¶
func NewPublishServicePublishActionResult() *PublishServicePublishActionResult
func (*PublishServicePublishActionResult) BLength ¶
func (p *PublishServicePublishActionResult) BLength() int
func (*PublishServicePublishActionResult) DeepEqual ¶
func (p *PublishServicePublishActionResult) DeepEqual(ano *PublishServicePublishActionResult) bool
func (*PublishServicePublishActionResult) FastRead ¶
func (p *PublishServicePublishActionResult) FastRead(buf []byte) (int, error)
func (*PublishServicePublishActionResult) FastReadField0 ¶
func (p *PublishServicePublishActionResult) FastReadField0(buf []byte) (int, error)
func (*PublishServicePublishActionResult) FastWrite ¶
func (p *PublishServicePublishActionResult) FastWrite(buf []byte) int
for compatibility
func (*PublishServicePublishActionResult) FastWriteNocopy ¶
func (p *PublishServicePublishActionResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishServicePublishActionResult) Field0DeepEqual ¶
func (p *PublishServicePublishActionResult) Field0DeepEqual(src *PublishActionResponse) bool
func (*PublishServicePublishActionResult) GetResult ¶
func (p *PublishServicePublishActionResult) GetResult() interface{}
func (*PublishServicePublishActionResult) GetSuccess ¶
func (p *PublishServicePublishActionResult) GetSuccess() (v *PublishActionResponse)
func (*PublishServicePublishActionResult) InitDefault ¶
func (p *PublishServicePublishActionResult) InitDefault()
func (*PublishServicePublishActionResult) IsSetSuccess ¶
func (p *PublishServicePublishActionResult) IsSetSuccess() bool
func (*PublishServicePublishActionResult) Read ¶
func (p *PublishServicePublishActionResult) Read(iprot thrift.TProtocol) (err error)
func (*PublishServicePublishActionResult) ReadField0 ¶
func (p *PublishServicePublishActionResult) ReadField0(iprot thrift.TProtocol) error
func (*PublishServicePublishActionResult) SetSuccess ¶
func (p *PublishServicePublishActionResult) SetSuccess(x interface{})
func (*PublishServicePublishActionResult) String ¶
func (p *PublishServicePublishActionResult) String() string
type PublishServicePublishListArgs ¶
type PublishServicePublishListArgs struct {
Req *PublishListRequest `thrift:"req,1" frugal:"1,default,PublishListRequest" json:"req"`
}
func NewPublishServicePublishListArgs ¶
func NewPublishServicePublishListArgs() *PublishServicePublishListArgs
func (*PublishServicePublishListArgs) BLength ¶
func (p *PublishServicePublishListArgs) BLength() int
func (*PublishServicePublishListArgs) DeepEqual ¶
func (p *PublishServicePublishListArgs) DeepEqual(ano *PublishServicePublishListArgs) bool
func (*PublishServicePublishListArgs) FastRead ¶
func (p *PublishServicePublishListArgs) FastRead(buf []byte) (int, error)
func (*PublishServicePublishListArgs) FastReadField1 ¶
func (p *PublishServicePublishListArgs) FastReadField1(buf []byte) (int, error)
func (*PublishServicePublishListArgs) FastWrite ¶
func (p *PublishServicePublishListArgs) FastWrite(buf []byte) int
for compatibility
func (*PublishServicePublishListArgs) FastWriteNocopy ¶
func (p *PublishServicePublishListArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishServicePublishListArgs) Field1DeepEqual ¶
func (p *PublishServicePublishListArgs) Field1DeepEqual(src *PublishListRequest) bool
func (*PublishServicePublishListArgs) GetFirstArgument ¶
func (p *PublishServicePublishListArgs) GetFirstArgument() interface{}
func (*PublishServicePublishListArgs) GetReq ¶
func (p *PublishServicePublishListArgs) GetReq() (v *PublishListRequest)
func (*PublishServicePublishListArgs) InitDefault ¶
func (p *PublishServicePublishListArgs) InitDefault()
func (*PublishServicePublishListArgs) IsSetReq ¶
func (p *PublishServicePublishListArgs) IsSetReq() bool
func (*PublishServicePublishListArgs) Read ¶
func (p *PublishServicePublishListArgs) Read(iprot thrift.TProtocol) (err error)
func (*PublishServicePublishListArgs) ReadField1 ¶
func (p *PublishServicePublishListArgs) ReadField1(iprot thrift.TProtocol) error
func (*PublishServicePublishListArgs) SetReq ¶
func (p *PublishServicePublishListArgs) SetReq(val *PublishListRequest)
func (*PublishServicePublishListArgs) String ¶
func (p *PublishServicePublishListArgs) String() string
type PublishServicePublishListResult ¶
type PublishServicePublishListResult struct {
Success *PublishListResponse `thrift:"success,0,optional" frugal:"0,optional,PublishListResponse" json:"success,omitempty"`
}
func NewPublishServicePublishListResult ¶
func NewPublishServicePublishListResult() *PublishServicePublishListResult
func (*PublishServicePublishListResult) BLength ¶
func (p *PublishServicePublishListResult) BLength() int
func (*PublishServicePublishListResult) DeepEqual ¶
func (p *PublishServicePublishListResult) DeepEqual(ano *PublishServicePublishListResult) bool
func (*PublishServicePublishListResult) FastRead ¶
func (p *PublishServicePublishListResult) FastRead(buf []byte) (int, error)
func (*PublishServicePublishListResult) FastReadField0 ¶
func (p *PublishServicePublishListResult) FastReadField0(buf []byte) (int, error)
func (*PublishServicePublishListResult) FastWrite ¶
func (p *PublishServicePublishListResult) FastWrite(buf []byte) int
for compatibility
func (*PublishServicePublishListResult) FastWriteNocopy ¶
func (p *PublishServicePublishListResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*PublishServicePublishListResult) Field0DeepEqual ¶
func (p *PublishServicePublishListResult) Field0DeepEqual(src *PublishListResponse) bool
func (*PublishServicePublishListResult) GetResult ¶
func (p *PublishServicePublishListResult) GetResult() interface{}
func (*PublishServicePublishListResult) GetSuccess ¶
func (p *PublishServicePublishListResult) GetSuccess() (v *PublishListResponse)
func (*PublishServicePublishListResult) InitDefault ¶
func (p *PublishServicePublishListResult) InitDefault()
func (*PublishServicePublishListResult) IsSetSuccess ¶
func (p *PublishServicePublishListResult) IsSetSuccess() bool
func (*PublishServicePublishListResult) Read ¶
func (p *PublishServicePublishListResult) Read(iprot thrift.TProtocol) (err error)
func (*PublishServicePublishListResult) ReadField0 ¶
func (p *PublishServicePublishListResult) ReadField0(iprot thrift.TProtocol) error
func (*PublishServicePublishListResult) SetSuccess ¶
func (p *PublishServicePublishListResult) SetSuccess(x interface{})
func (*PublishServicePublishListResult) String ¶
func (p *PublishServicePublishListResult) String() string
type User ¶
type User struct { Id int64 `thrift:"id,1" frugal:"1,default,i64" json:"id"` Name string `thrift:"name,2" frugal:"2,default,string" json:"name"` FollowCount int64 `thrift:"follow_count,3" frugal:"3,default,i64" json:"follow_count"` FollowerCount int64 `thrift:"follower_count,4" frugal:"4,default,i64" json:"follower_count"` IsFollow bool `thrift:"is_follow,5" frugal:"5,default,bool" json:"is_follow"` Avatar string `thrift:"avatar,6" frugal:"6,default,string" json:"avatar"` BackgroundImage string `thrift:"background_image,7" frugal:"7,default,string" json:"background_image"` Signature string `thrift:"signature,8" frugal:"8,default,string" json:"signature"` TotalFavorited int64 `thrift:"total_favorited,9" frugal:"9,default,i64" json:"total_favorited"` WorkCount int64 `thrift:"work_count,10" frugal:"10,default,i64" json:"work_count"` FavoriteCount int64 `thrift:"favorite_count,11" frugal:"11,default,i64" json:"favorite_count"` }
var Video_Author_DEFAULT *User
func (*User) FastWriteNocopy ¶
func (p *User) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*User) Field10DeepEqual ¶
func (*User) Field11DeepEqual ¶
func (*User) Field1DeepEqual ¶
func (*User) Field2DeepEqual ¶
func (*User) Field3DeepEqual ¶
func (*User) Field4DeepEqual ¶
func (*User) Field5DeepEqual ¶
func (*User) Field6DeepEqual ¶
func (*User) Field7DeepEqual ¶
func (*User) Field8DeepEqual ¶
func (*User) Field9DeepEqual ¶
func (*User) GetBackgroundImage ¶
func (*User) GetFavoriteCount ¶
func (*User) GetFollowCount ¶
func (*User) GetFollowerCount ¶
func (*User) GetIsFollow ¶
func (*User) GetSignature ¶
func (*User) GetTotalFavorited ¶
func (*User) GetWorkCount ¶
func (*User) InitDefault ¶
func (p *User) InitDefault()
func (*User) SetBackgroundImage ¶
func (*User) SetFavoriteCount ¶
func (*User) SetFollowCount ¶
func (*User) SetFollowerCount ¶
func (*User) SetIsFollow ¶
func (*User) SetSignature ¶
func (*User) SetTotalFavorited ¶
func (*User) SetWorkCount ¶
type Video ¶
type Video struct { Id int64 `thrift:"id,1" frugal:"1,default,i64" json:"id"` Author *User `thrift:"author,2" frugal:"2,default,User" json:"author"` PlayUrl string `thrift:"play_url,3" frugal:"3,default,string" json:"play_url"` CoverUrl string `thrift:"cover_url,4" frugal:"4,default,string" json:"cover_url"` FavoriteCount int64 `thrift:"favorite_count,5" frugal:"5,default,i64" json:"favorite_count"` CommentCount int64 `thrift:"comment_count,6" frugal:"6,default,i64" json:"comment_count"` IsFavorite bool `thrift:"is_favorite,7" frugal:"7,default,bool" json:"is_favorite"` Title string `thrift:"title,8" frugal:"8,default,string" json:"title"` }
func (*Video) FastWriteNocopy ¶
func (p *Video) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*Video) Field1DeepEqual ¶
func (*Video) Field2DeepEqual ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.