Documentation ¶
Index ¶
- Variables
- type ChatRecordRequest
- func (p *ChatRecordRequest) GetPreMsgTime() (v int64)
- func (p *ChatRecordRequest) GetToUserID() (v int64)
- func (p *ChatRecordRequest) GetToken() (v string)
- func (p *ChatRecordRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *ChatRecordRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *ChatRecordRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *ChatRecordRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *ChatRecordRequest) String() string
- func (p *ChatRecordRequest) Write(oprot thrift.TProtocol) (err error)
- type ChatRecordResponse
- func (p *ChatRecordResponse) GetMessageList() (v []*MessageInfo)
- func (p *ChatRecordResponse) GetStatusCode() (v int64)
- func (p *ChatRecordResponse) GetStatusMsg() (v string)
- func (p *ChatRecordResponse) IsSetMessageList() bool
- func (p *ChatRecordResponse) IsSetStatusMsg() bool
- func (p *ChatRecordResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *ChatRecordResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *ChatRecordResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *ChatRecordResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *ChatRecordResponse) String() string
- func (p *ChatRecordResponse) Write(oprot thrift.TProtocol) (err error)
- type CommentInfo
- func (p *CommentInfo) GetContent() (v string)
- func (p *CommentInfo) GetCreateDate() (v string)
- func (p *CommentInfo) GetID() (v int64)
- func (p *CommentInfo) GetUser() (v *UserInfo)
- func (p *CommentInfo) IsSetUser() bool
- func (p *CommentInfo) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentInfo) ReadField1(iprot thrift.TProtocol) error
- func (p *CommentInfo) ReadField2(iprot thrift.TProtocol) error
- func (p *CommentInfo) ReadField3(iprot thrift.TProtocol) error
- func (p *CommentInfo) ReadField4(iprot thrift.TProtocol) error
- func (p *CommentInfo) String() string
- func (p *CommentInfo) Write(oprot thrift.TProtocol) (err error)
- type CommentListRequest
- func (p *CommentListRequest) GetToken() (v string)
- func (p *CommentListRequest) GetVideoID() (v string)
- func (p *CommentListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *CommentListRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *CommentListRequest) String() string
- func (p *CommentListRequest) Write(oprot thrift.TProtocol) (err error)
- type CommentListResponse
- func (p *CommentListResponse) GetCommentList() (v []*CommentInfo)
- func (p *CommentListResponse) GetStatusCode() (v int64)
- func (p *CommentListResponse) GetStatusMsg() (v string)
- func (p *CommentListResponse) IsSetCommentList() bool
- func (p *CommentListResponse) IsSetStatusMsg() bool
- func (p *CommentListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *CommentListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *CommentListResponse) ReadField4(iprot thrift.TProtocol) error
- func (p *CommentListResponse) String() string
- func (p *CommentListResponse) Write(oprot thrift.TProtocol) (err error)
- type CommentRequest
- func (p *CommentRequest) GetActionType() (v string)
- func (p *CommentRequest) GetCommentID() (v string)
- func (p *CommentRequest) GetCommentText() (v string)
- func (p *CommentRequest) GetToken() (v string)
- func (p *CommentRequest) GetVideoID() (v string)
- func (p *CommentRequest) IsSetCommentID() bool
- func (p *CommentRequest) IsSetCommentText() bool
- func (p *CommentRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *CommentRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *CommentRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *CommentRequest) ReadField4(iprot thrift.TProtocol) error
- func (p *CommentRequest) ReadField5(iprot thrift.TProtocol) error
- func (p *CommentRequest) String() string
- func (p *CommentRequest) Write(oprot thrift.TProtocol) (err error)
- type CommentResponse
- func (p *CommentResponse) GetComment() (v *CommentInfo)
- func (p *CommentResponse) GetStatusCode() (v int64)
- func (p *CommentResponse) GetStatusMsg() (v string)
- func (p *CommentResponse) IsSetComment() bool
- func (p *CommentResponse) IsSetStatusMsg() bool
- func (p *CommentResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *CommentResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *CommentResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *CommentResponse) String() string
- func (p *CommentResponse) Write(oprot thrift.TProtocol) (err error)
- type CommentService
- type CommentServiceClient
- func NewCommentServiceClient(c thrift.TClient) *CommentServiceClient
- func NewCommentServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *CommentServiceClient
- func NewCommentServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *CommentServiceClient
- func (p *CommentServiceClient) Client_() thrift.TClient
- func (p *CommentServiceClient) CommentAction(ctx context.Context, request *CommentRequest) (r *CommentResponse, err error)
- func (p *CommentServiceClient) GetCommentList(ctx context.Context, request *CommentListRequest) (r *CommentListResponse, err error)
- type CommentServiceCommentActionArgs
- func (p *CommentServiceCommentActionArgs) GetRequest() (v *CommentRequest)
- func (p *CommentServiceCommentActionArgs) IsSetRequest() bool
- func (p *CommentServiceCommentActionArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentServiceCommentActionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *CommentServiceCommentActionArgs) String() string
- func (p *CommentServiceCommentActionArgs) Write(oprot thrift.TProtocol) (err error)
- type CommentServiceCommentActionResult
- func (p *CommentServiceCommentActionResult) GetSuccess() (v *CommentResponse)
- func (p *CommentServiceCommentActionResult) IsSetSuccess() bool
- func (p *CommentServiceCommentActionResult) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentServiceCommentActionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *CommentServiceCommentActionResult) String() string
- func (p *CommentServiceCommentActionResult) Write(oprot thrift.TProtocol) (err error)
- type CommentServiceGetCommentListArgs
- func (p *CommentServiceGetCommentListArgs) GetRequest() (v *CommentListRequest)
- func (p *CommentServiceGetCommentListArgs) IsSetRequest() bool
- func (p *CommentServiceGetCommentListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentServiceGetCommentListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *CommentServiceGetCommentListArgs) String() string
- func (p *CommentServiceGetCommentListArgs) Write(oprot thrift.TProtocol) (err error)
- type CommentServiceGetCommentListResult
- func (p *CommentServiceGetCommentListResult) GetSuccess() (v *CommentListResponse)
- func (p *CommentServiceGetCommentListResult) IsSetSuccess() bool
- func (p *CommentServiceGetCommentListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *CommentServiceGetCommentListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *CommentServiceGetCommentListResult) String() string
- func (p *CommentServiceGetCommentListResult) Write(oprot thrift.TProtocol) (err error)
- type CommentServiceProcessor
- func (p *CommentServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *CommentServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *CommentServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *CommentServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type FavoriteService
- type FavoriteServiceClient
- func NewFavoriteServiceClient(c thrift.TClient) *FavoriteServiceClient
- func NewFavoriteServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *FavoriteServiceClient
- func NewFavoriteServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *FavoriteServiceClient
- type FavoriteServiceGetLikeListArgs
- func (p *FavoriteServiceGetLikeListArgs) GetRequest() (v *LikeListRequest)
- func (p *FavoriteServiceGetLikeListArgs) IsSetRequest() bool
- func (p *FavoriteServiceGetLikeListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceGetLikeListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteServiceGetLikeListArgs) String() string
- func (p *FavoriteServiceGetLikeListArgs) Write(oprot thrift.TProtocol) (err error)
- type FavoriteServiceGetLikeListResult
- func (p *FavoriteServiceGetLikeListResult) GetSuccess() (v *LikeListResponse)
- func (p *FavoriteServiceGetLikeListResult) IsSetSuccess() bool
- func (p *FavoriteServiceGetLikeListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceGetLikeListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *FavoriteServiceGetLikeListResult) String() string
- func (p *FavoriteServiceGetLikeListResult) Write(oprot thrift.TProtocol) (err error)
- type FavoriteServiceLikeActionArgs
- func (p *FavoriteServiceLikeActionArgs) GetRequest() (v *LikeRequest)
- func (p *FavoriteServiceLikeActionArgs) IsSetRequest() bool
- func (p *FavoriteServiceLikeActionArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceLikeActionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *FavoriteServiceLikeActionArgs) String() string
- func (p *FavoriteServiceLikeActionArgs) Write(oprot thrift.TProtocol) (err error)
- type FavoriteServiceLikeActionResult
- func (p *FavoriteServiceLikeActionResult) GetSuccess() (v *LikeResponse)
- func (p *FavoriteServiceLikeActionResult) IsSetSuccess() bool
- func (p *FavoriteServiceLikeActionResult) Read(iprot thrift.TProtocol) (err error)
- func (p *FavoriteServiceLikeActionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *FavoriteServiceLikeActionResult) String() string
- func (p *FavoriteServiceLikeActionResult) Write(oprot thrift.TProtocol) (err error)
- type FavoriteServiceProcessor
- func (p *FavoriteServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *FavoriteServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *FavoriteServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *FavoriteServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type FeedRequest
- func (p *FeedRequest) GetLatestTime() (v string)
- func (p *FeedRequest) GetToken() (v string)
- func (p *FeedRequest) IsSetLatestTime() bool
- func (p *FeedRequest) IsSetToken() bool
- 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) String() string
- func (p *FeedRequest) Write(oprot thrift.TProtocol) (err error)
- type FeedResponse
- func (p *FeedResponse) GetNextTime() (v int64)
- func (p *FeedResponse) GetStatusCode() (v int32)
- func (p *FeedResponse) GetStatusMsg() (v string)
- func (p *FeedResponse) GetVideoList() (v []*VideoInfo)
- func (p *FeedResponse) IsSetNextTime() bool
- func (p *FeedResponse) IsSetStatusMsg() bool
- func (p *FeedResponse) IsSetVideoList() 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) String() string
- func (p *FeedResponse) Write(oprot thrift.TProtocol) (err error)
- type FeedService
- type FeedServiceClient
- type FeedServiceGetVideoListArgs
- func (p *FeedServiceGetVideoListArgs) GetRequest() (v *FeedRequest)
- func (p *FeedServiceGetVideoListArgs) IsSetRequest() bool
- func (p *FeedServiceGetVideoListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *FeedServiceGetVideoListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *FeedServiceGetVideoListArgs) String() string
- func (p *FeedServiceGetVideoListArgs) Write(oprot thrift.TProtocol) (err error)
- type FeedServiceGetVideoListResult
- func (p *FeedServiceGetVideoListResult) GetSuccess() (v *FeedResponse)
- func (p *FeedServiceGetVideoListResult) IsSetSuccess() bool
- func (p *FeedServiceGetVideoListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *FeedServiceGetVideoListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *FeedServiceGetVideoListResult) String() string
- func (p *FeedServiceGetVideoListResult) 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 FollowRequest
- func (p *FollowRequest) GetActionType() (v string)
- func (p *FollowRequest) GetToUserID() (v string)
- func (p *FollowRequest) GetToken() (v string)
- func (p *FollowRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *FollowRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *FollowRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *FollowRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *FollowRequest) String() string
- func (p *FollowRequest) Write(oprot thrift.TProtocol) (err error)
- type FollowResponse
- func (p *FollowResponse) GetStatusCode() (v int64)
- func (p *FollowResponse) GetStatusMsg() (v string)
- func (p *FollowResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *FollowResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *FollowResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *FollowResponse) String() string
- func (p *FollowResponse) Write(oprot thrift.TProtocol) (err error)
- type LikeListRequest
- func (p *LikeListRequest) GetToken() (v string)
- func (p *LikeListRequest) GetUserID() (v string)
- func (p *LikeListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *LikeListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *LikeListRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *LikeListRequest) String() string
- func (p *LikeListRequest) Write(oprot thrift.TProtocol) (err error)
- type LikeListResponse
- func (p *LikeListResponse) GetStatusCode() (v int64)
- func (p *LikeListResponse) GetStatusMsg() (v string)
- func (p *LikeListResponse) GetVideoList() (v []*VideoInfo)
- func (p *LikeListResponse) IsSetStatusMsg() bool
- func (p *LikeListResponse) IsSetVideoList() bool
- func (p *LikeListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *LikeListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *LikeListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *LikeListResponse) ReadField4(iprot thrift.TProtocol) error
- func (p *LikeListResponse) String() string
- func (p *LikeListResponse) Write(oprot thrift.TProtocol) (err error)
- type LikeRequest
- func (p *LikeRequest) GetActionType() (v string)
- func (p *LikeRequest) GetToken() (v string)
- func (p *LikeRequest) GetVideoID() (v string)
- func (p *LikeRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *LikeRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *LikeRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *LikeRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *LikeRequest) String() string
- func (p *LikeRequest) Write(oprot thrift.TProtocol) (err error)
- type LikeResponse
- func (p *LikeResponse) GetStatusCode() (v int64)
- func (p *LikeResponse) GetStatusMsg() (v string)
- func (p *LikeResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *LikeResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *LikeResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *LikeResponse) String() string
- func (p *LikeResponse) Write(oprot thrift.TProtocol) (err error)
- type LoginRequest
- func (p *LoginRequest) GetPassword() (v string)
- func (p *LoginRequest) GetUsername() (v string)
- func (p *LoginRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *LoginRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *LoginRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *LoginRequest) String() string
- func (p *LoginRequest) Write(oprot thrift.TProtocol) (err error)
- type LoginResponse
- func (p *LoginResponse) GetStatusCode() (v int64)
- func (p *LoginResponse) GetStatusMsg() (v string)
- func (p *LoginResponse) GetToken() (v string)
- func (p *LoginResponse) GetUserID() (v int64)
- func (p *LoginResponse) IsSetStatusMsg() bool
- func (p *LoginResponse) IsSetToken() bool
- func (p *LoginResponse) IsSetUserID() bool
- func (p *LoginResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *LoginResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *LoginResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *LoginResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *LoginResponse) ReadField4(iprot thrift.TProtocol) error
- func (p *LoginResponse) String() string
- func (p *LoginResponse) Write(oprot thrift.TProtocol) (err error)
- type MessageInfo
- func (p *MessageInfo) GetContent() (v string)
- func (p *MessageInfo) GetCreateTime() (v int64)
- func (p *MessageInfo) GetFromUserID() (v int64)
- func (p *MessageInfo) GetID() (v int64)
- func (p *MessageInfo) GetToUserID() (v int64)
- func (p *MessageInfo) IsSetCreateTime() bool
- func (p *MessageInfo) Read(iprot thrift.TProtocol) (err error)
- func (p *MessageInfo) ReadField1(iprot thrift.TProtocol) error
- func (p *MessageInfo) ReadField2(iprot thrift.TProtocol) error
- func (p *MessageInfo) ReadField3(iprot thrift.TProtocol) error
- func (p *MessageInfo) ReadField4(iprot thrift.TProtocol) error
- func (p *MessageInfo) ReadField5(iprot thrift.TProtocol) error
- func (p *MessageInfo) String() string
- func (p *MessageInfo) Write(oprot thrift.TProtocol) (err error)
- type MessageRequest
- func (p *MessageRequest) GetActionType() (v string)
- func (p *MessageRequest) GetContent() (v string)
- func (p *MessageRequest) GetToUserID() (v int64)
- func (p *MessageRequest) GetToken() (v string)
- func (p *MessageRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *MessageRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *MessageRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *MessageRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *MessageRequest) ReadField4(iprot thrift.TProtocol) error
- func (p *MessageRequest) String() string
- func (p *MessageRequest) Write(oprot thrift.TProtocol) (err error)
- type MessageResponse
- func (p *MessageResponse) GetStatusCode() (v int64)
- func (p *MessageResponse) GetStatusMsg() (v string)
- func (p *MessageResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *MessageResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *MessageResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *MessageResponse) String() string
- func (p *MessageResponse) Write(oprot thrift.TProtocol) (err error)
- type MessageService
- type MessageServiceClient
- func NewMessageServiceClient(c thrift.TClient) *MessageServiceClient
- func NewMessageServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *MessageServiceClient
- func NewMessageServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *MessageServiceClient
- func (p *MessageServiceClient) Client_() thrift.TClient
- func (p *MessageServiceClient) GetChatRecord(ctx context.Context, request *ChatRecordRequest) (r *ChatRecordResponse, err error)
- func (p *MessageServiceClient) SendMessage(ctx context.Context, request *MessageRequest) (r *MessageResponse, err error)
- type MessageServiceGetChatRecordArgs
- func (p *MessageServiceGetChatRecordArgs) GetRequest() (v *ChatRecordRequest)
- func (p *MessageServiceGetChatRecordArgs) IsSetRequest() bool
- func (p *MessageServiceGetChatRecordArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *MessageServiceGetChatRecordArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *MessageServiceGetChatRecordArgs) String() string
- func (p *MessageServiceGetChatRecordArgs) Write(oprot thrift.TProtocol) (err error)
- type MessageServiceGetChatRecordResult
- func (p *MessageServiceGetChatRecordResult) GetSuccess() (v *ChatRecordResponse)
- func (p *MessageServiceGetChatRecordResult) IsSetSuccess() bool
- func (p *MessageServiceGetChatRecordResult) Read(iprot thrift.TProtocol) (err error)
- func (p *MessageServiceGetChatRecordResult) ReadField0(iprot thrift.TProtocol) error
- func (p *MessageServiceGetChatRecordResult) String() string
- func (p *MessageServiceGetChatRecordResult) Write(oprot thrift.TProtocol) (err error)
- type MessageServiceProcessor
- func (p *MessageServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *MessageServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *MessageServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *MessageServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type MessageServiceSendMessageArgs
- func (p *MessageServiceSendMessageArgs) GetRequest() (v *MessageRequest)
- func (p *MessageServiceSendMessageArgs) IsSetRequest() bool
- func (p *MessageServiceSendMessageArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *MessageServiceSendMessageArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *MessageServiceSendMessageArgs) String() string
- func (p *MessageServiceSendMessageArgs) Write(oprot thrift.TProtocol) (err error)
- type MessageServiceSendMessageResult
- func (p *MessageServiceSendMessageResult) GetSuccess() (v *MessageResponse)
- func (p *MessageServiceSendMessageResult) IsSetSuccess() bool
- func (p *MessageServiceSendMessageResult) Read(iprot thrift.TProtocol) (err error)
- func (p *MessageServiceSendMessageResult) ReadField0(iprot thrift.TProtocol) error
- func (p *MessageServiceSendMessageResult) String() string
- func (p *MessageServiceSendMessageResult) Write(oprot thrift.TProtocol) (err error)
- type PublishListRequest
- func (p *PublishListRequest) GetToken() (v string)
- func (p *PublishListRequest) GetUserID() (v string)
- 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) String() string
- func (p *PublishListRequest) Write(oprot thrift.TProtocol) (err error)
- type PublishListResponse
- func (p *PublishListResponse) GetStatusCode() (v int64)
- func (p *PublishListResponse) GetStatusMsg() (v string)
- func (p *PublishListResponse) GetVideoList() (v []*VideoInfo)
- func (p *PublishListResponse) IsSetStatusMsg() bool
- func (p *PublishListResponse) IsSetVideoList() 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) ReadField4(iprot thrift.TProtocol) error
- func (p *PublishListResponse) String() string
- func (p *PublishListResponse) Write(oprot thrift.TProtocol) (err error)
- type PublishRequest
- func (p *PublishRequest) GetData() (v []byte)
- func (p *PublishRequest) GetTitle() (v string)
- func (p *PublishRequest) GetToken() (v string)
- func (p *PublishRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *PublishRequest) ReadField3(iprot thrift.TProtocol) error
- func (p *PublishRequest) String() string
- func (p *PublishRequest) Write(oprot thrift.TProtocol) (err error)
- type PublishResponse
- func (p *PublishResponse) GetStatusCode() (v int64)
- func (p *PublishResponse) GetStatusMsg() (v string)
- func (p *PublishResponse) IsSetStatusMsg() bool
- func (p *PublishResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *PublishResponse) String() string
- func (p *PublishResponse) 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) GetPublishList(ctx context.Context, request *PublishListRequest) (r *PublishListResponse, err error)
- func (p *PublishServiceClient) PublishAction(ctx context.Context, request *PublishRequest) (r *PublishResponse, err error)
- type PublishServiceGetPublishListArgs
- func (p *PublishServiceGetPublishListArgs) GetRequest() (v *PublishListRequest)
- func (p *PublishServiceGetPublishListArgs) IsSetRequest() bool
- func (p *PublishServiceGetPublishListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishServiceGetPublishListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishServiceGetPublishListArgs) String() string
- func (p *PublishServiceGetPublishListArgs) Write(oprot thrift.TProtocol) (err error)
- type PublishServiceGetPublishListResult
- func (p *PublishServiceGetPublishListResult) GetSuccess() (v *PublishListResponse)
- func (p *PublishServiceGetPublishListResult) IsSetSuccess() bool
- func (p *PublishServiceGetPublishListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishServiceGetPublishListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *PublishServiceGetPublishListResult) String() string
- func (p *PublishServiceGetPublishListResult) 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) GetRequest() (v *PublishRequest)
- func (p *PublishServicePublishActionArgs) IsSetRequest() bool
- func (p *PublishServicePublishActionArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *PublishServicePublishActionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *PublishServicePublishActionArgs) String() string
- func (p *PublishServicePublishActionArgs) Write(oprot thrift.TProtocol) (err error)
- type PublishServicePublishActionResult
- func (p *PublishServicePublishActionResult) GetSuccess() (v *PublishResponse)
- 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) String() string
- func (p *PublishServicePublishActionResult) Write(oprot thrift.TProtocol) (err error)
- type RegisterRequest
- func (p *RegisterRequest) GetPassword() (v string)
- func (p *RegisterRequest) GetUsername() (v string)
- func (p *RegisterRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *RegisterRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *RegisterRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *RegisterRequest) String() string
- func (p *RegisterRequest) Write(oprot thrift.TProtocol) (err error)
- type RegisterResponse
- func (p *RegisterResponse) GetStatusCode() (v int64)
- func (p *RegisterResponse) GetStatusMsg() (v string)
- func (p *RegisterResponse) GetToken() (v string)
- func (p *RegisterResponse) GetUserID() (v int64)
- func (p *RegisterResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *RegisterResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *RegisterResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *RegisterResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *RegisterResponse) ReadField4(iprot thrift.TProtocol) error
- func (p *RegisterResponse) String() string
- func (p *RegisterResponse) Write(oprot thrift.TProtocol) (err error)
- type RelationListRequest
- func (p *RelationListRequest) GetToken() (v string)
- func (p *RelationListRequest) GetUserID() (v string)
- func (p *RelationListRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationListRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationListRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *RelationListRequest) String() string
- func (p *RelationListRequest) Write(oprot thrift.TProtocol) (err error)
- type RelationListResponse
- func (p *RelationListResponse) GetStatusCode() (v int64)
- func (p *RelationListResponse) GetStatusMsg() (v string)
- func (p *RelationListResponse) GetUserList() (v []*UserInfo)
- func (p *RelationListResponse) IsSetStatusMsg() bool
- func (p *RelationListResponse) IsSetUserList() bool
- func (p *RelationListResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationListResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationListResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *RelationListResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *RelationListResponse) String() string
- func (p *RelationListResponse) Write(oprot thrift.TProtocol) (err error)
- type RelationService
- type RelationServiceClient
- func NewRelationServiceClient(c thrift.TClient) *RelationServiceClient
- func NewRelationServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *RelationServiceClient
- func NewRelationServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *RelationServiceClient
- func (p *RelationServiceClient) Client_() thrift.TClient
- func (p *RelationServiceClient) FollowAction(ctx context.Context, request *FollowRequest) (r *FollowResponse, err error)
- func (p *RelationServiceClient) GetFollowList(ctx context.Context, request *RelationListRequest) (r *RelationListResponse, err error)
- func (p *RelationServiceClient) GetFollowerList(ctx context.Context, request *RelationListRequest) (r *RelationListResponse, err error)
- func (p *RelationServiceClient) GetFriendList(ctx context.Context, request *RelationListRequest) (r *RelationListResponse, err error)
- type RelationServiceFollowActionArgs
- func (p *RelationServiceFollowActionArgs) GetRequest() (v *FollowRequest)
- func (p *RelationServiceFollowActionArgs) IsSetRequest() bool
- func (p *RelationServiceFollowActionArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceFollowActionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationServiceFollowActionArgs) String() string
- func (p *RelationServiceFollowActionArgs) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceFollowActionResult
- func (p *RelationServiceFollowActionResult) GetSuccess() (v *FollowResponse)
- func (p *RelationServiceFollowActionResult) IsSetSuccess() bool
- func (p *RelationServiceFollowActionResult) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceFollowActionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *RelationServiceFollowActionResult) String() string
- func (p *RelationServiceFollowActionResult) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceGetFollowListArgs
- func (p *RelationServiceGetFollowListArgs) GetRequest() (v *RelationListRequest)
- func (p *RelationServiceGetFollowListArgs) IsSetRequest() bool
- func (p *RelationServiceGetFollowListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceGetFollowListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationServiceGetFollowListArgs) String() string
- func (p *RelationServiceGetFollowListArgs) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceGetFollowListResult
- func (p *RelationServiceGetFollowListResult) GetSuccess() (v *RelationListResponse)
- func (p *RelationServiceGetFollowListResult) IsSetSuccess() bool
- func (p *RelationServiceGetFollowListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceGetFollowListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *RelationServiceGetFollowListResult) String() string
- func (p *RelationServiceGetFollowListResult) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceGetFollowerListArgs
- func (p *RelationServiceGetFollowerListArgs) GetRequest() (v *RelationListRequest)
- func (p *RelationServiceGetFollowerListArgs) IsSetRequest() bool
- func (p *RelationServiceGetFollowerListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceGetFollowerListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationServiceGetFollowerListArgs) String() string
- func (p *RelationServiceGetFollowerListArgs) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceGetFollowerListResult
- func (p *RelationServiceGetFollowerListResult) GetSuccess() (v *RelationListResponse)
- func (p *RelationServiceGetFollowerListResult) IsSetSuccess() bool
- func (p *RelationServiceGetFollowerListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceGetFollowerListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *RelationServiceGetFollowerListResult) String() string
- func (p *RelationServiceGetFollowerListResult) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceGetFriendListArgs
- func (p *RelationServiceGetFriendListArgs) GetRequest() (v *RelationListRequest)
- func (p *RelationServiceGetFriendListArgs) IsSetRequest() bool
- func (p *RelationServiceGetFriendListArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceGetFriendListArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *RelationServiceGetFriendListArgs) String() string
- func (p *RelationServiceGetFriendListArgs) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceGetFriendListResult
- func (p *RelationServiceGetFriendListResult) GetSuccess() (v *RelationListResponse)
- func (p *RelationServiceGetFriendListResult) IsSetSuccess() bool
- func (p *RelationServiceGetFriendListResult) Read(iprot thrift.TProtocol) (err error)
- func (p *RelationServiceGetFriendListResult) ReadField0(iprot thrift.TProtocol) error
- func (p *RelationServiceGetFriendListResult) String() string
- func (p *RelationServiceGetFriendListResult) Write(oprot thrift.TProtocol) (err error)
- type RelationServiceProcessor
- func (p *RelationServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *RelationServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *RelationServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *RelationServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type UserInfo
- func (p *UserInfo) GetAvatar() (v string)
- func (p *UserInfo) GetBackgroundImage() (v string)
- func (p *UserInfo) GetFavoriteCount() (v int64)
- func (p *UserInfo) GetFollowCount() (v int64)
- func (p *UserInfo) GetFollowerCount() (v int64)
- func (p *UserInfo) GetID() (v int64)
- func (p *UserInfo) GetIsFollow() (v bool)
- func (p *UserInfo) GetName() (v string)
- func (p *UserInfo) GetSignature() (v string)
- func (p *UserInfo) GetTotalFavorited() (v int64)
- func (p *UserInfo) GetWorkCount() (v int64)
- func (p *UserInfo) IsSetAvatar() bool
- func (p *UserInfo) IsSetBackgroundImage() bool
- func (p *UserInfo) IsSetFavoriteCount() bool
- func (p *UserInfo) IsSetSignature() bool
- func (p *UserInfo) IsSetTotalFavorited() bool
- func (p *UserInfo) IsSetWorkCount() bool
- func (p *UserInfo) Read(iprot thrift.TProtocol) (err error)
- func (p *UserInfo) ReadField1(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField10(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField11(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField2(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField3(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField4(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField5(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField6(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField7(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField8(iprot thrift.TProtocol) error
- func (p *UserInfo) ReadField9(iprot thrift.TProtocol) error
- func (p *UserInfo) String() string
- func (p *UserInfo) Write(oprot thrift.TProtocol) (err error)
- type UserInfoRequest
- func (p *UserInfoRequest) GetToken() (v string)
- func (p *UserInfoRequest) GetUserID() (v string)
- func (p *UserInfoRequest) Read(iprot thrift.TProtocol) (err error)
- func (p *UserInfoRequest) ReadField1(iprot thrift.TProtocol) error
- func (p *UserInfoRequest) ReadField2(iprot thrift.TProtocol) error
- func (p *UserInfoRequest) String() string
- func (p *UserInfoRequest) Write(oprot thrift.TProtocol) (err error)
- type UserInfoResponse
- func (p *UserInfoResponse) GetStatusCode() (v int64)
- func (p *UserInfoResponse) GetStatusMsg() (v string)
- func (p *UserInfoResponse) GetUser() (v *UserInfo)
- func (p *UserInfoResponse) IsSetStatusMsg() bool
- func (p *UserInfoResponse) IsSetUser() bool
- func (p *UserInfoResponse) Read(iprot thrift.TProtocol) (err error)
- func (p *UserInfoResponse) ReadField1(iprot thrift.TProtocol) error
- func (p *UserInfoResponse) ReadField2(iprot thrift.TProtocol) error
- func (p *UserInfoResponse) ReadField3(iprot thrift.TProtocol) error
- func (p *UserInfoResponse) String() string
- func (p *UserInfoResponse) Write(oprot thrift.TProtocol) (err error)
- type UserService
- type UserServiceClient
- func (p *UserServiceClient) Client_() thrift.TClient
- func (p *UserServiceClient) GetUserInfo(ctx context.Context, request *UserInfoRequest) (r *UserInfoResponse, err error)
- func (p *UserServiceClient) UserLogin(ctx context.Context, request *LoginRequest) (r *LoginResponse, err error)
- func (p *UserServiceClient) UserRegister(ctx context.Context, request *RegisterRequest) (r *RegisterResponse, err error)
- type UserServiceGetUserInfoArgs
- func (p *UserServiceGetUserInfoArgs) GetRequest() (v *UserInfoRequest)
- func (p *UserServiceGetUserInfoArgs) IsSetRequest() bool
- func (p *UserServiceGetUserInfoArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceGetUserInfoArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceGetUserInfoArgs) String() string
- func (p *UserServiceGetUserInfoArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceGetUserInfoResult
- func (p *UserServiceGetUserInfoResult) GetSuccess() (v *UserInfoResponse)
- func (p *UserServiceGetUserInfoResult) IsSetSuccess() bool
- func (p *UserServiceGetUserInfoResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceGetUserInfoResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceGetUserInfoResult) String() string
- func (p *UserServiceGetUserInfoResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceProcessor
- func (p *UserServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *UserServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *UserServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *UserServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type UserServiceUserLoginArgs
- func (p *UserServiceUserLoginArgs) GetRequest() (v *LoginRequest)
- func (p *UserServiceUserLoginArgs) IsSetRequest() bool
- func (p *UserServiceUserLoginArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserLoginArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceUserLoginArgs) String() string
- func (p *UserServiceUserLoginArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserLoginResult
- func (p *UserServiceUserLoginResult) GetSuccess() (v *LoginResponse)
- func (p *UserServiceUserLoginResult) IsSetSuccess() bool
- func (p *UserServiceUserLoginResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserLoginResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceUserLoginResult) String() string
- func (p *UserServiceUserLoginResult) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserRegisterArgs
- func (p *UserServiceUserRegisterArgs) GetRequest() (v *RegisterRequest)
- func (p *UserServiceUserRegisterArgs) IsSetRequest() bool
- func (p *UserServiceUserRegisterArgs) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserRegisterArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *UserServiceUserRegisterArgs) String() string
- func (p *UserServiceUserRegisterArgs) Write(oprot thrift.TProtocol) (err error)
- type UserServiceUserRegisterResult
- func (p *UserServiceUserRegisterResult) GetSuccess() (v *RegisterResponse)
- func (p *UserServiceUserRegisterResult) IsSetSuccess() bool
- func (p *UserServiceUserRegisterResult) Read(iprot thrift.TProtocol) (err error)
- func (p *UserServiceUserRegisterResult) ReadField0(iprot thrift.TProtocol) error
- func (p *UserServiceUserRegisterResult) String() string
- func (p *UserServiceUserRegisterResult) Write(oprot thrift.TProtocol) (err error)
- type VideoInfo
- func (p *VideoInfo) GetAuthor() (v *UserInfo)
- func (p *VideoInfo) GetCommentCount() (v int64)
- func (p *VideoInfo) GetCoverURL() (v string)
- func (p *VideoInfo) GetFavoriteCount() (v int64)
- func (p *VideoInfo) GetID() (v int64)
- func (p *VideoInfo) GetIsFavorite() (v bool)
- func (p *VideoInfo) GetPlayURL() (v string)
- func (p *VideoInfo) GetTitle() (v string)
- func (p *VideoInfo) IsSetAuthor() bool
- func (p *VideoInfo) Read(iprot thrift.TProtocol) (err error)
- func (p *VideoInfo) ReadField1(iprot thrift.TProtocol) error
- func (p *VideoInfo) ReadField2(iprot thrift.TProtocol) error
- func (p *VideoInfo) ReadField3(iprot thrift.TProtocol) error
- func (p *VideoInfo) ReadField4(iprot thrift.TProtocol) error
- func (p *VideoInfo) ReadField5(iprot thrift.TProtocol) error
- func (p *VideoInfo) ReadField6(iprot thrift.TProtocol) error
- func (p *VideoInfo) ReadField7(iprot thrift.TProtocol) error
- func (p *VideoInfo) ReadField8(iprot thrift.TProtocol) error
- func (p *VideoInfo) String() string
- func (p *VideoInfo) Write(oprot thrift.TProtocol) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ChatRecordResponse_MessageList_DEFAULT []*MessageInfo
View Source
var ChatRecordResponse_StatusMsg_DEFAULT string
View Source
var CommentListResponse_CommentList_DEFAULT []*CommentInfo
View Source
var CommentListResponse_StatusMsg_DEFAULT string
View Source
var CommentRequest_CommentID_DEFAULT string
View Source
var CommentRequest_CommentText_DEFAULT string
View Source
var CommentResponse_StatusMsg_DEFAULT string
View Source
var FeedRequest_LatestTime_DEFAULT string
View Source
var FeedRequest_Token_DEFAULT string
View Source
var FeedResponse_NextTime_DEFAULT int64
View Source
var FeedResponse_StatusMsg_DEFAULT string
View Source
var FeedResponse_VideoList_DEFAULT []*VideoInfo
View Source
var LikeListResponse_StatusMsg_DEFAULT string
View Source
var LikeListResponse_VideoList_DEFAULT []*VideoInfo
View Source
var LoginResponse_StatusMsg_DEFAULT string
View Source
var LoginResponse_Token_DEFAULT string
View Source
var LoginResponse_UserID_DEFAULT int64
View Source
var MessageInfo_CreateTime_DEFAULT int64
View Source
var PublishListResponse_StatusMsg_DEFAULT string
View Source
var PublishListResponse_VideoList_DEFAULT []*VideoInfo
View Source
var PublishResponse_StatusMsg_DEFAULT string
View Source
var RelationListResponse_StatusMsg_DEFAULT string
View Source
var RelationListResponse_UserList_DEFAULT []*UserInfo
View Source
var UserInfoResponse_StatusMsg_DEFAULT string
View Source
var UserInfo_Avatar_DEFAULT string
View Source
var UserInfo_BackgroundImage_DEFAULT string
View Source
var UserInfo_FavoriteCount_DEFAULT int64
View Source
var UserInfo_Signature_DEFAULT string
View Source
var UserInfo_TotalFavorited_DEFAULT int64
View Source
var UserInfo_WorkCount_DEFAULT int64
Functions ¶
This section is empty.
Types ¶
type ChatRecordRequest ¶
type ChatRecordRequest struct { Token string `thrift:"token,1" json:"token" query:"token"` ToUserID int64 `thrift:"to_user_id,2" json:"to_user_id" query:"to_user_id"` PreMsgTime int64 `thrift:"pre_msg_time,3" json:"pre_msg_time" query:"pre_msg_time"` }
var MessageServiceGetChatRecordArgs_Request_DEFAULT *ChatRecordRequest
func NewChatRecordRequest ¶
func NewChatRecordRequest() *ChatRecordRequest
func (*ChatRecordRequest) GetPreMsgTime ¶
func (p *ChatRecordRequest) GetPreMsgTime() (v int64)
func (*ChatRecordRequest) GetToUserID ¶
func (p *ChatRecordRequest) GetToUserID() (v int64)
func (*ChatRecordRequest) GetToken ¶
func (p *ChatRecordRequest) GetToken() (v string)
func (*ChatRecordRequest) Read ¶
func (p *ChatRecordRequest) Read(iprot thrift.TProtocol) (err error)
func (*ChatRecordRequest) ReadField1 ¶
func (p *ChatRecordRequest) ReadField1(iprot thrift.TProtocol) error
func (*ChatRecordRequest) ReadField2 ¶
func (p *ChatRecordRequest) ReadField2(iprot thrift.TProtocol) error
func (*ChatRecordRequest) ReadField3 ¶
func (p *ChatRecordRequest) ReadField3(iprot thrift.TProtocol) error
func (*ChatRecordRequest) String ¶
func (p *ChatRecordRequest) String() string
type ChatRecordResponse ¶
type ChatRecordResponse struct { StatusCode int64 `thrift:"status_code,1" form:"status_code" json:"status_code" query:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" form:"status_msg" json:"status_msg,omitempty" query:"status_msg"` MessageList []*MessageInfo `thrift:"message_list,3,optional" form:"message_list" json:"message_list,omitempty" query:"message_list"` }
var MessageServiceGetChatRecordResult_Success_DEFAULT *ChatRecordResponse
func NewChatRecordResponse ¶
func NewChatRecordResponse() *ChatRecordResponse
func (*ChatRecordResponse) GetMessageList ¶
func (p *ChatRecordResponse) GetMessageList() (v []*MessageInfo)
func (*ChatRecordResponse) GetStatusCode ¶
func (p *ChatRecordResponse) GetStatusCode() (v int64)
func (*ChatRecordResponse) GetStatusMsg ¶
func (p *ChatRecordResponse) GetStatusMsg() (v string)
func (*ChatRecordResponse) IsSetMessageList ¶
func (p *ChatRecordResponse) IsSetMessageList() bool
func (*ChatRecordResponse) IsSetStatusMsg ¶
func (p *ChatRecordResponse) IsSetStatusMsg() bool
func (*ChatRecordResponse) Read ¶
func (p *ChatRecordResponse) Read(iprot thrift.TProtocol) (err error)
func (*ChatRecordResponse) ReadField1 ¶
func (p *ChatRecordResponse) ReadField1(iprot thrift.TProtocol) error
func (*ChatRecordResponse) ReadField2 ¶
func (p *ChatRecordResponse) ReadField2(iprot thrift.TProtocol) error
func (*ChatRecordResponse) ReadField3 ¶
func (p *ChatRecordResponse) ReadField3(iprot thrift.TProtocol) error
func (*ChatRecordResponse) String ¶
func (p *ChatRecordResponse) String() string
type CommentInfo ¶
type CommentInfo struct { ID int64 `thrift:"id,1" form:"id" json:"id" query:"id"` User *UserInfo `thrift:"user,2" form:"user" json:"user" query:"user"` Content string `thrift:"content,3" form:"content" json:"content" query:"content"` CreateDate string `thrift:"create_date,4" form:"create_date" json:"create_date" query:"create_date"` }
var CommentResponse_Comment_DEFAULT *CommentInfo
func NewCommentInfo ¶
func NewCommentInfo() *CommentInfo
func (*CommentInfo) GetContent ¶
func (p *CommentInfo) GetContent() (v string)
func (*CommentInfo) GetCreateDate ¶
func (p *CommentInfo) GetCreateDate() (v string)
func (*CommentInfo) GetID ¶
func (p *CommentInfo) GetID() (v int64)
func (*CommentInfo) GetUser ¶
func (p *CommentInfo) GetUser() (v *UserInfo)
func (*CommentInfo) IsSetUser ¶
func (p *CommentInfo) IsSetUser() bool
func (*CommentInfo) ReadField1 ¶
func (p *CommentInfo) ReadField1(iprot thrift.TProtocol) error
func (*CommentInfo) ReadField2 ¶
func (p *CommentInfo) ReadField2(iprot thrift.TProtocol) error
func (*CommentInfo) ReadField3 ¶
func (p *CommentInfo) ReadField3(iprot thrift.TProtocol) error
func (*CommentInfo) ReadField4 ¶
func (p *CommentInfo) ReadField4(iprot thrift.TProtocol) error
func (*CommentInfo) String ¶
func (p *CommentInfo) String() string
type CommentListRequest ¶
type CommentListRequest struct { Token string `thrift:"token,1" json:"token" query:"token"` VideoID string `thrift:"video_id,2" json:"video_id" query:"video_id"` }
var CommentServiceGetCommentListArgs_Request_DEFAULT *CommentListRequest
func NewCommentListRequest ¶
func NewCommentListRequest() *CommentListRequest
func (*CommentListRequest) GetToken ¶
func (p *CommentListRequest) GetToken() (v string)
func (*CommentListRequest) GetVideoID ¶
func (p *CommentListRequest) GetVideoID() (v string)
func (*CommentListRequest) Read ¶
func (p *CommentListRequest) Read(iprot thrift.TProtocol) (err error)
func (*CommentListRequest) ReadField1 ¶
func (p *CommentListRequest) ReadField1(iprot thrift.TProtocol) error
func (*CommentListRequest) ReadField2 ¶
func (p *CommentListRequest) ReadField2(iprot thrift.TProtocol) error
func (*CommentListRequest) String ¶
func (p *CommentListRequest) String() string
type CommentListResponse ¶
type CommentListResponse struct { StatusCode int64 `thrift:"status_code,1" form:"status_code" json:"status_code" query:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" form:"status_msg" json:"status_msg,omitempty" query:"status_msg"` CommentList []*CommentInfo `thrift:"comment_list,4,optional" form:"comment_list" json:"comment_list,omitempty" query:"comment_list"` }
var CommentServiceGetCommentListResult_Success_DEFAULT *CommentListResponse
func NewCommentListResponse ¶
func NewCommentListResponse() *CommentListResponse
func (*CommentListResponse) GetCommentList ¶
func (p *CommentListResponse) GetCommentList() (v []*CommentInfo)
func (*CommentListResponse) GetStatusCode ¶
func (p *CommentListResponse) GetStatusCode() (v int64)
func (*CommentListResponse) GetStatusMsg ¶
func (p *CommentListResponse) GetStatusMsg() (v string)
func (*CommentListResponse) IsSetCommentList ¶
func (p *CommentListResponse) IsSetCommentList() bool
func (*CommentListResponse) IsSetStatusMsg ¶
func (p *CommentListResponse) IsSetStatusMsg() bool
func (*CommentListResponse) Read ¶
func (p *CommentListResponse) Read(iprot thrift.TProtocol) (err error)
func (*CommentListResponse) ReadField1 ¶
func (p *CommentListResponse) ReadField1(iprot thrift.TProtocol) error
func (*CommentListResponse) ReadField2 ¶
func (p *CommentListResponse) ReadField2(iprot thrift.TProtocol) error
func (*CommentListResponse) ReadField4 ¶
func (p *CommentListResponse) ReadField4(iprot thrift.TProtocol) error
func (*CommentListResponse) String ¶
func (p *CommentListResponse) String() string
type CommentRequest ¶
type CommentRequest struct { Token string `thrift:"token,1" json:"token" query:"token"` VideoID string `thrift:"video_id,2" json:"video_id" query:"video_id"` ActionType string `thrift:"action_type,3" json:"action_type" query:"action_type"` CommentText *string `thrift:"comment_text,4,optional" json:"comment_text,omitempty" query:"comment_text"` CommentID *string `thrift:"comment_id,5,optional" json:"comment_id,omitempty" query:"comment_id"` }
var CommentServiceCommentActionArgs_Request_DEFAULT *CommentRequest
func NewCommentRequest ¶
func NewCommentRequest() *CommentRequest
func (*CommentRequest) GetActionType ¶
func (p *CommentRequest) GetActionType() (v string)
func (*CommentRequest) GetCommentID ¶
func (p *CommentRequest) GetCommentID() (v string)
func (*CommentRequest) GetCommentText ¶
func (p *CommentRequest) GetCommentText() (v string)
func (*CommentRequest) GetToken ¶
func (p *CommentRequest) GetToken() (v string)
func (*CommentRequest) GetVideoID ¶
func (p *CommentRequest) GetVideoID() (v string)
func (*CommentRequest) IsSetCommentID ¶
func (p *CommentRequest) IsSetCommentID() bool
func (*CommentRequest) IsSetCommentText ¶
func (p *CommentRequest) IsSetCommentText() bool
func (*CommentRequest) ReadField1 ¶
func (p *CommentRequest) ReadField1(iprot thrift.TProtocol) error
func (*CommentRequest) ReadField2 ¶
func (p *CommentRequest) ReadField2(iprot thrift.TProtocol) error
func (*CommentRequest) ReadField3 ¶
func (p *CommentRequest) ReadField3(iprot thrift.TProtocol) error
func (*CommentRequest) ReadField4 ¶
func (p *CommentRequest) ReadField4(iprot thrift.TProtocol) error
func (*CommentRequest) ReadField5 ¶
func (p *CommentRequest) ReadField5(iprot thrift.TProtocol) error
func (*CommentRequest) String ¶
func (p *CommentRequest) String() string
type CommentResponse ¶
type CommentResponse struct { StatusCode int64 `thrift:"status_code,1" form:"status_code" json:"status_code" query:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" form:"status_msg" json:"status_msg,omitempty" query:"status_msg"` Comment *CommentInfo `thrift:"comment,3,optional" form:"comment" json:"comment,omitempty" query:"comment"` }
var CommentServiceCommentActionResult_Success_DEFAULT *CommentResponse
func NewCommentResponse ¶
func NewCommentResponse() *CommentResponse
func (*CommentResponse) GetComment ¶
func (p *CommentResponse) GetComment() (v *CommentInfo)
func (*CommentResponse) GetStatusCode ¶
func (p *CommentResponse) GetStatusCode() (v int64)
func (*CommentResponse) GetStatusMsg ¶
func (p *CommentResponse) GetStatusMsg() (v string)
func (*CommentResponse) IsSetComment ¶
func (p *CommentResponse) IsSetComment() bool
func (*CommentResponse) IsSetStatusMsg ¶
func (p *CommentResponse) IsSetStatusMsg() bool
func (*CommentResponse) ReadField1 ¶
func (p *CommentResponse) ReadField1(iprot thrift.TProtocol) error
func (*CommentResponse) ReadField2 ¶
func (p *CommentResponse) ReadField2(iprot thrift.TProtocol) error
func (*CommentResponse) ReadField3 ¶
func (p *CommentResponse) ReadField3(iprot thrift.TProtocol) error
func (*CommentResponse) String ¶
func (p *CommentResponse) String() string
type CommentService ¶
type CommentService interface { CommentAction(ctx context.Context, request *CommentRequest) (r *CommentResponse, err error) GetCommentList(ctx context.Context, request *CommentListRequest) (r *CommentListResponse, err error) }
type CommentServiceClient ¶
type CommentServiceClient struct {
// contains filtered or unexported fields
}
func NewCommentServiceClient ¶
func NewCommentServiceClient(c thrift.TClient) *CommentServiceClient
func NewCommentServiceClientFactory ¶
func NewCommentServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *CommentServiceClient
func NewCommentServiceClientProtocol ¶
func NewCommentServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *CommentServiceClient
func (*CommentServiceClient) Client_ ¶
func (p *CommentServiceClient) Client_() thrift.TClient
func (*CommentServiceClient) CommentAction ¶
func (p *CommentServiceClient) CommentAction(ctx context.Context, request *CommentRequest) (r *CommentResponse, err error)
func (*CommentServiceClient) GetCommentList ¶
func (p *CommentServiceClient) GetCommentList(ctx context.Context, request *CommentListRequest) (r *CommentListResponse, err error)
type CommentServiceCommentActionArgs ¶
type CommentServiceCommentActionArgs struct {
Request *CommentRequest `thrift:"request,1"`
}
func NewCommentServiceCommentActionArgs ¶
func NewCommentServiceCommentActionArgs() *CommentServiceCommentActionArgs
func (*CommentServiceCommentActionArgs) GetRequest ¶
func (p *CommentServiceCommentActionArgs) GetRequest() (v *CommentRequest)
func (*CommentServiceCommentActionArgs) IsSetRequest ¶
func (p *CommentServiceCommentActionArgs) IsSetRequest() bool
func (*CommentServiceCommentActionArgs) Read ¶
func (p *CommentServiceCommentActionArgs) Read(iprot thrift.TProtocol) (err error)
func (*CommentServiceCommentActionArgs) ReadField1 ¶
func (p *CommentServiceCommentActionArgs) ReadField1(iprot thrift.TProtocol) error
func (*CommentServiceCommentActionArgs) String ¶
func (p *CommentServiceCommentActionArgs) String() string
type CommentServiceCommentActionResult ¶
type CommentServiceCommentActionResult struct {
Success *CommentResponse `thrift:"success,0,optional"`
}
func NewCommentServiceCommentActionResult ¶
func NewCommentServiceCommentActionResult() *CommentServiceCommentActionResult
func (*CommentServiceCommentActionResult) GetSuccess ¶
func (p *CommentServiceCommentActionResult) GetSuccess() (v *CommentResponse)
func (*CommentServiceCommentActionResult) IsSetSuccess ¶
func (p *CommentServiceCommentActionResult) IsSetSuccess() bool
func (*CommentServiceCommentActionResult) Read ¶
func (p *CommentServiceCommentActionResult) Read(iprot thrift.TProtocol) (err error)
func (*CommentServiceCommentActionResult) ReadField0 ¶
func (p *CommentServiceCommentActionResult) ReadField0(iprot thrift.TProtocol) error
func (*CommentServiceCommentActionResult) String ¶
func (p *CommentServiceCommentActionResult) String() string
type CommentServiceGetCommentListArgs ¶
type CommentServiceGetCommentListArgs struct {
Request *CommentListRequest `thrift:"request,1"`
}
func NewCommentServiceGetCommentListArgs ¶
func NewCommentServiceGetCommentListArgs() *CommentServiceGetCommentListArgs
func (*CommentServiceGetCommentListArgs) GetRequest ¶
func (p *CommentServiceGetCommentListArgs) GetRequest() (v *CommentListRequest)
func (*CommentServiceGetCommentListArgs) IsSetRequest ¶
func (p *CommentServiceGetCommentListArgs) IsSetRequest() bool
func (*CommentServiceGetCommentListArgs) Read ¶
func (p *CommentServiceGetCommentListArgs) Read(iprot thrift.TProtocol) (err error)
func (*CommentServiceGetCommentListArgs) ReadField1 ¶
func (p *CommentServiceGetCommentListArgs) ReadField1(iprot thrift.TProtocol) error
func (*CommentServiceGetCommentListArgs) String ¶
func (p *CommentServiceGetCommentListArgs) String() string
type CommentServiceGetCommentListResult ¶
type CommentServiceGetCommentListResult struct {
Success *CommentListResponse `thrift:"success,0,optional"`
}
func NewCommentServiceGetCommentListResult ¶
func NewCommentServiceGetCommentListResult() *CommentServiceGetCommentListResult
func (*CommentServiceGetCommentListResult) GetSuccess ¶
func (p *CommentServiceGetCommentListResult) GetSuccess() (v *CommentListResponse)
func (*CommentServiceGetCommentListResult) IsSetSuccess ¶
func (p *CommentServiceGetCommentListResult) IsSetSuccess() bool
func (*CommentServiceGetCommentListResult) Read ¶
func (p *CommentServiceGetCommentListResult) Read(iprot thrift.TProtocol) (err error)
func (*CommentServiceGetCommentListResult) ReadField0 ¶
func (p *CommentServiceGetCommentListResult) ReadField0(iprot thrift.TProtocol) error
func (*CommentServiceGetCommentListResult) String ¶
func (p *CommentServiceGetCommentListResult) String() string
type CommentServiceProcessor ¶
type CommentServiceProcessor struct {
// contains filtered or unexported fields
}
func NewCommentServiceProcessor ¶
func NewCommentServiceProcessor(handler CommentService) *CommentServiceProcessor
func (*CommentServiceProcessor) AddToProcessorMap ¶
func (p *CommentServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*CommentServiceProcessor) GetProcessorFunction ¶
func (p *CommentServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*CommentServiceProcessor) Process ¶
func (p *CommentServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*CommentServiceProcessor) ProcessorMap ¶
func (p *CommentServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type FavoriteService ¶
type FavoriteService interface { LikeAction(ctx context.Context, request *LikeRequest) (r *LikeResponse, err error) GetLikeList(ctx context.Context, request *LikeListRequest) (r *LikeListResponse, err error) }
type FavoriteServiceClient ¶
type FavoriteServiceClient struct {
// contains filtered or unexported fields
}
func NewFavoriteServiceClient ¶
func NewFavoriteServiceClient(c thrift.TClient) *FavoriteServiceClient
func NewFavoriteServiceClientFactory ¶
func NewFavoriteServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *FavoriteServiceClient
func NewFavoriteServiceClientProtocol ¶
func NewFavoriteServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *FavoriteServiceClient
func (*FavoriteServiceClient) Client_ ¶
func (p *FavoriteServiceClient) Client_() thrift.TClient
func (*FavoriteServiceClient) GetLikeList ¶
func (p *FavoriteServiceClient) GetLikeList(ctx context.Context, request *LikeListRequest) (r *LikeListResponse, err error)
func (*FavoriteServiceClient) LikeAction ¶
func (p *FavoriteServiceClient) LikeAction(ctx context.Context, request *LikeRequest) (r *LikeResponse, err error)
type FavoriteServiceGetLikeListArgs ¶
type FavoriteServiceGetLikeListArgs struct {
Request *LikeListRequest `thrift:"request,1"`
}
func NewFavoriteServiceGetLikeListArgs ¶
func NewFavoriteServiceGetLikeListArgs() *FavoriteServiceGetLikeListArgs
func (*FavoriteServiceGetLikeListArgs) GetRequest ¶
func (p *FavoriteServiceGetLikeListArgs) GetRequest() (v *LikeListRequest)
func (*FavoriteServiceGetLikeListArgs) IsSetRequest ¶
func (p *FavoriteServiceGetLikeListArgs) IsSetRequest() bool
func (*FavoriteServiceGetLikeListArgs) Read ¶
func (p *FavoriteServiceGetLikeListArgs) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceGetLikeListArgs) ReadField1 ¶
func (p *FavoriteServiceGetLikeListArgs) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteServiceGetLikeListArgs) String ¶
func (p *FavoriteServiceGetLikeListArgs) String() string
type FavoriteServiceGetLikeListResult ¶
type FavoriteServiceGetLikeListResult struct {
Success *LikeListResponse `thrift:"success,0,optional"`
}
func NewFavoriteServiceGetLikeListResult ¶
func NewFavoriteServiceGetLikeListResult() *FavoriteServiceGetLikeListResult
func (*FavoriteServiceGetLikeListResult) GetSuccess ¶
func (p *FavoriteServiceGetLikeListResult) GetSuccess() (v *LikeListResponse)
func (*FavoriteServiceGetLikeListResult) IsSetSuccess ¶
func (p *FavoriteServiceGetLikeListResult) IsSetSuccess() bool
func (*FavoriteServiceGetLikeListResult) Read ¶
func (p *FavoriteServiceGetLikeListResult) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceGetLikeListResult) ReadField0 ¶
func (p *FavoriteServiceGetLikeListResult) ReadField0(iprot thrift.TProtocol) error
func (*FavoriteServiceGetLikeListResult) String ¶
func (p *FavoriteServiceGetLikeListResult) String() string
type FavoriteServiceLikeActionArgs ¶
type FavoriteServiceLikeActionArgs struct {
Request *LikeRequest `thrift:"request,1"`
}
func NewFavoriteServiceLikeActionArgs ¶
func NewFavoriteServiceLikeActionArgs() *FavoriteServiceLikeActionArgs
func (*FavoriteServiceLikeActionArgs) GetRequest ¶
func (p *FavoriteServiceLikeActionArgs) GetRequest() (v *LikeRequest)
func (*FavoriteServiceLikeActionArgs) IsSetRequest ¶
func (p *FavoriteServiceLikeActionArgs) IsSetRequest() bool
func (*FavoriteServiceLikeActionArgs) Read ¶
func (p *FavoriteServiceLikeActionArgs) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceLikeActionArgs) ReadField1 ¶
func (p *FavoriteServiceLikeActionArgs) ReadField1(iprot thrift.TProtocol) error
func (*FavoriteServiceLikeActionArgs) String ¶
func (p *FavoriteServiceLikeActionArgs) String() string
type FavoriteServiceLikeActionResult ¶
type FavoriteServiceLikeActionResult struct {
Success *LikeResponse `thrift:"success,0,optional"`
}
func NewFavoriteServiceLikeActionResult ¶
func NewFavoriteServiceLikeActionResult() *FavoriteServiceLikeActionResult
func (*FavoriteServiceLikeActionResult) GetSuccess ¶
func (p *FavoriteServiceLikeActionResult) GetSuccess() (v *LikeResponse)
func (*FavoriteServiceLikeActionResult) IsSetSuccess ¶
func (p *FavoriteServiceLikeActionResult) IsSetSuccess() bool
func (*FavoriteServiceLikeActionResult) Read ¶
func (p *FavoriteServiceLikeActionResult) Read(iprot thrift.TProtocol) (err error)
func (*FavoriteServiceLikeActionResult) ReadField0 ¶
func (p *FavoriteServiceLikeActionResult) ReadField0(iprot thrift.TProtocol) error
func (*FavoriteServiceLikeActionResult) String ¶
func (p *FavoriteServiceLikeActionResult) String() string
type FavoriteServiceProcessor ¶
type FavoriteServiceProcessor struct {
// contains filtered or unexported fields
}
func NewFavoriteServiceProcessor ¶
func NewFavoriteServiceProcessor(handler FavoriteService) *FavoriteServiceProcessor
func (*FavoriteServiceProcessor) AddToProcessorMap ¶
func (p *FavoriteServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*FavoriteServiceProcessor) GetProcessorFunction ¶
func (p *FavoriteServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*FavoriteServiceProcessor) Process ¶
func (p *FavoriteServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*FavoriteServiceProcessor) ProcessorMap ¶
func (p *FavoriteServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type FeedRequest ¶
type FeedRequest struct { LatestTime *string `thrift:"latest_time,1,optional" form:"latest_time" json:"latest_time,omitempty" query:"latest_time"` Token *string `thrift:"token,2,optional" form:"token" json:"token,omitempty" query:"token"` }
var FeedServiceGetVideoListArgs_Request_DEFAULT *FeedRequest
func NewFeedRequest ¶
func NewFeedRequest() *FeedRequest
func (*FeedRequest) GetLatestTime ¶
func (p *FeedRequest) GetLatestTime() (v string)
func (*FeedRequest) GetToken ¶
func (p *FeedRequest) GetToken() (v string)
func (*FeedRequest) IsSetLatestTime ¶
func (p *FeedRequest) IsSetLatestTime() bool
func (*FeedRequest) IsSetToken ¶
func (p *FeedRequest) IsSetToken() bool
func (*FeedRequest) ReadField1 ¶
func (p *FeedRequest) ReadField1(iprot thrift.TProtocol) error
func (*FeedRequest) ReadField2 ¶
func (p *FeedRequest) ReadField2(iprot thrift.TProtocol) error
func (*FeedRequest) String ¶
func (p *FeedRequest) String() string
type FeedResponse ¶
type FeedResponse struct { StatusCode int32 `thrift:"status_code,1" form:"status_code" json:"status_code" query:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" form:"status_msg" json:"status_msg,omitempty" query:"status_msg"` NextTime *int64 `thrift:"next_time,3,optional" form:"next_time" json:"next_time,omitempty" query:"next_time"` VideoList []*VideoInfo `thrift:"video_list,4,optional" form:"video_list" json:"video_list,omitempty" query:"video_list"` }
var FeedServiceGetVideoListResult_Success_DEFAULT *FeedResponse
func NewFeedResponse ¶
func NewFeedResponse() *FeedResponse
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 []*VideoInfo)
func (*FeedResponse) IsSetNextTime ¶
func (p *FeedResponse) IsSetNextTime() bool
func (*FeedResponse) IsSetStatusMsg ¶
func (p *FeedResponse) IsSetStatusMsg() bool
func (*FeedResponse) IsSetVideoList ¶
func (p *FeedResponse) IsSetVideoList() 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) String ¶
func (p *FeedResponse) String() string
type FeedService ¶
type FeedService interface {
GetVideoList(ctx context.Context, request *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) GetVideoList ¶
func (p *FeedServiceClient) GetVideoList(ctx context.Context, request *FeedRequest) (r *FeedResponse, err error)
type FeedServiceGetVideoListArgs ¶
type FeedServiceGetVideoListArgs struct {
Request *FeedRequest `thrift:"request,1"`
}
func NewFeedServiceGetVideoListArgs ¶
func NewFeedServiceGetVideoListArgs() *FeedServiceGetVideoListArgs
func (*FeedServiceGetVideoListArgs) GetRequest ¶
func (p *FeedServiceGetVideoListArgs) GetRequest() (v *FeedRequest)
func (*FeedServiceGetVideoListArgs) IsSetRequest ¶
func (p *FeedServiceGetVideoListArgs) IsSetRequest() bool
func (*FeedServiceGetVideoListArgs) Read ¶
func (p *FeedServiceGetVideoListArgs) Read(iprot thrift.TProtocol) (err error)
func (*FeedServiceGetVideoListArgs) ReadField1 ¶
func (p *FeedServiceGetVideoListArgs) ReadField1(iprot thrift.TProtocol) error
func (*FeedServiceGetVideoListArgs) String ¶
func (p *FeedServiceGetVideoListArgs) String() string
type FeedServiceGetVideoListResult ¶
type FeedServiceGetVideoListResult struct {
Success *FeedResponse `thrift:"success,0,optional"`
}
func NewFeedServiceGetVideoListResult ¶
func NewFeedServiceGetVideoListResult() *FeedServiceGetVideoListResult
func (*FeedServiceGetVideoListResult) GetSuccess ¶
func (p *FeedServiceGetVideoListResult) GetSuccess() (v *FeedResponse)
func (*FeedServiceGetVideoListResult) IsSetSuccess ¶
func (p *FeedServiceGetVideoListResult) IsSetSuccess() bool
func (*FeedServiceGetVideoListResult) Read ¶
func (p *FeedServiceGetVideoListResult) Read(iprot thrift.TProtocol) (err error)
func (*FeedServiceGetVideoListResult) ReadField0 ¶
func (p *FeedServiceGetVideoListResult) ReadField0(iprot thrift.TProtocol) error
func (*FeedServiceGetVideoListResult) String ¶
func (p *FeedServiceGetVideoListResult) 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 FollowRequest ¶
type FollowRequest struct { Token string `thrift:"token,1" json:"token" query:"token"` ToUserID string `thrift:"to_user_id,2" json:"to_user_id" query:"to_user_id"` ActionType string `thrift:"action_type,3" json:"action_type" query:"action_type"` }
var RelationServiceFollowActionArgs_Request_DEFAULT *FollowRequest
func NewFollowRequest ¶
func NewFollowRequest() *FollowRequest
func (*FollowRequest) GetActionType ¶
func (p *FollowRequest) GetActionType() (v string)
func (*FollowRequest) GetToUserID ¶
func (p *FollowRequest) GetToUserID() (v string)
func (*FollowRequest) GetToken ¶
func (p *FollowRequest) GetToken() (v string)
func (*FollowRequest) ReadField1 ¶
func (p *FollowRequest) ReadField1(iprot thrift.TProtocol) error
func (*FollowRequest) ReadField2 ¶
func (p *FollowRequest) ReadField2(iprot thrift.TProtocol) error
func (*FollowRequest) ReadField3 ¶
func (p *FollowRequest) ReadField3(iprot thrift.TProtocol) error
func (*FollowRequest) String ¶
func (p *FollowRequest) String() string
type FollowResponse ¶
type FollowResponse struct { StatusCode int64 `thrift:"status_code,1" form:"status_code" json:"status_code" query:"status_code"` StatusMsg string `thrift:"status_msg,2" form:"status_msg" json:"status_msg" query:"status_msg"` }
var RelationServiceFollowActionResult_Success_DEFAULT *FollowResponse
func NewFollowResponse ¶
func NewFollowResponse() *FollowResponse
func (*FollowResponse) GetStatusCode ¶
func (p *FollowResponse) GetStatusCode() (v int64)
func (*FollowResponse) GetStatusMsg ¶
func (p *FollowResponse) GetStatusMsg() (v string)
func (*FollowResponse) ReadField1 ¶
func (p *FollowResponse) ReadField1(iprot thrift.TProtocol) error
func (*FollowResponse) ReadField2 ¶
func (p *FollowResponse) ReadField2(iprot thrift.TProtocol) error
func (*FollowResponse) String ¶
func (p *FollowResponse) String() string
type LikeListRequest ¶
type LikeListRequest struct { UserID string `thrift:"user_id,1" json:"user_id" query:"user_id"` Token string `thrift:"token,2" json:"token" query:"token"` }
var FavoriteServiceGetLikeListArgs_Request_DEFAULT *LikeListRequest
func NewLikeListRequest ¶
func NewLikeListRequest() *LikeListRequest
func (*LikeListRequest) GetToken ¶
func (p *LikeListRequest) GetToken() (v string)
func (*LikeListRequest) GetUserID ¶
func (p *LikeListRequest) GetUserID() (v string)
func (*LikeListRequest) ReadField1 ¶
func (p *LikeListRequest) ReadField1(iprot thrift.TProtocol) error
func (*LikeListRequest) ReadField2 ¶
func (p *LikeListRequest) ReadField2(iprot thrift.TProtocol) error
func (*LikeListRequest) String ¶
func (p *LikeListRequest) String() string
type LikeListResponse ¶
type LikeListResponse struct { StatusCode int64 `thrift:"status_code,1" form:"status_code" json:"status_code" query:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" form:"status_msg" json:"status_msg,omitempty" query:"status_msg"` VideoList []*VideoInfo `thrift:"video_list,4,optional" form:"video_list" json:"video_list,omitempty" query:"video_list"` }
var FavoriteServiceGetLikeListResult_Success_DEFAULT *LikeListResponse
func NewLikeListResponse ¶
func NewLikeListResponse() *LikeListResponse
func (*LikeListResponse) GetStatusCode ¶
func (p *LikeListResponse) GetStatusCode() (v int64)
func (*LikeListResponse) GetStatusMsg ¶
func (p *LikeListResponse) GetStatusMsg() (v string)
func (*LikeListResponse) GetVideoList ¶
func (p *LikeListResponse) GetVideoList() (v []*VideoInfo)
func (*LikeListResponse) IsSetStatusMsg ¶
func (p *LikeListResponse) IsSetStatusMsg() bool
func (*LikeListResponse) IsSetVideoList ¶
func (p *LikeListResponse) IsSetVideoList() bool
func (*LikeListResponse) ReadField1 ¶
func (p *LikeListResponse) ReadField1(iprot thrift.TProtocol) error
func (*LikeListResponse) ReadField2 ¶
func (p *LikeListResponse) ReadField2(iprot thrift.TProtocol) error
func (*LikeListResponse) ReadField4 ¶
func (p *LikeListResponse) ReadField4(iprot thrift.TProtocol) error
func (*LikeListResponse) String ¶
func (p *LikeListResponse) String() string
type LikeRequest ¶
type LikeRequest struct { Token string `thrift:"token,1" json:"token" query:"token"` VideoID string `thrift:"video_id,2" json:"video_id" query:"video_id"` ActionType string `thrift:"action_type,3" json:"action_type" query:"action_type"` }
var FavoriteServiceLikeActionArgs_Request_DEFAULT *LikeRequest
func NewLikeRequest ¶
func NewLikeRequest() *LikeRequest
func (*LikeRequest) GetActionType ¶
func (p *LikeRequest) GetActionType() (v string)
func (*LikeRequest) GetToken ¶
func (p *LikeRequest) GetToken() (v string)
func (*LikeRequest) GetVideoID ¶
func (p *LikeRequest) GetVideoID() (v string)
func (*LikeRequest) ReadField1 ¶
func (p *LikeRequest) ReadField1(iprot thrift.TProtocol) error
func (*LikeRequest) ReadField2 ¶
func (p *LikeRequest) ReadField2(iprot thrift.TProtocol) error
func (*LikeRequest) ReadField3 ¶
func (p *LikeRequest) ReadField3(iprot thrift.TProtocol) error
func (*LikeRequest) String ¶
func (p *LikeRequest) String() string
type LikeResponse ¶
type LikeResponse struct { StatusCode int64 `thrift:"status_code,1" form:"status_code" json:"status_code" query:"status_code"` StatusMsg string `thrift:"status_msg,2" form:"status_msg" json:"status_msg" query:"status_msg"` }
var FavoriteServiceLikeActionResult_Success_DEFAULT *LikeResponse
func NewLikeResponse ¶
func NewLikeResponse() *LikeResponse
func (*LikeResponse) GetStatusCode ¶
func (p *LikeResponse) GetStatusCode() (v int64)
func (*LikeResponse) GetStatusMsg ¶
func (p *LikeResponse) GetStatusMsg() (v string)
func (*LikeResponse) ReadField1 ¶
func (p *LikeResponse) ReadField1(iprot thrift.TProtocol) error
func (*LikeResponse) ReadField2 ¶
func (p *LikeResponse) ReadField2(iprot thrift.TProtocol) error
func (*LikeResponse) String ¶
func (p *LikeResponse) String() string
type LoginRequest ¶
type LoginRequest struct { Username string `thrift:"username,1" json:"username" query:"username"` Password string `thrift:"password,2" json:"password" query:"password"` }
var UserServiceUserLoginArgs_Request_DEFAULT *LoginRequest
func NewLoginRequest ¶
func NewLoginRequest() *LoginRequest
func (*LoginRequest) GetPassword ¶
func (p *LoginRequest) GetPassword() (v string)
func (*LoginRequest) GetUsername ¶
func (p *LoginRequest) GetUsername() (v string)
func (*LoginRequest) ReadField1 ¶
func (p *LoginRequest) ReadField1(iprot thrift.TProtocol) error
func (*LoginRequest) ReadField2 ¶
func (p *LoginRequest) ReadField2(iprot thrift.TProtocol) error
func (*LoginRequest) String ¶
func (p *LoginRequest) String() string
type LoginResponse ¶
type LoginResponse struct { StatusCode int64 `thrift:"status_code,1" form:"status_code" json:"status_code" query:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" form:"status_msg" json:"status_msg,omitempty" query:"status_msg"` UserID *int64 `thrift:"user_id,3,optional" form:"user_id" json:"user_id,omitempty" query:"user_id"` Token *string `thrift:"token,4,optional" form:"token" json:"token,omitempty" query:"token"` }
var UserServiceUserLoginResult_Success_DEFAULT *LoginResponse
func NewLoginResponse ¶
func NewLoginResponse() *LoginResponse
func (*LoginResponse) GetStatusCode ¶
func (p *LoginResponse) GetStatusCode() (v int64)
func (*LoginResponse) GetStatusMsg ¶
func (p *LoginResponse) GetStatusMsg() (v string)
func (*LoginResponse) GetToken ¶
func (p *LoginResponse) GetToken() (v string)
func (*LoginResponse) GetUserID ¶
func (p *LoginResponse) GetUserID() (v int64)
func (*LoginResponse) IsSetStatusMsg ¶
func (p *LoginResponse) IsSetStatusMsg() bool
func (*LoginResponse) IsSetToken ¶
func (p *LoginResponse) IsSetToken() bool
func (*LoginResponse) IsSetUserID ¶
func (p *LoginResponse) IsSetUserID() bool
func (*LoginResponse) ReadField1 ¶
func (p *LoginResponse) ReadField1(iprot thrift.TProtocol) error
func (*LoginResponse) ReadField2 ¶
func (p *LoginResponse) ReadField2(iprot thrift.TProtocol) error
func (*LoginResponse) ReadField3 ¶
func (p *LoginResponse) ReadField3(iprot thrift.TProtocol) error
func (*LoginResponse) ReadField4 ¶
func (p *LoginResponse) ReadField4(iprot thrift.TProtocol) error
func (*LoginResponse) String ¶
func (p *LoginResponse) String() string
type MessageInfo ¶
type MessageInfo struct { ID int64 `thrift:"id,1,required" form:"id,required" json:"id,required" query:"id,required"` ToUserID int64 `thrift:"to_user_id,2,required" form:"to_user_id,required" json:"to_user_id,required" query:"to_user_id,required"` FromUserID int64 `thrift:"from_user_id,3,required" form:"from_user_id,required" json:"from_user_id,required" query:"from_user_id,required"` Content string `thrift:"content,4,required" form:"content,required" json:"content,required" query:"content,required"` CreateTime *int64 `thrift:"create_time,5,optional" form:"create_time" json:"create_time,omitempty" query:"create_time"` }
func NewMessageInfo ¶
func NewMessageInfo() *MessageInfo
func (*MessageInfo) GetContent ¶
func (p *MessageInfo) GetContent() (v string)
func (*MessageInfo) GetCreateTime ¶
func (p *MessageInfo) GetCreateTime() (v int64)
func (*MessageInfo) GetFromUserID ¶
func (p *MessageInfo) GetFromUserID() (v int64)
func (*MessageInfo) GetID ¶
func (p *MessageInfo) GetID() (v int64)
func (*MessageInfo) GetToUserID ¶
func (p *MessageInfo) GetToUserID() (v int64)
func (*MessageInfo) IsSetCreateTime ¶
func (p *MessageInfo) IsSetCreateTime() bool
func (*MessageInfo) ReadField1 ¶
func (p *MessageInfo) ReadField1(iprot thrift.TProtocol) error
func (*MessageInfo) ReadField2 ¶
func (p *MessageInfo) ReadField2(iprot thrift.TProtocol) error
func (*MessageInfo) ReadField3 ¶
func (p *MessageInfo) ReadField3(iprot thrift.TProtocol) error
func (*MessageInfo) ReadField4 ¶
func (p *MessageInfo) ReadField4(iprot thrift.TProtocol) error
func (*MessageInfo) ReadField5 ¶
func (p *MessageInfo) ReadField5(iprot thrift.TProtocol) error
func (*MessageInfo) String ¶
func (p *MessageInfo) String() string
type MessageRequest ¶
type MessageRequest struct { Token string `thrift:"token,1" json:"token" query:"token"` ToUserID int64 `thrift:"to_user_id,2" json:"to_user_id" query:"to_user_id"` ActionType string `thrift:"action_type,3" json:"action_type" query:"action_type"` Content string `thrift:"content,4" json:"content" query:"content"` }
var MessageServiceSendMessageArgs_Request_DEFAULT *MessageRequest
func NewMessageRequest ¶
func NewMessageRequest() *MessageRequest
func (*MessageRequest) GetActionType ¶
func (p *MessageRequest) GetActionType() (v string)
func (*MessageRequest) GetContent ¶
func (p *MessageRequest) GetContent() (v string)
func (*MessageRequest) GetToUserID ¶
func (p *MessageRequest) GetToUserID() (v int64)
func (*MessageRequest) GetToken ¶
func (p *MessageRequest) GetToken() (v string)
func (*MessageRequest) ReadField1 ¶
func (p *MessageRequest) ReadField1(iprot thrift.TProtocol) error
func (*MessageRequest) ReadField2 ¶
func (p *MessageRequest) ReadField2(iprot thrift.TProtocol) error
func (*MessageRequest) ReadField3 ¶
func (p *MessageRequest) ReadField3(iprot thrift.TProtocol) error
func (*MessageRequest) ReadField4 ¶
func (p *MessageRequest) ReadField4(iprot thrift.TProtocol) error
func (*MessageRequest) String ¶
func (p *MessageRequest) String() string
type MessageResponse ¶
type MessageResponse struct { StatusCode int64 `thrift:"status_code,1" form:"status_code" json:"status_code" query:"status_code"` StatusMsg string `thrift:"status_msg,2" form:"status_msg" json:"status_msg" query:"status_msg"` }
var MessageServiceSendMessageResult_Success_DEFAULT *MessageResponse
func NewMessageResponse ¶
func NewMessageResponse() *MessageResponse
func (*MessageResponse) GetStatusCode ¶
func (p *MessageResponse) GetStatusCode() (v int64)
func (*MessageResponse) GetStatusMsg ¶
func (p *MessageResponse) GetStatusMsg() (v string)
func (*MessageResponse) ReadField1 ¶
func (p *MessageResponse) ReadField1(iprot thrift.TProtocol) error
func (*MessageResponse) ReadField2 ¶
func (p *MessageResponse) ReadField2(iprot thrift.TProtocol) error
func (*MessageResponse) String ¶
func (p *MessageResponse) String() string
type MessageService ¶
type MessageService interface { SendMessage(ctx context.Context, request *MessageRequest) (r *MessageResponse, err error) GetChatRecord(ctx context.Context, request *ChatRecordRequest) (r *ChatRecordResponse, err error) }
type MessageServiceClient ¶
type MessageServiceClient struct {
// contains filtered or unexported fields
}
func NewMessageServiceClient ¶
func NewMessageServiceClient(c thrift.TClient) *MessageServiceClient
func NewMessageServiceClientFactory ¶
func NewMessageServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *MessageServiceClient
func NewMessageServiceClientProtocol ¶
func NewMessageServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *MessageServiceClient
func (*MessageServiceClient) Client_ ¶
func (p *MessageServiceClient) Client_() thrift.TClient
func (*MessageServiceClient) GetChatRecord ¶
func (p *MessageServiceClient) GetChatRecord(ctx context.Context, request *ChatRecordRequest) (r *ChatRecordResponse, err error)
func (*MessageServiceClient) SendMessage ¶
func (p *MessageServiceClient) SendMessage(ctx context.Context, request *MessageRequest) (r *MessageResponse, err error)
type MessageServiceGetChatRecordArgs ¶
type MessageServiceGetChatRecordArgs struct {
Request *ChatRecordRequest `thrift:"request,1"`
}
func NewMessageServiceGetChatRecordArgs ¶
func NewMessageServiceGetChatRecordArgs() *MessageServiceGetChatRecordArgs
func (*MessageServiceGetChatRecordArgs) GetRequest ¶
func (p *MessageServiceGetChatRecordArgs) GetRequest() (v *ChatRecordRequest)
func (*MessageServiceGetChatRecordArgs) IsSetRequest ¶
func (p *MessageServiceGetChatRecordArgs) IsSetRequest() bool
func (*MessageServiceGetChatRecordArgs) Read ¶
func (p *MessageServiceGetChatRecordArgs) Read(iprot thrift.TProtocol) (err error)
func (*MessageServiceGetChatRecordArgs) ReadField1 ¶
func (p *MessageServiceGetChatRecordArgs) ReadField1(iprot thrift.TProtocol) error
func (*MessageServiceGetChatRecordArgs) String ¶
func (p *MessageServiceGetChatRecordArgs) String() string
type MessageServiceGetChatRecordResult ¶
type MessageServiceGetChatRecordResult struct {
Success *ChatRecordResponse `thrift:"success,0,optional"`
}
func NewMessageServiceGetChatRecordResult ¶
func NewMessageServiceGetChatRecordResult() *MessageServiceGetChatRecordResult
func (*MessageServiceGetChatRecordResult) GetSuccess ¶
func (p *MessageServiceGetChatRecordResult) GetSuccess() (v *ChatRecordResponse)
func (*MessageServiceGetChatRecordResult) IsSetSuccess ¶
func (p *MessageServiceGetChatRecordResult) IsSetSuccess() bool
func (*MessageServiceGetChatRecordResult) Read ¶
func (p *MessageServiceGetChatRecordResult) Read(iprot thrift.TProtocol) (err error)
func (*MessageServiceGetChatRecordResult) ReadField0 ¶
func (p *MessageServiceGetChatRecordResult) ReadField0(iprot thrift.TProtocol) error
func (*MessageServiceGetChatRecordResult) String ¶
func (p *MessageServiceGetChatRecordResult) String() string
type MessageServiceProcessor ¶
type MessageServiceProcessor struct {
// contains filtered or unexported fields
}
func NewMessageServiceProcessor ¶
func NewMessageServiceProcessor(handler MessageService) *MessageServiceProcessor
func (*MessageServiceProcessor) AddToProcessorMap ¶
func (p *MessageServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*MessageServiceProcessor) GetProcessorFunction ¶
func (p *MessageServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*MessageServiceProcessor) Process ¶
func (p *MessageServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*MessageServiceProcessor) ProcessorMap ¶
func (p *MessageServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type MessageServiceSendMessageArgs ¶
type MessageServiceSendMessageArgs struct {
Request *MessageRequest `thrift:"request,1"`
}
func NewMessageServiceSendMessageArgs ¶
func NewMessageServiceSendMessageArgs() *MessageServiceSendMessageArgs
func (*MessageServiceSendMessageArgs) GetRequest ¶
func (p *MessageServiceSendMessageArgs) GetRequest() (v *MessageRequest)
func (*MessageServiceSendMessageArgs) IsSetRequest ¶
func (p *MessageServiceSendMessageArgs) IsSetRequest() bool
func (*MessageServiceSendMessageArgs) Read ¶
func (p *MessageServiceSendMessageArgs) Read(iprot thrift.TProtocol) (err error)
func (*MessageServiceSendMessageArgs) ReadField1 ¶
func (p *MessageServiceSendMessageArgs) ReadField1(iprot thrift.TProtocol) error
func (*MessageServiceSendMessageArgs) String ¶
func (p *MessageServiceSendMessageArgs) String() string
type MessageServiceSendMessageResult ¶
type MessageServiceSendMessageResult struct {
Success *MessageResponse `thrift:"success,0,optional"`
}
func NewMessageServiceSendMessageResult ¶
func NewMessageServiceSendMessageResult() *MessageServiceSendMessageResult
func (*MessageServiceSendMessageResult) GetSuccess ¶
func (p *MessageServiceSendMessageResult) GetSuccess() (v *MessageResponse)
func (*MessageServiceSendMessageResult) IsSetSuccess ¶
func (p *MessageServiceSendMessageResult) IsSetSuccess() bool
func (*MessageServiceSendMessageResult) Read ¶
func (p *MessageServiceSendMessageResult) Read(iprot thrift.TProtocol) (err error)
func (*MessageServiceSendMessageResult) ReadField0 ¶
func (p *MessageServiceSendMessageResult) ReadField0(iprot thrift.TProtocol) error
func (*MessageServiceSendMessageResult) String ¶
func (p *MessageServiceSendMessageResult) String() string
type PublishListRequest ¶
type PublishListRequest struct { Token string `thrift:"token,1" json:"token" query:"token"` UserID string `thrift:"user_id,2" json:"user_id" query:"user_id"` }
var PublishServiceGetPublishListArgs_Request_DEFAULT *PublishListRequest
func NewPublishListRequest ¶
func NewPublishListRequest() *PublishListRequest
func (*PublishListRequest) GetToken ¶
func (p *PublishListRequest) GetToken() (v string)
func (*PublishListRequest) GetUserID ¶
func (p *PublishListRequest) GetUserID() (v string)
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) String ¶
func (p *PublishListRequest) String() string
type PublishListResponse ¶
type PublishListResponse struct { StatusCode int64 `thrift:"status_code,1" form:"status_code" json:"status_code" query:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" form:"status_msg" json:"status_msg,omitempty" query:"status_msg"` VideoList []*VideoInfo `thrift:"video_list,4,optional" form:"video_list" json:"video_list,omitempty" query:"video_list"` }
var PublishServiceGetPublishListResult_Success_DEFAULT *PublishListResponse
func NewPublishListResponse ¶
func NewPublishListResponse() *PublishListResponse
func (*PublishListResponse) GetStatusCode ¶
func (p *PublishListResponse) GetStatusCode() (v int64)
func (*PublishListResponse) GetStatusMsg ¶
func (p *PublishListResponse) GetStatusMsg() (v string)
func (*PublishListResponse) GetVideoList ¶
func (p *PublishListResponse) GetVideoList() (v []*VideoInfo)
func (*PublishListResponse) IsSetStatusMsg ¶
func (p *PublishListResponse) IsSetStatusMsg() bool
func (*PublishListResponse) IsSetVideoList ¶
func (p *PublishListResponse) IsSetVideoList() 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) ReadField4 ¶
func (p *PublishListResponse) ReadField4(iprot thrift.TProtocol) error
func (*PublishListResponse) String ¶
func (p *PublishListResponse) String() string
type PublishRequest ¶
type PublishRequest struct { Data []byte `thrift:"data,1" form:"date" json:"data"` Token string `thrift:"token,2" form:"token" json:"token"` Title string `thrift:"title,3" form:"title" json:"title"` }
var PublishServicePublishActionArgs_Request_DEFAULT *PublishRequest
func NewPublishRequest ¶
func NewPublishRequest() *PublishRequest
func (*PublishRequest) GetData ¶
func (p *PublishRequest) GetData() (v []byte)
func (*PublishRequest) GetTitle ¶
func (p *PublishRequest) GetTitle() (v string)
func (*PublishRequest) GetToken ¶
func (p *PublishRequest) GetToken() (v string)
func (*PublishRequest) ReadField1 ¶
func (p *PublishRequest) ReadField1(iprot thrift.TProtocol) error
func (*PublishRequest) ReadField2 ¶
func (p *PublishRequest) ReadField2(iprot thrift.TProtocol) error
func (*PublishRequest) ReadField3 ¶
func (p *PublishRequest) ReadField3(iprot thrift.TProtocol) error
func (*PublishRequest) String ¶
func (p *PublishRequest) String() string
type PublishResponse ¶
type PublishResponse struct { StatusCode int64 `thrift:"status_code,1" form:"status_code" json:"status_code" query:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" form:"status_msg" json:"status_msg,omitempty" query:"status_msg"` }
var PublishServicePublishActionResult_Success_DEFAULT *PublishResponse
func NewPublishResponse ¶
func NewPublishResponse() *PublishResponse
func (*PublishResponse) GetStatusCode ¶
func (p *PublishResponse) GetStatusCode() (v int64)
func (*PublishResponse) GetStatusMsg ¶
func (p *PublishResponse) GetStatusMsg() (v string)
func (*PublishResponse) IsSetStatusMsg ¶
func (p *PublishResponse) IsSetStatusMsg() bool
func (*PublishResponse) ReadField1 ¶
func (p *PublishResponse) ReadField1(iprot thrift.TProtocol) error
func (*PublishResponse) ReadField2 ¶
func (p *PublishResponse) ReadField2(iprot thrift.TProtocol) error
func (*PublishResponse) String ¶
func (p *PublishResponse) String() string
type PublishService ¶
type PublishService interface { PublishAction(ctx context.Context, request *PublishRequest) (r *PublishResponse, err error) GetPublishList(ctx context.Context, request *PublishListRequest) (r *PublishListResponse, 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) GetPublishList ¶
func (p *PublishServiceClient) GetPublishList(ctx context.Context, request *PublishListRequest) (r *PublishListResponse, err error)
func (*PublishServiceClient) PublishAction ¶
func (p *PublishServiceClient) PublishAction(ctx context.Context, request *PublishRequest) (r *PublishResponse, err error)
type PublishServiceGetPublishListArgs ¶
type PublishServiceGetPublishListArgs struct {
Request *PublishListRequest `thrift:"request,1"`
}
func NewPublishServiceGetPublishListArgs ¶
func NewPublishServiceGetPublishListArgs() *PublishServiceGetPublishListArgs
func (*PublishServiceGetPublishListArgs) GetRequest ¶
func (p *PublishServiceGetPublishListArgs) GetRequest() (v *PublishListRequest)
func (*PublishServiceGetPublishListArgs) IsSetRequest ¶
func (p *PublishServiceGetPublishListArgs) IsSetRequest() bool
func (*PublishServiceGetPublishListArgs) Read ¶
func (p *PublishServiceGetPublishListArgs) Read(iprot thrift.TProtocol) (err error)
func (*PublishServiceGetPublishListArgs) ReadField1 ¶
func (p *PublishServiceGetPublishListArgs) ReadField1(iprot thrift.TProtocol) error
func (*PublishServiceGetPublishListArgs) String ¶
func (p *PublishServiceGetPublishListArgs) String() string
type PublishServiceGetPublishListResult ¶
type PublishServiceGetPublishListResult struct {
Success *PublishListResponse `thrift:"success,0,optional"`
}
func NewPublishServiceGetPublishListResult ¶
func NewPublishServiceGetPublishListResult() *PublishServiceGetPublishListResult
func (*PublishServiceGetPublishListResult) GetSuccess ¶
func (p *PublishServiceGetPublishListResult) GetSuccess() (v *PublishListResponse)
func (*PublishServiceGetPublishListResult) IsSetSuccess ¶
func (p *PublishServiceGetPublishListResult) IsSetSuccess() bool
func (*PublishServiceGetPublishListResult) Read ¶
func (p *PublishServiceGetPublishListResult) Read(iprot thrift.TProtocol) (err error)
func (*PublishServiceGetPublishListResult) ReadField0 ¶
func (p *PublishServiceGetPublishListResult) ReadField0(iprot thrift.TProtocol) error
func (*PublishServiceGetPublishListResult) String ¶
func (p *PublishServiceGetPublishListResult) 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 {
Request *PublishRequest `thrift:"request,1"`
}
func NewPublishServicePublishActionArgs ¶
func NewPublishServicePublishActionArgs() *PublishServicePublishActionArgs
func (*PublishServicePublishActionArgs) GetRequest ¶
func (p *PublishServicePublishActionArgs) GetRequest() (v *PublishRequest)
func (*PublishServicePublishActionArgs) IsSetRequest ¶
func (p *PublishServicePublishActionArgs) IsSetRequest() 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) String ¶
func (p *PublishServicePublishActionArgs) String() string
type PublishServicePublishActionResult ¶
type PublishServicePublishActionResult struct {
Success *PublishResponse `thrift:"success,0,optional"`
}
func NewPublishServicePublishActionResult ¶
func NewPublishServicePublishActionResult() *PublishServicePublishActionResult
func (*PublishServicePublishActionResult) GetSuccess ¶
func (p *PublishServicePublishActionResult) GetSuccess() (v *PublishResponse)
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) String ¶
func (p *PublishServicePublishActionResult) String() string
type RegisterRequest ¶
type RegisterRequest struct { Username string `thrift:"username,1" json:"username" query:"username"` Password string `thrift:"password,2" json:"password" query:"password"` }
var UserServiceUserRegisterArgs_Request_DEFAULT *RegisterRequest
func NewRegisterRequest ¶
func NewRegisterRequest() *RegisterRequest
func (*RegisterRequest) GetPassword ¶
func (p *RegisterRequest) GetPassword() (v string)
func (*RegisterRequest) GetUsername ¶
func (p *RegisterRequest) GetUsername() (v string)
func (*RegisterRequest) ReadField1 ¶
func (p *RegisterRequest) ReadField1(iprot thrift.TProtocol) error
func (*RegisterRequest) ReadField2 ¶
func (p *RegisterRequest) ReadField2(iprot thrift.TProtocol) error
func (*RegisterRequest) String ¶
func (p *RegisterRequest) String() string
type RegisterResponse ¶
type RegisterResponse struct { StatusCode int64 `thrift:"status_code,1" form:"status_code" json:"status_code" query:"status_code"` StatusMsg string `thrift:"status_msg,2" form:"status_msg" json:"status_msg" query:"status_msg"` UserID int64 `thrift:"user_id,3" form:"user_id" json:"user_id" query:"user_id"` Token string `thrift:"token,4" form:"token" json:"token" query:"token"` }
var UserServiceUserRegisterResult_Success_DEFAULT *RegisterResponse
func NewRegisterResponse ¶
func NewRegisterResponse() *RegisterResponse
func (*RegisterResponse) GetStatusCode ¶
func (p *RegisterResponse) GetStatusCode() (v int64)
func (*RegisterResponse) GetStatusMsg ¶
func (p *RegisterResponse) GetStatusMsg() (v string)
func (*RegisterResponse) GetToken ¶
func (p *RegisterResponse) GetToken() (v string)
func (*RegisterResponse) GetUserID ¶
func (p *RegisterResponse) GetUserID() (v int64)
func (*RegisterResponse) ReadField1 ¶
func (p *RegisterResponse) ReadField1(iprot thrift.TProtocol) error
func (*RegisterResponse) ReadField2 ¶
func (p *RegisterResponse) ReadField2(iprot thrift.TProtocol) error
func (*RegisterResponse) ReadField3 ¶
func (p *RegisterResponse) ReadField3(iprot thrift.TProtocol) error
func (*RegisterResponse) ReadField4 ¶
func (p *RegisterResponse) ReadField4(iprot thrift.TProtocol) error
func (*RegisterResponse) String ¶
func (p *RegisterResponse) String() string
type RelationListRequest ¶
type RelationListRequest struct { UserID string `thrift:"user_id,1" json:"user_id" query:"user_id"` Token string `thrift:"token,2" json:"token" query:"token"` }
var RelationServiceGetFollowListArgs_Request_DEFAULT *RelationListRequest
var RelationServiceGetFollowerListArgs_Request_DEFAULT *RelationListRequest
var RelationServiceGetFriendListArgs_Request_DEFAULT *RelationListRequest
func NewRelationListRequest ¶
func NewRelationListRequest() *RelationListRequest
func (*RelationListRequest) GetToken ¶
func (p *RelationListRequest) GetToken() (v string)
func (*RelationListRequest) GetUserID ¶
func (p *RelationListRequest) GetUserID() (v string)
func (*RelationListRequest) Read ¶
func (p *RelationListRequest) Read(iprot thrift.TProtocol) (err error)
func (*RelationListRequest) ReadField1 ¶
func (p *RelationListRequest) ReadField1(iprot thrift.TProtocol) error
func (*RelationListRequest) ReadField2 ¶
func (p *RelationListRequest) ReadField2(iprot thrift.TProtocol) error
func (*RelationListRequest) String ¶
func (p *RelationListRequest) String() string
type RelationListResponse ¶
type RelationListResponse struct { StatusCode int64 `thrift:"status_code,1" form:"status_code" json:"status_code" query:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" form:"status_msg" json:"status_msg,omitempty" query:"status_msg"` UserList []*UserInfo `thrift:"user_list,3,optional" form:"user_list" json:"user_list,omitempty" query:"user_list"` }
var RelationServiceGetFollowListResult_Success_DEFAULT *RelationListResponse
var RelationServiceGetFollowerListResult_Success_DEFAULT *RelationListResponse
var RelationServiceGetFriendListResult_Success_DEFAULT *RelationListResponse
func NewRelationListResponse ¶
func NewRelationListResponse() *RelationListResponse
func (*RelationListResponse) GetStatusCode ¶
func (p *RelationListResponse) GetStatusCode() (v int64)
func (*RelationListResponse) GetStatusMsg ¶
func (p *RelationListResponse) GetStatusMsg() (v string)
func (*RelationListResponse) GetUserList ¶
func (p *RelationListResponse) GetUserList() (v []*UserInfo)
func (*RelationListResponse) IsSetStatusMsg ¶
func (p *RelationListResponse) IsSetStatusMsg() bool
func (*RelationListResponse) IsSetUserList ¶
func (p *RelationListResponse) IsSetUserList() bool
func (*RelationListResponse) Read ¶
func (p *RelationListResponse) Read(iprot thrift.TProtocol) (err error)
func (*RelationListResponse) ReadField1 ¶
func (p *RelationListResponse) ReadField1(iprot thrift.TProtocol) error
func (*RelationListResponse) ReadField2 ¶
func (p *RelationListResponse) ReadField2(iprot thrift.TProtocol) error
func (*RelationListResponse) ReadField3 ¶
func (p *RelationListResponse) ReadField3(iprot thrift.TProtocol) error
func (*RelationListResponse) String ¶
func (p *RelationListResponse) String() string
type RelationService ¶
type RelationService interface { FollowAction(ctx context.Context, request *FollowRequest) (r *FollowResponse, err error) GetFollowList(ctx context.Context, request *RelationListRequest) (r *RelationListResponse, err error) GetFollowerList(ctx context.Context, request *RelationListRequest) (r *RelationListResponse, err error) GetFriendList(ctx context.Context, request *RelationListRequest) (r *RelationListResponse, err error) }
type RelationServiceClient ¶
type RelationServiceClient struct {
// contains filtered or unexported fields
}
func NewRelationServiceClient ¶
func NewRelationServiceClient(c thrift.TClient) *RelationServiceClient
func NewRelationServiceClientFactory ¶
func NewRelationServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *RelationServiceClient
func NewRelationServiceClientProtocol ¶
func NewRelationServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *RelationServiceClient
func (*RelationServiceClient) Client_ ¶
func (p *RelationServiceClient) Client_() thrift.TClient
func (*RelationServiceClient) FollowAction ¶
func (p *RelationServiceClient) FollowAction(ctx context.Context, request *FollowRequest) (r *FollowResponse, err error)
func (*RelationServiceClient) GetFollowList ¶
func (p *RelationServiceClient) GetFollowList(ctx context.Context, request *RelationListRequest) (r *RelationListResponse, err error)
func (*RelationServiceClient) GetFollowerList ¶
func (p *RelationServiceClient) GetFollowerList(ctx context.Context, request *RelationListRequest) (r *RelationListResponse, err error)
func (*RelationServiceClient) GetFriendList ¶
func (p *RelationServiceClient) GetFriendList(ctx context.Context, request *RelationListRequest) (r *RelationListResponse, err error)
type RelationServiceFollowActionArgs ¶
type RelationServiceFollowActionArgs struct {
Request *FollowRequest `thrift:"request,1"`
}
func NewRelationServiceFollowActionArgs ¶
func NewRelationServiceFollowActionArgs() *RelationServiceFollowActionArgs
func (*RelationServiceFollowActionArgs) GetRequest ¶
func (p *RelationServiceFollowActionArgs) GetRequest() (v *FollowRequest)
func (*RelationServiceFollowActionArgs) IsSetRequest ¶
func (p *RelationServiceFollowActionArgs) IsSetRequest() bool
func (*RelationServiceFollowActionArgs) Read ¶
func (p *RelationServiceFollowActionArgs) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceFollowActionArgs) ReadField1 ¶
func (p *RelationServiceFollowActionArgs) ReadField1(iprot thrift.TProtocol) error
func (*RelationServiceFollowActionArgs) String ¶
func (p *RelationServiceFollowActionArgs) String() string
type RelationServiceFollowActionResult ¶
type RelationServiceFollowActionResult struct {
Success *FollowResponse `thrift:"success,0,optional"`
}
func NewRelationServiceFollowActionResult ¶
func NewRelationServiceFollowActionResult() *RelationServiceFollowActionResult
func (*RelationServiceFollowActionResult) GetSuccess ¶
func (p *RelationServiceFollowActionResult) GetSuccess() (v *FollowResponse)
func (*RelationServiceFollowActionResult) IsSetSuccess ¶
func (p *RelationServiceFollowActionResult) IsSetSuccess() bool
func (*RelationServiceFollowActionResult) Read ¶
func (p *RelationServiceFollowActionResult) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceFollowActionResult) ReadField0 ¶
func (p *RelationServiceFollowActionResult) ReadField0(iprot thrift.TProtocol) error
func (*RelationServiceFollowActionResult) String ¶
func (p *RelationServiceFollowActionResult) String() string
type RelationServiceGetFollowListArgs ¶
type RelationServiceGetFollowListArgs struct {
Request *RelationListRequest `thrift:"request,1"`
}
func NewRelationServiceGetFollowListArgs ¶
func NewRelationServiceGetFollowListArgs() *RelationServiceGetFollowListArgs
func (*RelationServiceGetFollowListArgs) GetRequest ¶
func (p *RelationServiceGetFollowListArgs) GetRequest() (v *RelationListRequest)
func (*RelationServiceGetFollowListArgs) IsSetRequest ¶
func (p *RelationServiceGetFollowListArgs) IsSetRequest() bool
func (*RelationServiceGetFollowListArgs) Read ¶
func (p *RelationServiceGetFollowListArgs) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceGetFollowListArgs) ReadField1 ¶
func (p *RelationServiceGetFollowListArgs) ReadField1(iprot thrift.TProtocol) error
func (*RelationServiceGetFollowListArgs) String ¶
func (p *RelationServiceGetFollowListArgs) String() string
type RelationServiceGetFollowListResult ¶
type RelationServiceGetFollowListResult struct {
Success *RelationListResponse `thrift:"success,0,optional"`
}
func NewRelationServiceGetFollowListResult ¶
func NewRelationServiceGetFollowListResult() *RelationServiceGetFollowListResult
func (*RelationServiceGetFollowListResult) GetSuccess ¶
func (p *RelationServiceGetFollowListResult) GetSuccess() (v *RelationListResponse)
func (*RelationServiceGetFollowListResult) IsSetSuccess ¶
func (p *RelationServiceGetFollowListResult) IsSetSuccess() bool
func (*RelationServiceGetFollowListResult) Read ¶
func (p *RelationServiceGetFollowListResult) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceGetFollowListResult) ReadField0 ¶
func (p *RelationServiceGetFollowListResult) ReadField0(iprot thrift.TProtocol) error
func (*RelationServiceGetFollowListResult) String ¶
func (p *RelationServiceGetFollowListResult) String() string
type RelationServiceGetFollowerListArgs ¶
type RelationServiceGetFollowerListArgs struct {
Request *RelationListRequest `thrift:"request,1"`
}
func NewRelationServiceGetFollowerListArgs ¶
func NewRelationServiceGetFollowerListArgs() *RelationServiceGetFollowerListArgs
func (*RelationServiceGetFollowerListArgs) GetRequest ¶
func (p *RelationServiceGetFollowerListArgs) GetRequest() (v *RelationListRequest)
func (*RelationServiceGetFollowerListArgs) IsSetRequest ¶
func (p *RelationServiceGetFollowerListArgs) IsSetRequest() bool
func (*RelationServiceGetFollowerListArgs) Read ¶
func (p *RelationServiceGetFollowerListArgs) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceGetFollowerListArgs) ReadField1 ¶
func (p *RelationServiceGetFollowerListArgs) ReadField1(iprot thrift.TProtocol) error
func (*RelationServiceGetFollowerListArgs) String ¶
func (p *RelationServiceGetFollowerListArgs) String() string
type RelationServiceGetFollowerListResult ¶
type RelationServiceGetFollowerListResult struct {
Success *RelationListResponse `thrift:"success,0,optional"`
}
func NewRelationServiceGetFollowerListResult ¶
func NewRelationServiceGetFollowerListResult() *RelationServiceGetFollowerListResult
func (*RelationServiceGetFollowerListResult) GetSuccess ¶
func (p *RelationServiceGetFollowerListResult) GetSuccess() (v *RelationListResponse)
func (*RelationServiceGetFollowerListResult) IsSetSuccess ¶
func (p *RelationServiceGetFollowerListResult) IsSetSuccess() bool
func (*RelationServiceGetFollowerListResult) Read ¶
func (p *RelationServiceGetFollowerListResult) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceGetFollowerListResult) ReadField0 ¶
func (p *RelationServiceGetFollowerListResult) ReadField0(iprot thrift.TProtocol) error
func (*RelationServiceGetFollowerListResult) String ¶
func (p *RelationServiceGetFollowerListResult) String() string
type RelationServiceGetFriendListArgs ¶
type RelationServiceGetFriendListArgs struct {
Request *RelationListRequest `thrift:"request,1"`
}
func NewRelationServiceGetFriendListArgs ¶
func NewRelationServiceGetFriendListArgs() *RelationServiceGetFriendListArgs
func (*RelationServiceGetFriendListArgs) GetRequest ¶
func (p *RelationServiceGetFriendListArgs) GetRequest() (v *RelationListRequest)
func (*RelationServiceGetFriendListArgs) IsSetRequest ¶
func (p *RelationServiceGetFriendListArgs) IsSetRequest() bool
func (*RelationServiceGetFriendListArgs) Read ¶
func (p *RelationServiceGetFriendListArgs) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceGetFriendListArgs) ReadField1 ¶
func (p *RelationServiceGetFriendListArgs) ReadField1(iprot thrift.TProtocol) error
func (*RelationServiceGetFriendListArgs) String ¶
func (p *RelationServiceGetFriendListArgs) String() string
type RelationServiceGetFriendListResult ¶
type RelationServiceGetFriendListResult struct {
Success *RelationListResponse `thrift:"success,0,optional"`
}
func NewRelationServiceGetFriendListResult ¶
func NewRelationServiceGetFriendListResult() *RelationServiceGetFriendListResult
func (*RelationServiceGetFriendListResult) GetSuccess ¶
func (p *RelationServiceGetFriendListResult) GetSuccess() (v *RelationListResponse)
func (*RelationServiceGetFriendListResult) IsSetSuccess ¶
func (p *RelationServiceGetFriendListResult) IsSetSuccess() bool
func (*RelationServiceGetFriendListResult) Read ¶
func (p *RelationServiceGetFriendListResult) Read(iprot thrift.TProtocol) (err error)
func (*RelationServiceGetFriendListResult) ReadField0 ¶
func (p *RelationServiceGetFriendListResult) ReadField0(iprot thrift.TProtocol) error
func (*RelationServiceGetFriendListResult) String ¶
func (p *RelationServiceGetFriendListResult) String() string
type RelationServiceProcessor ¶
type RelationServiceProcessor struct {
// contains filtered or unexported fields
}
func NewRelationServiceProcessor ¶
func NewRelationServiceProcessor(handler RelationService) *RelationServiceProcessor
func (*RelationServiceProcessor) AddToProcessorMap ¶
func (p *RelationServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*RelationServiceProcessor) GetProcessorFunction ¶
func (p *RelationServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*RelationServiceProcessor) Process ¶
func (p *RelationServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*RelationServiceProcessor) ProcessorMap ¶
func (p *RelationServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type UserInfo ¶
type UserInfo struct { ID int64 `thrift:"id,1" form:"id" json:"id" query:"id"` Name string `thrift:"name,2" form:"name" json:"name" query:"name"` FollowCount int64 `thrift:"follow_count,3" form:"follow_count" json:"follow_count" query:"follow_count"` FollowerCount int64 `thrift:"follower_count,4" form:"follower_count" json:"follower_count" query:"follower_count"` IsFollow bool `thrift:"is_follow,5" form:"is_follow" json:"is_follow" query:"is_follow"` WorkCount *int64 `thrift:"work_count,6,optional" form:"work_count" json:"work_count,omitempty" query:"work_count"` FavoriteCount *int64 `thrift:"favorite_count,7,optional" form:"favorite_count" json:"favorite_count,omitempty" query:"favorite_count"` TotalFavorited *int64 `thrift:"total_favorited,8,optional" form:"total_favorited" json:"total_favorited,omitempty" query:"total_favorited"` Signature *string `thrift:"signature,9,optional" form:"signature" json:"signature,omitempty" query:"signature"` Avatar *string `thrift:"avatar,10,optional" form:"avatar" json:"avatar,omitempty" query:"avatar"` BackgroundImage *string `thrift:"background_image,11,optional" form:"background_image" json:"background_image,omitempty" query:"background_image"` }
var CommentInfo_User_DEFAULT *UserInfo
var UserInfoResponse_User_DEFAULT *UserInfo
var VideoInfo_Author_DEFAULT *UserInfo
func NewUserInfo ¶
func NewUserInfo() *UserInfo
func (*UserInfo) GetBackgroundImage ¶
func (*UserInfo) GetFavoriteCount ¶
func (*UserInfo) GetFollowCount ¶
func (*UserInfo) GetFollowerCount ¶
func (*UserInfo) GetIsFollow ¶
func (*UserInfo) GetSignature ¶
func (*UserInfo) GetTotalFavorited ¶
func (*UserInfo) GetWorkCount ¶
func (*UserInfo) IsSetAvatar ¶
func (*UserInfo) IsSetBackgroundImage ¶
func (*UserInfo) IsSetFavoriteCount ¶
func (*UserInfo) IsSetSignature ¶
func (*UserInfo) IsSetTotalFavorited ¶
func (*UserInfo) IsSetWorkCount ¶
type UserInfoRequest ¶
type UserInfoRequest struct { UserID string `thrift:"user_id,1" json:"user_id" query:"user_id"` Token string `thrift:"token,2" json:"token" query:"token"` }
var UserServiceGetUserInfoArgs_Request_DEFAULT *UserInfoRequest
func NewUserInfoRequest ¶
func NewUserInfoRequest() *UserInfoRequest
func (*UserInfoRequest) GetToken ¶
func (p *UserInfoRequest) GetToken() (v string)
func (*UserInfoRequest) GetUserID ¶
func (p *UserInfoRequest) GetUserID() (v string)
func (*UserInfoRequest) ReadField1 ¶
func (p *UserInfoRequest) ReadField1(iprot thrift.TProtocol) error
func (*UserInfoRequest) ReadField2 ¶
func (p *UserInfoRequest) ReadField2(iprot thrift.TProtocol) error
func (*UserInfoRequest) String ¶
func (p *UserInfoRequest) String() string
type UserInfoResponse ¶
type UserInfoResponse struct { StatusCode int64 `thrift:"status_code,1" form:"status_code" json:"status_code" query:"status_code"` StatusMsg *string `thrift:"status_msg,2,optional" form:"status_msg" json:"status_msg,omitempty" query:"status_msg"` User *UserInfo `thrift:"user,3,optional" form:"user" json:"user,omitempty" query:"user"` }
var UserServiceGetUserInfoResult_Success_DEFAULT *UserInfoResponse
func NewUserInfoResponse ¶
func NewUserInfoResponse() *UserInfoResponse
func (*UserInfoResponse) GetStatusCode ¶
func (p *UserInfoResponse) GetStatusCode() (v int64)
func (*UserInfoResponse) GetStatusMsg ¶
func (p *UserInfoResponse) GetStatusMsg() (v string)
func (*UserInfoResponse) GetUser ¶
func (p *UserInfoResponse) GetUser() (v *UserInfo)
func (*UserInfoResponse) IsSetStatusMsg ¶
func (p *UserInfoResponse) IsSetStatusMsg() bool
func (*UserInfoResponse) IsSetUser ¶
func (p *UserInfoResponse) IsSetUser() bool
func (*UserInfoResponse) ReadField1 ¶
func (p *UserInfoResponse) ReadField1(iprot thrift.TProtocol) error
func (*UserInfoResponse) ReadField2 ¶
func (p *UserInfoResponse) ReadField2(iprot thrift.TProtocol) error
func (*UserInfoResponse) ReadField3 ¶
func (p *UserInfoResponse) ReadField3(iprot thrift.TProtocol) error
func (*UserInfoResponse) String ¶
func (p *UserInfoResponse) String() string
type UserService ¶
type UserService interface { UserRegister(ctx context.Context, request *RegisterRequest) (r *RegisterResponse, err error) UserLogin(ctx context.Context, request *LoginRequest) (r *LoginResponse, err error) GetUserInfo(ctx context.Context, request *UserInfoRequest) (r *UserInfoResponse, err error) }
type UserServiceClient ¶
type UserServiceClient struct {
// contains filtered or unexported fields
}
func NewUserServiceClient ¶
func NewUserServiceClient(c thrift.TClient) *UserServiceClient
func NewUserServiceClientFactory ¶
func NewUserServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *UserServiceClient
func NewUserServiceClientProtocol ¶
func NewUserServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *UserServiceClient
func (*UserServiceClient) Client_ ¶
func (p *UserServiceClient) Client_() thrift.TClient
func (*UserServiceClient) GetUserInfo ¶
func (p *UserServiceClient) GetUserInfo(ctx context.Context, request *UserInfoRequest) (r *UserInfoResponse, err error)
func (*UserServiceClient) UserLogin ¶
func (p *UserServiceClient) UserLogin(ctx context.Context, request *LoginRequest) (r *LoginResponse, err error)
func (*UserServiceClient) UserRegister ¶
func (p *UserServiceClient) UserRegister(ctx context.Context, request *RegisterRequest) (r *RegisterResponse, err error)
type UserServiceGetUserInfoArgs ¶
type UserServiceGetUserInfoArgs struct {
Request *UserInfoRequest `thrift:"request,1"`
}
func NewUserServiceGetUserInfoArgs ¶
func NewUserServiceGetUserInfoArgs() *UserServiceGetUserInfoArgs
func (*UserServiceGetUserInfoArgs) GetRequest ¶
func (p *UserServiceGetUserInfoArgs) GetRequest() (v *UserInfoRequest)
func (*UserServiceGetUserInfoArgs) IsSetRequest ¶
func (p *UserServiceGetUserInfoArgs) IsSetRequest() bool
func (*UserServiceGetUserInfoArgs) Read ¶
func (p *UserServiceGetUserInfoArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceGetUserInfoArgs) ReadField1 ¶
func (p *UserServiceGetUserInfoArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceGetUserInfoArgs) String ¶
func (p *UserServiceGetUserInfoArgs) String() string
type UserServiceGetUserInfoResult ¶
type UserServiceGetUserInfoResult struct {
Success *UserInfoResponse `thrift:"success,0,optional"`
}
func NewUserServiceGetUserInfoResult ¶
func NewUserServiceGetUserInfoResult() *UserServiceGetUserInfoResult
func (*UserServiceGetUserInfoResult) GetSuccess ¶
func (p *UserServiceGetUserInfoResult) GetSuccess() (v *UserInfoResponse)
func (*UserServiceGetUserInfoResult) IsSetSuccess ¶
func (p *UserServiceGetUserInfoResult) IsSetSuccess() bool
func (*UserServiceGetUserInfoResult) Read ¶
func (p *UserServiceGetUserInfoResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceGetUserInfoResult) ReadField0 ¶
func (p *UserServiceGetUserInfoResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceGetUserInfoResult) String ¶
func (p *UserServiceGetUserInfoResult) String() string
type UserServiceProcessor ¶
type UserServiceProcessor struct {
// contains filtered or unexported fields
}
func NewUserServiceProcessor ¶
func NewUserServiceProcessor(handler UserService) *UserServiceProcessor
func (*UserServiceProcessor) AddToProcessorMap ¶
func (p *UserServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*UserServiceProcessor) GetProcessorFunction ¶
func (p *UserServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*UserServiceProcessor) Process ¶
func (p *UserServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*UserServiceProcessor) ProcessorMap ¶
func (p *UserServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type UserServiceUserLoginArgs ¶
type UserServiceUserLoginArgs struct {
Request *LoginRequest `thrift:"request,1"`
}
func NewUserServiceUserLoginArgs ¶
func NewUserServiceUserLoginArgs() *UserServiceUserLoginArgs
func (*UserServiceUserLoginArgs) GetRequest ¶
func (p *UserServiceUserLoginArgs) GetRequest() (v *LoginRequest)
func (*UserServiceUserLoginArgs) IsSetRequest ¶
func (p *UserServiceUserLoginArgs) IsSetRequest() bool
func (*UserServiceUserLoginArgs) Read ¶
func (p *UserServiceUserLoginArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserLoginArgs) ReadField1 ¶
func (p *UserServiceUserLoginArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceUserLoginArgs) String ¶
func (p *UserServiceUserLoginArgs) String() string
type UserServiceUserLoginResult ¶
type UserServiceUserLoginResult struct {
Success *LoginResponse `thrift:"success,0,optional"`
}
func NewUserServiceUserLoginResult ¶
func NewUserServiceUserLoginResult() *UserServiceUserLoginResult
func (*UserServiceUserLoginResult) GetSuccess ¶
func (p *UserServiceUserLoginResult) GetSuccess() (v *LoginResponse)
func (*UserServiceUserLoginResult) IsSetSuccess ¶
func (p *UserServiceUserLoginResult) IsSetSuccess() bool
func (*UserServiceUserLoginResult) Read ¶
func (p *UserServiceUserLoginResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserLoginResult) ReadField0 ¶
func (p *UserServiceUserLoginResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceUserLoginResult) String ¶
func (p *UserServiceUserLoginResult) String() string
type UserServiceUserRegisterArgs ¶
type UserServiceUserRegisterArgs struct {
Request *RegisterRequest `thrift:"request,1"`
}
func NewUserServiceUserRegisterArgs ¶
func NewUserServiceUserRegisterArgs() *UserServiceUserRegisterArgs
func (*UserServiceUserRegisterArgs) GetRequest ¶
func (p *UserServiceUserRegisterArgs) GetRequest() (v *RegisterRequest)
func (*UserServiceUserRegisterArgs) IsSetRequest ¶
func (p *UserServiceUserRegisterArgs) IsSetRequest() bool
func (*UserServiceUserRegisterArgs) Read ¶
func (p *UserServiceUserRegisterArgs) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserRegisterArgs) ReadField1 ¶
func (p *UserServiceUserRegisterArgs) ReadField1(iprot thrift.TProtocol) error
func (*UserServiceUserRegisterArgs) String ¶
func (p *UserServiceUserRegisterArgs) String() string
type UserServiceUserRegisterResult ¶
type UserServiceUserRegisterResult struct {
Success *RegisterResponse `thrift:"success,0,optional"`
}
func NewUserServiceUserRegisterResult ¶
func NewUserServiceUserRegisterResult() *UserServiceUserRegisterResult
func (*UserServiceUserRegisterResult) GetSuccess ¶
func (p *UserServiceUserRegisterResult) GetSuccess() (v *RegisterResponse)
func (*UserServiceUserRegisterResult) IsSetSuccess ¶
func (p *UserServiceUserRegisterResult) IsSetSuccess() bool
func (*UserServiceUserRegisterResult) Read ¶
func (p *UserServiceUserRegisterResult) Read(iprot thrift.TProtocol) (err error)
func (*UserServiceUserRegisterResult) ReadField0 ¶
func (p *UserServiceUserRegisterResult) ReadField0(iprot thrift.TProtocol) error
func (*UserServiceUserRegisterResult) String ¶
func (p *UserServiceUserRegisterResult) String() string
type VideoInfo ¶
type VideoInfo struct { ID int64 `thrift:"id,1" form:"id" json:"id" query:"id"` Author *UserInfo `thrift:"author,2" form:"author" json:"author" query:"author"` PlayURL string `thrift:"play_url,3" form:"play_url" json:"play_url" query:"play_url"` CoverURL string `thrift:"cover_url,4" form:"cover_url" json:"cover_url" query:"cover_url"` FavoriteCount int64 `thrift:"favorite_count,5" form:"favorite_count" json:"favorite_count" query:"favorite_count"` CommentCount int64 `thrift:"comment_count,6" form:"comment_count" json:"comment_count" query:"comment_count"` IsFavorite bool `thrift:"is_favorite,7" form:"is_favorite" json:"is_favorite" query:"is_favorite"` Title string `thrift:"title,8" form:"title" json:"title" query:"title"` }
func NewVideoInfo ¶
func NewVideoInfo() *VideoInfo
func (*VideoInfo) GetCommentCount ¶
func (*VideoInfo) GetCoverURL ¶
func (*VideoInfo) GetFavoriteCount ¶
func (*VideoInfo) GetIsFavorite ¶
func (*VideoInfo) GetPlayURL ¶
func (*VideoInfo) IsSetAuthor ¶
Click to show internal directories.
Click to hide internal directories.