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) FastReadField3(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) Field3DeepEqual(src int64) bool
- func (p *FeedRequest) GetLatestTime() (v int64)
- func (p *FeedRequest) GetToken() (v string)
- func (p *FeedRequest) GetUserId() (v int64)
- func (p *FeedRequest) InitDefault()
- 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) ReadField3(iprot thrift.TProtocol) error
- func (p *FeedRequest) SetLatestTime(val int64)
- func (p *FeedRequest) SetToken(val string)
- func (p *FeedRequest) SetUserId(val int64)
- 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) IsSetStatusMsg() bool
- 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 FeedService
- type FeedServiceClient
- type FeedServiceFeedArgs
- func (p *FeedServiceFeedArgs) BLength() int
- func (p *FeedServiceFeedArgs) DeepEqual(ano *FeedServiceFeedArgs) bool
- func (p *FeedServiceFeedArgs) FastRead(buf []byte) (int, error)
- func (p *FeedServiceFeedArgs) FastReadField1(buf []byte) (int, error)
- func (p *FeedServiceFeedArgs) FastWrite(buf []byte) int
- func (p *FeedServiceFeedArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FeedServiceFeedArgs) Field1DeepEqual(src *FeedRequest) bool
- func (p *FeedServiceFeedArgs) GetFirstArgument() interface{}
- func (p *FeedServiceFeedArgs) GetReq() (v *FeedRequest)
- func (p *FeedServiceFeedArgs) InitDefault()
- func (p *FeedServiceFeedArgs) IsSetReq() bool
- func (p *FeedServiceFeedArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *FeedServiceFeedArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *FeedServiceFeedArgs) SetReq(val *FeedRequest)
- func (p *FeedServiceFeedArgs) String() string
- func (p *FeedServiceFeedArgs) Write(oprot thrift.TProtocol) (err error)
- type FeedServiceFeedResult
- func (p *FeedServiceFeedResult) BLength() int
- func (p *FeedServiceFeedResult) DeepEqual(ano *FeedServiceFeedResult) bool
- func (p *FeedServiceFeedResult) FastRead(buf []byte) (int, error)
- func (p *FeedServiceFeedResult) FastReadField0(buf []byte) (int, error)
- func (p *FeedServiceFeedResult) FastWrite(buf []byte) int
- func (p *FeedServiceFeedResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
- func (p *FeedServiceFeedResult) Field0DeepEqual(src *FeedResponse) bool
- func (p *FeedServiceFeedResult) GetResult() interface{}
- func (p *FeedServiceFeedResult) GetSuccess() (v *FeedResponse)
- func (p *FeedServiceFeedResult) InitDefault()
- func (p *FeedServiceFeedResult) IsSetSuccess() bool
- func (p *FeedServiceFeedResult) Read(iprot thrift.TProtocol) (err error)
- func (p *FeedServiceFeedResult) ReadField0(iprot thrift.TProtocol) error
- func (p *FeedServiceFeedResult) SetSuccess(x interface{})
- func (p *FeedServiceFeedResult) String() string
- func (p *FeedServiceFeedResult) Write(oprot thrift.TProtocol) (err error)
- type FeedServiceProcessor
- func (p *FeedServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *FeedServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *FeedServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *FeedServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- 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 FeedResponse_StatusMsg_DEFAULT string
View Source
var KitexUnusedProtection = struct{}{}
KitexUnusedProtection is used to prevent 'imported and not used' error.
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"` UserId int64 `thrift:"user_id,3" frugal:"3,default,i64" json:"user_id"` }
var FeedServiceFeedArgs_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) FastReadField3 ¶
func (p *FeedRequest) FastReadField3(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) Field3DeepEqual ¶
func (p *FeedRequest) Field3DeepEqual(src int64) bool
func (*FeedRequest) GetLatestTime ¶
func (p *FeedRequest) GetLatestTime() (v int64)
func (*FeedRequest) GetToken ¶
func (p *FeedRequest) GetToken() (v string)
func (*FeedRequest) GetUserId ¶
func (p *FeedRequest) GetUserId() (v int64)
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) ReadField3 ¶
func (p *FeedRequest) ReadField3(iprot thrift.TProtocol) error
func (*FeedRequest) SetLatestTime ¶
func (p *FeedRequest) SetLatestTime(val int64)
func (*FeedRequest) SetToken ¶
func (p *FeedRequest) SetToken(val string)
func (*FeedRequest) SetUserId ¶
func (p *FeedRequest) SetUserId(val int64)
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,optional" frugal:"2,optional,string" json:"status_msg,omitempty"` 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 FeedServiceFeedResult_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) IsSetStatusMsg ¶
func (p *FeedResponse) IsSetStatusMsg() bool
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 FeedService ¶
type FeedService interface {
Feed(ctx context.Context, req *FeedRequest) (r *FeedResponse, err error)
}
type FeedServiceClient ¶
type FeedServiceClient struct {
// contains filtered or unexported fields
}
func NewFeedServiceClient ¶
func NewFeedServiceClient(c thrift.TClient) *FeedServiceClient
func NewFeedServiceClientFactory ¶
func NewFeedServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *FeedServiceClient
func NewFeedServiceClientProtocol ¶
func NewFeedServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *FeedServiceClient
func (*FeedServiceClient) Client_ ¶
func (p *FeedServiceClient) Client_() thrift.TClient
func (*FeedServiceClient) Feed ¶
func (p *FeedServiceClient) Feed(ctx context.Context, req *FeedRequest) (r *FeedResponse, err error)
type FeedServiceFeedArgs ¶
type FeedServiceFeedArgs struct {
Req *FeedRequest `thrift:"req,1,required" frugal:"1,required,FeedRequest" json:"req"`
}
func NewFeedServiceFeedArgs ¶
func NewFeedServiceFeedArgs() *FeedServiceFeedArgs
func (*FeedServiceFeedArgs) BLength ¶
func (p *FeedServiceFeedArgs) BLength() int
func (*FeedServiceFeedArgs) DeepEqual ¶
func (p *FeedServiceFeedArgs) DeepEqual(ano *FeedServiceFeedArgs) bool
func (*FeedServiceFeedArgs) FastRead ¶
func (p *FeedServiceFeedArgs) FastRead(buf []byte) (int, error)
func (*FeedServiceFeedArgs) FastReadField1 ¶
func (p *FeedServiceFeedArgs) FastReadField1(buf []byte) (int, error)
func (*FeedServiceFeedArgs) FastWrite ¶
func (p *FeedServiceFeedArgs) FastWrite(buf []byte) int
for compatibility
func (*FeedServiceFeedArgs) FastWriteNocopy ¶
func (p *FeedServiceFeedArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FeedServiceFeedArgs) Field1DeepEqual ¶
func (p *FeedServiceFeedArgs) Field1DeepEqual(src *FeedRequest) bool
func (*FeedServiceFeedArgs) GetFirstArgument ¶
func (p *FeedServiceFeedArgs) GetFirstArgument() interface{}
func (*FeedServiceFeedArgs) GetReq ¶
func (p *FeedServiceFeedArgs) GetReq() (v *FeedRequest)
func (*FeedServiceFeedArgs) InitDefault ¶
func (p *FeedServiceFeedArgs) InitDefault()
func (*FeedServiceFeedArgs) IsSetReq ¶
func (p *FeedServiceFeedArgs) IsSetReq() bool
func (*FeedServiceFeedArgs) Read ¶
func (p *FeedServiceFeedArgs) Read(iprot thrift.TProtocol) (err error)
func (*FeedServiceFeedArgs) ReadField1 ¶
func (p *FeedServiceFeedArgs) ReadField1(iprot thrift.TProtocol) error
func (*FeedServiceFeedArgs) SetReq ¶
func (p *FeedServiceFeedArgs) SetReq(val *FeedRequest)
func (*FeedServiceFeedArgs) String ¶
func (p *FeedServiceFeedArgs) String() string
type FeedServiceFeedResult ¶
type FeedServiceFeedResult struct {
Success *FeedResponse `thrift:"success,0,optional" frugal:"0,optional,FeedResponse" json:"success,omitempty"`
}
func NewFeedServiceFeedResult ¶
func NewFeedServiceFeedResult() *FeedServiceFeedResult
func (*FeedServiceFeedResult) BLength ¶
func (p *FeedServiceFeedResult) BLength() int
func (*FeedServiceFeedResult) DeepEqual ¶
func (p *FeedServiceFeedResult) DeepEqual(ano *FeedServiceFeedResult) bool
func (*FeedServiceFeedResult) FastRead ¶
func (p *FeedServiceFeedResult) FastRead(buf []byte) (int, error)
func (*FeedServiceFeedResult) FastReadField0 ¶
func (p *FeedServiceFeedResult) FastReadField0(buf []byte) (int, error)
func (*FeedServiceFeedResult) FastWrite ¶
func (p *FeedServiceFeedResult) FastWrite(buf []byte) int
for compatibility
func (*FeedServiceFeedResult) FastWriteNocopy ¶
func (p *FeedServiceFeedResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int
func (*FeedServiceFeedResult) Field0DeepEqual ¶
func (p *FeedServiceFeedResult) Field0DeepEqual(src *FeedResponse) bool
func (*FeedServiceFeedResult) GetResult ¶
func (p *FeedServiceFeedResult) GetResult() interface{}
func (*FeedServiceFeedResult) GetSuccess ¶
func (p *FeedServiceFeedResult) GetSuccess() (v *FeedResponse)
func (*FeedServiceFeedResult) InitDefault ¶
func (p *FeedServiceFeedResult) InitDefault()
func (*FeedServiceFeedResult) IsSetSuccess ¶
func (p *FeedServiceFeedResult) IsSetSuccess() bool
func (*FeedServiceFeedResult) Read ¶
func (p *FeedServiceFeedResult) Read(iprot thrift.TProtocol) (err error)
func (*FeedServiceFeedResult) ReadField0 ¶
func (p *FeedServiceFeedResult) ReadField0(iprot thrift.TProtocol) error
func (*FeedServiceFeedResult) SetSuccess ¶
func (p *FeedServiceFeedResult) SetSuccess(x interface{})
func (*FeedServiceFeedResult) String ¶
func (p *FeedServiceFeedResult) String() string
type FeedServiceProcessor ¶
type FeedServiceProcessor struct {
// contains filtered or unexported fields
}
func NewFeedServiceProcessor ¶
func NewFeedServiceProcessor(handler FeedService) *FeedServiceProcessor
func (*FeedServiceProcessor) AddToProcessorMap ¶
func (p *FeedServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*FeedServiceProcessor) GetProcessorFunction ¶
func (p *FeedServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*FeedServiceProcessor) Process ¶
func (p *FeedServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*FeedServiceProcessor) ProcessorMap ¶
func (p *FeedServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
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.