Documentation
¶
Overview ¶
Code generated by Kitex v0.6.2. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler video.VideoService, opts ...server.Option) server.Invoker
- func NewServer(handler video.VideoService, 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) GetFirstArgument() interface{}
- func (p *FeedArgs) GetReq() *video.FeedRequest
- 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) GetResult() interface{}
- func (p *FeedResult) GetSuccess() *video.FeedResponse
- 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 GetFavoriteVideoInfoArgs
- func (p *GetFavoriteVideoInfoArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetFavoriteVideoInfoArgs) FastWrite(buf []byte) (n int)
- func (p *GetFavoriteVideoInfoArgs) GetFirstArgument() interface{}
- func (p *GetFavoriteVideoInfoArgs) GetReq() *video.GetFavoriteVideoInfoRequest
- func (p *GetFavoriteVideoInfoArgs) IsSetReq() bool
- func (p *GetFavoriteVideoInfoArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetFavoriteVideoInfoArgs) Size() (n int)
- func (p *GetFavoriteVideoInfoArgs) Unmarshal(in []byte) error
- type GetFavoriteVideoInfoResult
- func (p *GetFavoriteVideoInfoResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetFavoriteVideoInfoResult) FastWrite(buf []byte) (n int)
- func (p *GetFavoriteVideoInfoResult) GetResult() interface{}
- func (p *GetFavoriteVideoInfoResult) GetSuccess() *video.GetFavoriteVideoInfoResponse
- func (p *GetFavoriteVideoInfoResult) IsSetSuccess() bool
- func (p *GetFavoriteVideoInfoResult) Marshal(out []byte) ([]byte, error)
- func (p *GetFavoriteVideoInfoResult) SetSuccess(x interface{})
- func (p *GetFavoriteVideoInfoResult) Size() (n int)
- func (p *GetFavoriteVideoInfoResult) Unmarshal(in []byte) error
- type GetPublishListArgs
- func (p *GetPublishListArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetPublishListArgs) FastWrite(buf []byte) (n int)
- func (p *GetPublishListArgs) GetFirstArgument() interface{}
- func (p *GetPublishListArgs) GetReq() *video.GetPublishListRequest
- func (p *GetPublishListArgs) IsSetReq() bool
- func (p *GetPublishListArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetPublishListArgs) Size() (n int)
- func (p *GetPublishListArgs) Unmarshal(in []byte) error
- type GetPublishListResult
- func (p *GetPublishListResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetPublishListResult) FastWrite(buf []byte) (n int)
- func (p *GetPublishListResult) GetResult() interface{}
- func (p *GetPublishListResult) GetSuccess() *video.GetPublishListResponse
- func (p *GetPublishListResult) IsSetSuccess() bool
- func (p *GetPublishListResult) Marshal(out []byte) ([]byte, error)
- func (p *GetPublishListResult) SetSuccess(x interface{})
- func (p *GetPublishListResult) Size() (n int)
- func (p *GetPublishListResult) Unmarshal(in []byte) error
- type GetVideoIDByUidArgs
- func (p *GetVideoIDByUidArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetVideoIDByUidArgs) FastWrite(buf []byte) (n int)
- func (p *GetVideoIDByUidArgs) GetFirstArgument() interface{}
- func (p *GetVideoIDByUidArgs) GetReq() *video.GetVideoIDByUidRequset
- func (p *GetVideoIDByUidArgs) IsSetReq() bool
- func (p *GetVideoIDByUidArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetVideoIDByUidArgs) Size() (n int)
- func (p *GetVideoIDByUidArgs) Unmarshal(in []byte) error
- type GetVideoIDByUidResult
- func (p *GetVideoIDByUidResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetVideoIDByUidResult) FastWrite(buf []byte) (n int)
- func (p *GetVideoIDByUidResult) GetResult() interface{}
- func (p *GetVideoIDByUidResult) GetSuccess() *video.GetVideoIDByUidResponse
- func (p *GetVideoIDByUidResult) IsSetSuccess() bool
- func (p *GetVideoIDByUidResult) Marshal(out []byte) ([]byte, error)
- func (p *GetVideoIDByUidResult) SetSuccess(x interface{})
- func (p *GetVideoIDByUidResult) Size() (n int)
- func (p *GetVideoIDByUidResult) Unmarshal(in []byte) error
- type GetWorkCountArgs
- func (p *GetWorkCountArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetWorkCountArgs) FastWrite(buf []byte) (n int)
- func (p *GetWorkCountArgs) GetFirstArgument() interface{}
- func (p *GetWorkCountArgs) GetReq() *video.GetWorkCountRequest
- func (p *GetWorkCountArgs) IsSetReq() bool
- func (p *GetWorkCountArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetWorkCountArgs) Size() (n int)
- func (p *GetWorkCountArgs) Unmarshal(in []byte) error
- type GetWorkCountResult
- func (p *GetWorkCountResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetWorkCountResult) FastWrite(buf []byte) (n int)
- func (p *GetWorkCountResult) GetResult() interface{}
- func (p *GetWorkCountResult) GetSuccess() *video.GetWorkCountResponse
- func (p *GetWorkCountResult) IsSetSuccess() bool
- func (p *GetWorkCountResult) Marshal(out []byte) ([]byte, error)
- func (p *GetWorkCountResult) SetSuccess(x interface{})
- func (p *GetWorkCountResult) Size() (n int)
- func (p *GetWorkCountResult) Unmarshal(in []byte) error
- type PutVideoArgs
- func (p *PutVideoArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *PutVideoArgs) FastWrite(buf []byte) (n int)
- func (p *PutVideoArgs) GetFirstArgument() interface{}
- func (p *PutVideoArgs) GetReq() *video.PutVideoRequest
- func (p *PutVideoArgs) IsSetReq() bool
- func (p *PutVideoArgs) Marshal(out []byte) ([]byte, error)
- func (p *PutVideoArgs) Size() (n int)
- func (p *PutVideoArgs) Unmarshal(in []byte) error
- type PutVideoResult
- func (p *PutVideoResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *PutVideoResult) FastWrite(buf []byte) (n int)
- func (p *PutVideoResult) GetResult() interface{}
- func (p *PutVideoResult) GetSuccess() *video.PutVideoResponse
- func (p *PutVideoResult) IsSetSuccess() bool
- func (p *PutVideoResult) Marshal(out []byte) ([]byte, error)
- func (p *PutVideoResult) SetSuccess(x interface{})
- func (p *PutVideoResult) Size() (n int)
- func (p *PutVideoResult) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var FeedArgs_Req_DEFAULT *video.FeedRequest
View Source
var FeedResult_Success_DEFAULT *video.FeedResponse
View Source
var GetFavoriteVideoInfoArgs_Req_DEFAULT *video.GetFavoriteVideoInfoRequest
View Source
var GetFavoriteVideoInfoResult_Success_DEFAULT *video.GetFavoriteVideoInfoResponse
View Source
var GetPublishListArgs_Req_DEFAULT *video.GetPublishListRequest
View Source
var GetPublishListResult_Success_DEFAULT *video.GetPublishListResponse
View Source
var GetVideoIDByUidArgs_Req_DEFAULT *video.GetVideoIDByUidRequset
View Source
var GetVideoIDByUidResult_Success_DEFAULT *video.GetVideoIDByUidResponse
View Source
var GetWorkCountArgs_Req_DEFAULT *video.GetWorkCountRequest
View Source
var GetWorkCountResult_Success_DEFAULT *video.GetWorkCountResponse
View Source
var PutVideoArgs_Req_DEFAULT *video.PutVideoRequest
View Source
var PutVideoResult_Success_DEFAULT *video.PutVideoResponse
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 *video.FeedRequest, callOptions ...callopt.Option) (r *video.FeedResponse, err error) PutVideo(ctx context.Context, Req *video.PutVideoRequest, callOptions ...callopt.Option) (r *video.PutVideoResponse, err error) GetFavoriteVideoInfo(ctx context.Context, Req *video.GetFavoriteVideoInfoRequest, callOptions ...callopt.Option) (r *video.GetFavoriteVideoInfoResponse, err error) GetPublishList(ctx context.Context, Req *video.GetPublishListRequest, callOptions ...callopt.Option) (r *video.GetPublishListResponse, err error) GetWorkCount(ctx context.Context, Req *video.GetWorkCountRequest, callOptions ...callopt.Option) (r *video.GetWorkCountResponse, err error) GetVideoIDByUid(ctx context.Context, Req *video.GetVideoIDByUidRequset, callOptions ...callopt.Option) (r *video.GetVideoIDByUidResponse, 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 *video.FeedRequest
}
func (*FeedArgs) GetFirstArgument ¶
func (p *FeedArgs) GetFirstArgument() interface{}
func (*FeedArgs) GetReq ¶
func (p *FeedArgs) GetReq() *video.FeedRequest
type FeedResult ¶
type FeedResult struct {
Success *video.FeedResponse
}
func (*FeedResult) FastWrite ¶
func (p *FeedResult) FastWrite(buf []byte) (n int)
func (*FeedResult) GetResult ¶
func (p *FeedResult) GetResult() interface{}
func (*FeedResult) GetSuccess ¶
func (p *FeedResult) GetSuccess() *video.FeedResponse
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 GetFavoriteVideoInfoArgs ¶
type GetFavoriteVideoInfoArgs struct {
Req *video.GetFavoriteVideoInfoRequest
}
func (*GetFavoriteVideoInfoArgs) FastWrite ¶
func (p *GetFavoriteVideoInfoArgs) FastWrite(buf []byte) (n int)
func (*GetFavoriteVideoInfoArgs) GetFirstArgument ¶
func (p *GetFavoriteVideoInfoArgs) GetFirstArgument() interface{}
func (*GetFavoriteVideoInfoArgs) GetReq ¶
func (p *GetFavoriteVideoInfoArgs) GetReq() *video.GetFavoriteVideoInfoRequest
func (*GetFavoriteVideoInfoArgs) IsSetReq ¶
func (p *GetFavoriteVideoInfoArgs) IsSetReq() bool
func (*GetFavoriteVideoInfoArgs) Marshal ¶
func (p *GetFavoriteVideoInfoArgs) Marshal(out []byte) ([]byte, error)
func (*GetFavoriteVideoInfoArgs) Size ¶
func (p *GetFavoriteVideoInfoArgs) Size() (n int)
func (*GetFavoriteVideoInfoArgs) Unmarshal ¶
func (p *GetFavoriteVideoInfoArgs) Unmarshal(in []byte) error
type GetFavoriteVideoInfoResult ¶
type GetFavoriteVideoInfoResult struct {
Success *video.GetFavoriteVideoInfoResponse
}
func (*GetFavoriteVideoInfoResult) FastWrite ¶
func (p *GetFavoriteVideoInfoResult) FastWrite(buf []byte) (n int)
func (*GetFavoriteVideoInfoResult) GetResult ¶
func (p *GetFavoriteVideoInfoResult) GetResult() interface{}
func (*GetFavoriteVideoInfoResult) GetSuccess ¶
func (p *GetFavoriteVideoInfoResult) GetSuccess() *video.GetFavoriteVideoInfoResponse
func (*GetFavoriteVideoInfoResult) IsSetSuccess ¶
func (p *GetFavoriteVideoInfoResult) IsSetSuccess() bool
func (*GetFavoriteVideoInfoResult) Marshal ¶
func (p *GetFavoriteVideoInfoResult) Marshal(out []byte) ([]byte, error)
func (*GetFavoriteVideoInfoResult) SetSuccess ¶
func (p *GetFavoriteVideoInfoResult) SetSuccess(x interface{})
func (*GetFavoriteVideoInfoResult) Size ¶
func (p *GetFavoriteVideoInfoResult) Size() (n int)
func (*GetFavoriteVideoInfoResult) Unmarshal ¶
func (p *GetFavoriteVideoInfoResult) Unmarshal(in []byte) error
type GetPublishListArgs ¶
type GetPublishListArgs struct {
Req *video.GetPublishListRequest
}
func (*GetPublishListArgs) FastWrite ¶
func (p *GetPublishListArgs) FastWrite(buf []byte) (n int)
func (*GetPublishListArgs) GetFirstArgument ¶
func (p *GetPublishListArgs) GetFirstArgument() interface{}
func (*GetPublishListArgs) GetReq ¶
func (p *GetPublishListArgs) GetReq() *video.GetPublishListRequest
func (*GetPublishListArgs) IsSetReq ¶
func (p *GetPublishListArgs) IsSetReq() bool
func (*GetPublishListArgs) Marshal ¶
func (p *GetPublishListArgs) Marshal(out []byte) ([]byte, error)
func (*GetPublishListArgs) Size ¶
func (p *GetPublishListArgs) Size() (n int)
func (*GetPublishListArgs) Unmarshal ¶
func (p *GetPublishListArgs) Unmarshal(in []byte) error
type GetPublishListResult ¶
type GetPublishListResult struct {
Success *video.GetPublishListResponse
}
func (*GetPublishListResult) FastWrite ¶
func (p *GetPublishListResult) FastWrite(buf []byte) (n int)
func (*GetPublishListResult) GetResult ¶
func (p *GetPublishListResult) GetResult() interface{}
func (*GetPublishListResult) GetSuccess ¶
func (p *GetPublishListResult) GetSuccess() *video.GetPublishListResponse
func (*GetPublishListResult) IsSetSuccess ¶
func (p *GetPublishListResult) IsSetSuccess() bool
func (*GetPublishListResult) Marshal ¶
func (p *GetPublishListResult) Marshal(out []byte) ([]byte, error)
func (*GetPublishListResult) SetSuccess ¶
func (p *GetPublishListResult) SetSuccess(x interface{})
func (*GetPublishListResult) Size ¶
func (p *GetPublishListResult) Size() (n int)
func (*GetPublishListResult) Unmarshal ¶
func (p *GetPublishListResult) Unmarshal(in []byte) error
type GetVideoIDByUidArgs ¶
type GetVideoIDByUidArgs struct {
Req *video.GetVideoIDByUidRequset
}
func (*GetVideoIDByUidArgs) FastWrite ¶
func (p *GetVideoIDByUidArgs) FastWrite(buf []byte) (n int)
func (*GetVideoIDByUidArgs) GetFirstArgument ¶
func (p *GetVideoIDByUidArgs) GetFirstArgument() interface{}
func (*GetVideoIDByUidArgs) GetReq ¶
func (p *GetVideoIDByUidArgs) GetReq() *video.GetVideoIDByUidRequset
func (*GetVideoIDByUidArgs) IsSetReq ¶
func (p *GetVideoIDByUidArgs) IsSetReq() bool
func (*GetVideoIDByUidArgs) Marshal ¶
func (p *GetVideoIDByUidArgs) Marshal(out []byte) ([]byte, error)
func (*GetVideoIDByUidArgs) Size ¶
func (p *GetVideoIDByUidArgs) Size() (n int)
func (*GetVideoIDByUidArgs) Unmarshal ¶
func (p *GetVideoIDByUidArgs) Unmarshal(in []byte) error
type GetVideoIDByUidResult ¶
type GetVideoIDByUidResult struct {
Success *video.GetVideoIDByUidResponse
}
func (*GetVideoIDByUidResult) FastWrite ¶
func (p *GetVideoIDByUidResult) FastWrite(buf []byte) (n int)
func (*GetVideoIDByUidResult) GetResult ¶
func (p *GetVideoIDByUidResult) GetResult() interface{}
func (*GetVideoIDByUidResult) GetSuccess ¶
func (p *GetVideoIDByUidResult) GetSuccess() *video.GetVideoIDByUidResponse
func (*GetVideoIDByUidResult) IsSetSuccess ¶
func (p *GetVideoIDByUidResult) IsSetSuccess() bool
func (*GetVideoIDByUidResult) Marshal ¶
func (p *GetVideoIDByUidResult) Marshal(out []byte) ([]byte, error)
func (*GetVideoIDByUidResult) SetSuccess ¶
func (p *GetVideoIDByUidResult) SetSuccess(x interface{})
func (*GetVideoIDByUidResult) Size ¶
func (p *GetVideoIDByUidResult) Size() (n int)
func (*GetVideoIDByUidResult) Unmarshal ¶
func (p *GetVideoIDByUidResult) Unmarshal(in []byte) error
type GetWorkCountArgs ¶
type GetWorkCountArgs struct {
Req *video.GetWorkCountRequest
}
func (*GetWorkCountArgs) FastWrite ¶
func (p *GetWorkCountArgs) FastWrite(buf []byte) (n int)
func (*GetWorkCountArgs) GetFirstArgument ¶
func (p *GetWorkCountArgs) GetFirstArgument() interface{}
func (*GetWorkCountArgs) GetReq ¶
func (p *GetWorkCountArgs) GetReq() *video.GetWorkCountRequest
func (*GetWorkCountArgs) IsSetReq ¶
func (p *GetWorkCountArgs) IsSetReq() bool
func (*GetWorkCountArgs) Size ¶
func (p *GetWorkCountArgs) Size() (n int)
func (*GetWorkCountArgs) Unmarshal ¶
func (p *GetWorkCountArgs) Unmarshal(in []byte) error
type GetWorkCountResult ¶
type GetWorkCountResult struct {
Success *video.GetWorkCountResponse
}
func (*GetWorkCountResult) FastWrite ¶
func (p *GetWorkCountResult) FastWrite(buf []byte) (n int)
func (*GetWorkCountResult) GetResult ¶
func (p *GetWorkCountResult) GetResult() interface{}
func (*GetWorkCountResult) GetSuccess ¶
func (p *GetWorkCountResult) GetSuccess() *video.GetWorkCountResponse
func (*GetWorkCountResult) IsSetSuccess ¶
func (p *GetWorkCountResult) IsSetSuccess() bool
func (*GetWorkCountResult) Marshal ¶
func (p *GetWorkCountResult) Marshal(out []byte) ([]byte, error)
func (*GetWorkCountResult) SetSuccess ¶
func (p *GetWorkCountResult) SetSuccess(x interface{})
func (*GetWorkCountResult) Size ¶
func (p *GetWorkCountResult) Size() (n int)
func (*GetWorkCountResult) Unmarshal ¶
func (p *GetWorkCountResult) Unmarshal(in []byte) error
type PutVideoArgs ¶
type PutVideoArgs struct {
Req *video.PutVideoRequest
}
func (*PutVideoArgs) FastWrite ¶
func (p *PutVideoArgs) FastWrite(buf []byte) (n int)
func (*PutVideoArgs) GetFirstArgument ¶
func (p *PutVideoArgs) GetFirstArgument() interface{}
func (*PutVideoArgs) GetReq ¶
func (p *PutVideoArgs) GetReq() *video.PutVideoRequest
func (*PutVideoArgs) IsSetReq ¶
func (p *PutVideoArgs) IsSetReq() bool
func (*PutVideoArgs) Size ¶
func (p *PutVideoArgs) Size() (n int)
func (*PutVideoArgs) Unmarshal ¶
func (p *PutVideoArgs) Unmarshal(in []byte) error
type PutVideoResult ¶
type PutVideoResult struct {
Success *video.PutVideoResponse
}
func (*PutVideoResult) FastWrite ¶
func (p *PutVideoResult) FastWrite(buf []byte) (n int)
func (*PutVideoResult) GetResult ¶
func (p *PutVideoResult) GetResult() interface{}
func (*PutVideoResult) GetSuccess ¶
func (p *PutVideoResult) GetSuccess() *video.PutVideoResponse
func (*PutVideoResult) IsSetSuccess ¶
func (p *PutVideoResult) IsSetSuccess() bool
func (*PutVideoResult) SetSuccess ¶
func (p *PutVideoResult) SetSuccess(x interface{})
func (*PutVideoResult) Size ¶
func (p *PutVideoResult) Size() (n int)
func (*PutVideoResult) Unmarshal ¶
func (p *PutVideoResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.