Documentation ¶
Overview ¶
Code generated by Kitex v0.4.4. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler VideoServer.VideoSrv, opts ...server.Option) server.Invoker
- func NewServer(handler VideoServer.VideoSrv, opts ...server.Option) server.Server
- func NewServiceInfo() *kitex.ServiceInfo
- type Client
- type FeedArgs
- func (p *FeedArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *FeedArgs) FastWrite(buf []byte) (n int)
- func (p *FeedArgs) GetReq() *VideoServer.DouyinFeedRequest
- func (p *FeedArgs) IsSetReq() bool
- func (p *FeedArgs) Marshal(out []byte) ([]byte, error)
- func (p *FeedArgs) Size() (n int)
- func (p *FeedArgs) Unmarshal(in []byte) error
- type FeedResult
- func (p *FeedResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *FeedResult) FastWrite(buf []byte) (n int)
- func (p *FeedResult) GetSuccess() *VideoServer.DouyinFeedResponse
- func (p *FeedResult) IsSetSuccess() bool
- func (p *FeedResult) Marshal(out []byte) ([]byte, error)
- func (p *FeedResult) SetSuccess(x interface{})
- func (p *FeedResult) Size() (n int)
- func (p *FeedResult) Unmarshal(in []byte) error
- type GetVideoListByVideoIdArgs
- func (p *GetVideoListByVideoIdArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetVideoListByVideoIdArgs) FastWrite(buf []byte) (n int)
- func (p *GetVideoListByVideoIdArgs) GetReq() *VideoServer.DouyinVideoListByVideoId
- func (p *GetVideoListByVideoIdArgs) IsSetReq() bool
- func (p *GetVideoListByVideoIdArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetVideoListByVideoIdArgs) Size() (n int)
- func (p *GetVideoListByVideoIdArgs) Unmarshal(in []byte) error
- type GetVideoListByVideoIdResult
- func (p *GetVideoListByVideoIdResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetVideoListByVideoIdResult) FastWrite(buf []byte) (n int)
- func (p *GetVideoListByVideoIdResult) GetSuccess() *VideoServer.DouyinPublishListResponse
- func (p *GetVideoListByVideoIdResult) IsSetSuccess() bool
- func (p *GetVideoListByVideoIdResult) Marshal(out []byte) ([]byte, error)
- func (p *GetVideoListByVideoIdResult) SetSuccess(x interface{})
- func (p *GetVideoListByVideoIdResult) Size() (n int)
- func (p *GetVideoListByVideoIdResult) Unmarshal(in []byte) error
- type PublishActionArgs
- func (p *PublishActionArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *PublishActionArgs) FastWrite(buf []byte) (n int)
- func (p *PublishActionArgs) GetReq() *VideoServer.DouyinPublishActionRequest
- func (p *PublishActionArgs) IsSetReq() bool
- func (p *PublishActionArgs) Marshal(out []byte) ([]byte, error)
- func (p *PublishActionArgs) Size() (n int)
- func (p *PublishActionArgs) Unmarshal(in []byte) error
- type PublishActionResult
- func (p *PublishActionResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *PublishActionResult) FastWrite(buf []byte) (n int)
- func (p *PublishActionResult) GetSuccess() *VideoServer.DouyinPublishActionResponse
- func (p *PublishActionResult) IsSetSuccess() bool
- func (p *PublishActionResult) Marshal(out []byte) ([]byte, error)
- func (p *PublishActionResult) SetSuccess(x interface{})
- func (p *PublishActionResult) Size() (n int)
- func (p *PublishActionResult) Unmarshal(in []byte) error
- type PublishListArgs
- func (p *PublishListArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *PublishListArgs) FastWrite(buf []byte) (n int)
- func (p *PublishListArgs) GetReq() *VideoServer.DouyinPublishListRequest
- func (p *PublishListArgs) IsSetReq() bool
- func (p *PublishListArgs) Marshal(out []byte) ([]byte, error)
- func (p *PublishListArgs) Size() (n int)
- func (p *PublishListArgs) Unmarshal(in []byte) error
- type PublishListResult
- func (p *PublishListResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *PublishListResult) FastWrite(buf []byte) (n int)
- func (p *PublishListResult) GetSuccess() *VideoServer.DouyinPublishListResponse
- func (p *PublishListResult) IsSetSuccess() bool
- func (p *PublishListResult) Marshal(out []byte) ([]byte, error)
- func (p *PublishListResult) SetSuccess(x interface{})
- func (p *PublishListResult) Size() (n int)
- func (p *PublishListResult) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var FeedArgs_Req_DEFAULT *VideoServer.DouyinFeedRequest
View Source
var FeedResult_Success_DEFAULT *VideoServer.DouyinFeedResponse
View Source
var GetVideoListByVideoIdArgs_Req_DEFAULT *VideoServer.DouyinVideoListByVideoId
View Source
var GetVideoListByVideoIdResult_Success_DEFAULT *VideoServer.DouyinPublishListResponse
View Source
var PublishActionArgs_Req_DEFAULT *VideoServer.DouyinPublishActionRequest
View Source
var PublishActionResult_Success_DEFAULT *VideoServer.DouyinPublishActionResponse
View Source
var PublishListArgs_Req_DEFAULT *VideoServer.DouyinPublishListRequest
View Source
var PublishListResult_Success_DEFAULT *VideoServer.DouyinPublishListResponse
Functions ¶
func NewInvoker ¶
NewInvoker creates a server.Invoker with the given handler and options.
func NewServiceInfo ¶
func NewServiceInfo() *kitex.ServiceInfo
Types ¶
type Client ¶
type Client interface { Feed(ctx context.Context, Req *VideoServer.DouyinFeedRequest, callOptions ...callopt.Option) (r *VideoServer.DouyinFeedResponse, err error) PublishAction(ctx context.Context, Req *VideoServer.DouyinPublishActionRequest, callOptions ...callopt.Option) (r *VideoServer.DouyinPublishActionResponse, err error) PublishList(ctx context.Context, Req *VideoServer.DouyinPublishListRequest, callOptions ...callopt.Option) (r *VideoServer.DouyinPublishListResponse, err error) GetVideoListByVideoId(ctx context.Context, Req *VideoServer.DouyinVideoListByVideoId, callOptions ...callopt.Option) (r *VideoServer.DouyinPublishListResponse, err error) }
Client is designed to provide IDL-compatible methods with call-option parameter for kitex framework.
func MustNewClient ¶
MustNewClient creates a client for the service defined in IDL. It panics if any error occurs.
type FeedArgs ¶
type FeedArgs struct {
Req *VideoServer.DouyinFeedRequest
}
func (*FeedArgs) GetReq ¶
func (p *FeedArgs) GetReq() *VideoServer.DouyinFeedRequest
type FeedResult ¶
type FeedResult struct {
Success *VideoServer.DouyinFeedResponse
}
func (*FeedResult) FastWrite ¶
func (p *FeedResult) FastWrite(buf []byte) (n int)
func (*FeedResult) GetSuccess ¶
func (p *FeedResult) GetSuccess() *VideoServer.DouyinFeedResponse
func (*FeedResult) IsSetSuccess ¶
func (p *FeedResult) IsSetSuccess() bool
func (*FeedResult) SetSuccess ¶
func (p *FeedResult) SetSuccess(x interface{})
func (*FeedResult) Size ¶
func (p *FeedResult) Size() (n int)
func (*FeedResult) Unmarshal ¶
func (p *FeedResult) Unmarshal(in []byte) error
type GetVideoListByVideoIdArgs ¶
type GetVideoListByVideoIdArgs struct {
Req *VideoServer.DouyinVideoListByVideoId
}
func (*GetVideoListByVideoIdArgs) FastWrite ¶
func (p *GetVideoListByVideoIdArgs) FastWrite(buf []byte) (n int)
func (*GetVideoListByVideoIdArgs) GetReq ¶
func (p *GetVideoListByVideoIdArgs) GetReq() *VideoServer.DouyinVideoListByVideoId
func (*GetVideoListByVideoIdArgs) IsSetReq ¶
func (p *GetVideoListByVideoIdArgs) IsSetReq() bool
func (*GetVideoListByVideoIdArgs) Marshal ¶
func (p *GetVideoListByVideoIdArgs) Marshal(out []byte) ([]byte, error)
func (*GetVideoListByVideoIdArgs) Size ¶
func (p *GetVideoListByVideoIdArgs) Size() (n int)
func (*GetVideoListByVideoIdArgs) Unmarshal ¶
func (p *GetVideoListByVideoIdArgs) Unmarshal(in []byte) error
type GetVideoListByVideoIdResult ¶
type GetVideoListByVideoIdResult struct {
Success *VideoServer.DouyinPublishListResponse
}
func (*GetVideoListByVideoIdResult) FastWrite ¶
func (p *GetVideoListByVideoIdResult) FastWrite(buf []byte) (n int)
func (*GetVideoListByVideoIdResult) GetSuccess ¶
func (p *GetVideoListByVideoIdResult) GetSuccess() *VideoServer.DouyinPublishListResponse
func (*GetVideoListByVideoIdResult) IsSetSuccess ¶
func (p *GetVideoListByVideoIdResult) IsSetSuccess() bool
func (*GetVideoListByVideoIdResult) Marshal ¶
func (p *GetVideoListByVideoIdResult) Marshal(out []byte) ([]byte, error)
func (*GetVideoListByVideoIdResult) SetSuccess ¶
func (p *GetVideoListByVideoIdResult) SetSuccess(x interface{})
func (*GetVideoListByVideoIdResult) Size ¶
func (p *GetVideoListByVideoIdResult) Size() (n int)
func (*GetVideoListByVideoIdResult) Unmarshal ¶
func (p *GetVideoListByVideoIdResult) Unmarshal(in []byte) error
type PublishActionArgs ¶
type PublishActionArgs struct {
Req *VideoServer.DouyinPublishActionRequest
}
func (*PublishActionArgs) FastWrite ¶
func (p *PublishActionArgs) FastWrite(buf []byte) (n int)
func (*PublishActionArgs) GetReq ¶
func (p *PublishActionArgs) GetReq() *VideoServer.DouyinPublishActionRequest
func (*PublishActionArgs) IsSetReq ¶
func (p *PublishActionArgs) IsSetReq() bool
func (*PublishActionArgs) Size ¶
func (p *PublishActionArgs) Size() (n int)
func (*PublishActionArgs) Unmarshal ¶
func (p *PublishActionArgs) Unmarshal(in []byte) error
type PublishActionResult ¶
type PublishActionResult struct {
Success *VideoServer.DouyinPublishActionResponse
}
func (*PublishActionResult) FastWrite ¶
func (p *PublishActionResult) FastWrite(buf []byte) (n int)
func (*PublishActionResult) GetSuccess ¶
func (p *PublishActionResult) GetSuccess() *VideoServer.DouyinPublishActionResponse
func (*PublishActionResult) IsSetSuccess ¶
func (p *PublishActionResult) IsSetSuccess() bool
func (*PublishActionResult) Marshal ¶
func (p *PublishActionResult) Marshal(out []byte) ([]byte, error)
func (*PublishActionResult) SetSuccess ¶
func (p *PublishActionResult) SetSuccess(x interface{})
func (*PublishActionResult) Size ¶
func (p *PublishActionResult) Size() (n int)
func (*PublishActionResult) Unmarshal ¶
func (p *PublishActionResult) Unmarshal(in []byte) error
type PublishListArgs ¶
type PublishListArgs struct {
Req *VideoServer.DouyinPublishListRequest
}
func (*PublishListArgs) FastWrite ¶
func (p *PublishListArgs) FastWrite(buf []byte) (n int)
func (*PublishListArgs) GetReq ¶
func (p *PublishListArgs) GetReq() *VideoServer.DouyinPublishListRequest
func (*PublishListArgs) IsSetReq ¶
func (p *PublishListArgs) IsSetReq() bool
func (*PublishListArgs) Size ¶
func (p *PublishListArgs) Size() (n int)
func (*PublishListArgs) Unmarshal ¶
func (p *PublishListArgs) Unmarshal(in []byte) error
type PublishListResult ¶
type PublishListResult struct {
Success *VideoServer.DouyinPublishListResponse
}
func (*PublishListResult) FastWrite ¶
func (p *PublishListResult) FastWrite(buf []byte) (n int)
func (*PublishListResult) GetSuccess ¶
func (p *PublishListResult) GetSuccess() *VideoServer.DouyinPublishListResponse
func (*PublishListResult) IsSetSuccess ¶
func (p *PublishListResult) IsSetSuccess() bool
func (*PublishListResult) SetSuccess ¶
func (p *PublishListResult) SetSuccess(x interface{})
func (*PublishListResult) Size ¶
func (p *PublishListResult) Size() (n int)
func (*PublishListResult) Unmarshal ¶
func (p *PublishListResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.