Documentation ¶
Overview ¶
Code generated by Kitex v0.4.4. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler video_rpc.VideoService, opts ...server.Option) server.Invoker
- func NewServer(handler video_rpc.VideoService, opts ...server.Option) server.Server
- func NewServiceInfo() *kitex.ServiceInfo
- type Client
- type CreateVideoArgs
- func (p *CreateVideoArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CreateVideoArgs) FastWrite(buf []byte) (n int)
- func (p *CreateVideoArgs) GetReq() *video_rpc.CreateVideoReq
- func (p *CreateVideoArgs) IsSetReq() bool
- func (p *CreateVideoArgs) Marshal(out []byte) ([]byte, error)
- func (p *CreateVideoArgs) Size() (n int)
- func (p *CreateVideoArgs) Unmarshal(in []byte) error
- type CreateVideoResult
- func (p *CreateVideoResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CreateVideoResult) FastWrite(buf []byte) (n int)
- func (p *CreateVideoResult) GetSuccess() *video_rpc.CreateVideoResp
- func (p *CreateVideoResult) IsSetSuccess() bool
- func (p *CreateVideoResult) Marshal(out []byte) ([]byte, error)
- func (p *CreateVideoResult) SetSuccess(x interface{})
- func (p *CreateVideoResult) Size() (n int)
- func (p *CreateVideoResult) Unmarshal(in []byte) error
- type DecreaseCommentCountArgs
- func (p *DecreaseCommentCountArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *DecreaseCommentCountArgs) FastWrite(buf []byte) (n int)
- func (p *DecreaseCommentCountArgs) GetReq() *video_rpc.DecreaseCommentCountReq
- func (p *DecreaseCommentCountArgs) IsSetReq() bool
- func (p *DecreaseCommentCountArgs) Marshal(out []byte) ([]byte, error)
- func (p *DecreaseCommentCountArgs) Size() (n int)
- func (p *DecreaseCommentCountArgs) Unmarshal(in []byte) error
- type DecreaseCommentCountResult
- func (p *DecreaseCommentCountResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *DecreaseCommentCountResult) FastWrite(buf []byte) (n int)
- func (p *DecreaseCommentCountResult) GetSuccess() *video_rpc.DecreaseCommentCountResp
- func (p *DecreaseCommentCountResult) IsSetSuccess() bool
- func (p *DecreaseCommentCountResult) Marshal(out []byte) ([]byte, error)
- func (p *DecreaseCommentCountResult) SetSuccess(x interface{})
- func (p *DecreaseCommentCountResult) Size() (n int)
- func (p *DecreaseCommentCountResult) Unmarshal(in []byte) error
- type DecreaseFavoriteCountArgs
- func (p *DecreaseFavoriteCountArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *DecreaseFavoriteCountArgs) FastWrite(buf []byte) (n int)
- func (p *DecreaseFavoriteCountArgs) GetReq() *video_rpc.DecreaseFavoriteCountReq
- func (p *DecreaseFavoriteCountArgs) IsSetReq() bool
- func (p *DecreaseFavoriteCountArgs) Marshal(out []byte) ([]byte, error)
- func (p *DecreaseFavoriteCountArgs) Size() (n int)
- func (p *DecreaseFavoriteCountArgs) Unmarshal(in []byte) error
- type DecreaseFavoriteCountResult
- func (p *DecreaseFavoriteCountResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *DecreaseFavoriteCountResult) FastWrite(buf []byte) (n int)
- func (p *DecreaseFavoriteCountResult) GetSuccess() *video_rpc.DecreaseFavoriteCountResp
- func (p *DecreaseFavoriteCountResult) IsSetSuccess() bool
- func (p *DecreaseFavoriteCountResult) Marshal(out []byte) ([]byte, error)
- func (p *DecreaseFavoriteCountResult) SetSuccess(x interface{})
- func (p *DecreaseFavoriteCountResult) Size() (n int)
- func (p *DecreaseFavoriteCountResult) Unmarshal(in []byte) error
- type GetAuthorArgs
- func (p *GetAuthorArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetAuthorArgs) FastWrite(buf []byte) (n int)
- func (p *GetAuthorArgs) GetReq() *video_rpc.GetAuthorReq
- func (p *GetAuthorArgs) IsSetReq() bool
- func (p *GetAuthorArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetAuthorArgs) Size() (n int)
- func (p *GetAuthorArgs) Unmarshal(in []byte) error
- type GetAuthorResult
- func (p *GetAuthorResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetAuthorResult) FastWrite(buf []byte) (n int)
- func (p *GetAuthorResult) GetSuccess() *video_rpc.GetAuthorResp
- func (p *GetAuthorResult) IsSetSuccess() bool
- func (p *GetAuthorResult) Marshal(out []byte) ([]byte, error)
- func (p *GetAuthorResult) SetSuccess(x interface{})
- func (p *GetAuthorResult) Size() (n int)
- func (p *GetAuthorResult) Unmarshal(in []byte) error
- type IncreaseCommentCountArgs
- func (p *IncreaseCommentCountArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *IncreaseCommentCountArgs) FastWrite(buf []byte) (n int)
- func (p *IncreaseCommentCountArgs) GetReq() *video_rpc.IncreaseCommentCountReq
- func (p *IncreaseCommentCountArgs) IsSetReq() bool
- func (p *IncreaseCommentCountArgs) Marshal(out []byte) ([]byte, error)
- func (p *IncreaseCommentCountArgs) Size() (n int)
- func (p *IncreaseCommentCountArgs) Unmarshal(in []byte) error
- type IncreaseCommentCountResult
- func (p *IncreaseCommentCountResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *IncreaseCommentCountResult) FastWrite(buf []byte) (n int)
- func (p *IncreaseCommentCountResult) GetSuccess() *video_rpc.IncreaseCommentCountResp
- func (p *IncreaseCommentCountResult) IsSetSuccess() bool
- func (p *IncreaseCommentCountResult) Marshal(out []byte) ([]byte, error)
- func (p *IncreaseCommentCountResult) SetSuccess(x interface{})
- func (p *IncreaseCommentCountResult) Size() (n int)
- func (p *IncreaseCommentCountResult) Unmarshal(in []byte) error
- type IncreaseFavoriteCountArgs
- func (p *IncreaseFavoriteCountArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *IncreaseFavoriteCountArgs) FastWrite(buf []byte) (n int)
- func (p *IncreaseFavoriteCountArgs) GetReq() *video_rpc.IncreaseFavoriteCountReq
- func (p *IncreaseFavoriteCountArgs) IsSetReq() bool
- func (p *IncreaseFavoriteCountArgs) Marshal(out []byte) ([]byte, error)
- func (p *IncreaseFavoriteCountArgs) Size() (n int)
- func (p *IncreaseFavoriteCountArgs) Unmarshal(in []byte) error
- type IncreaseFavoriteCountResult
- func (p *IncreaseFavoriteCountResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *IncreaseFavoriteCountResult) FastWrite(buf []byte) (n int)
- func (p *IncreaseFavoriteCountResult) GetSuccess() *video_rpc.IncreaseFavoriteCountResp
- func (p *IncreaseFavoriteCountResult) IsSetSuccess() bool
- func (p *IncreaseFavoriteCountResult) Marshal(out []byte) ([]byte, error)
- func (p *IncreaseFavoriteCountResult) SetSuccess(x interface{})
- func (p *IncreaseFavoriteCountResult) Size() (n int)
- func (p *IncreaseFavoriteCountResult) Unmarshal(in []byte) error
- type QueryVideoArgs
- func (p *QueryVideoArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *QueryVideoArgs) FastWrite(buf []byte) (n int)
- func (p *QueryVideoArgs) GetReq() *video_rpc.QueryVideoReq
- func (p *QueryVideoArgs) IsSetReq() bool
- func (p *QueryVideoArgs) Marshal(out []byte) ([]byte, error)
- func (p *QueryVideoArgs) Size() (n int)
- func (p *QueryVideoArgs) Unmarshal(in []byte) error
- type QueryVideoByIdBatchArgs
- func (p *QueryVideoByIdBatchArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *QueryVideoByIdBatchArgs) FastWrite(buf []byte) (n int)
- func (p *QueryVideoByIdBatchArgs) GetReq() *video_rpc.QueryVideoByVideoIdBatchReq
- func (p *QueryVideoByIdBatchArgs) IsSetReq() bool
- func (p *QueryVideoByIdBatchArgs) Marshal(out []byte) ([]byte, error)
- func (p *QueryVideoByIdBatchArgs) Size() (n int)
- func (p *QueryVideoByIdBatchArgs) Unmarshal(in []byte) error
- type QueryVideoByIdBatchResult
- func (p *QueryVideoByIdBatchResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *QueryVideoByIdBatchResult) FastWrite(buf []byte) (n int)
- func (p *QueryVideoByIdBatchResult) GetSuccess() *video_rpc.QueryVideoByVideoIdBatchResp
- func (p *QueryVideoByIdBatchResult) IsSetSuccess() bool
- func (p *QueryVideoByIdBatchResult) Marshal(out []byte) ([]byte, error)
- func (p *QueryVideoByIdBatchResult) SetSuccess(x interface{})
- func (p *QueryVideoByIdBatchResult) Size() (n int)
- func (p *QueryVideoByIdBatchResult) Unmarshal(in []byte) error
- type QueryVideoByUserArgs
- func (p *QueryVideoByUserArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *QueryVideoByUserArgs) FastWrite(buf []byte) (n int)
- func (p *QueryVideoByUserArgs) GetReq() *video_rpc.QueryVideoByUserReq
- func (p *QueryVideoByUserArgs) IsSetReq() bool
- func (p *QueryVideoByUserArgs) Marshal(out []byte) ([]byte, error)
- func (p *QueryVideoByUserArgs) Size() (n int)
- func (p *QueryVideoByUserArgs) Unmarshal(in []byte) error
- type QueryVideoByUserResult
- func (p *QueryVideoByUserResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *QueryVideoByUserResult) FastWrite(buf []byte) (n int)
- func (p *QueryVideoByUserResult) GetSuccess() *video_rpc.QueryVideoByUserResp
- func (p *QueryVideoByUserResult) IsSetSuccess() bool
- func (p *QueryVideoByUserResult) Marshal(out []byte) ([]byte, error)
- func (p *QueryVideoByUserResult) SetSuccess(x interface{})
- func (p *QueryVideoByUserResult) Size() (n int)
- func (p *QueryVideoByUserResult) Unmarshal(in []byte) error
- type QueryVideoResult
- func (p *QueryVideoResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *QueryVideoResult) FastWrite(buf []byte) (n int)
- func (p *QueryVideoResult) GetSuccess() *video_rpc.QueryVideoResp
- func (p *QueryVideoResult) IsSetSuccess() bool
- func (p *QueryVideoResult) Marshal(out []byte) ([]byte, error)
- func (p *QueryVideoResult) SetSuccess(x interface{})
- func (p *QueryVideoResult) Size() (n int)
- func (p *QueryVideoResult) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateVideoArgs_Req_DEFAULT *video_rpc.CreateVideoReq
View Source
var CreateVideoResult_Success_DEFAULT *video_rpc.CreateVideoResp
View Source
var DecreaseCommentCountArgs_Req_DEFAULT *video_rpc.DecreaseCommentCountReq
View Source
var DecreaseCommentCountResult_Success_DEFAULT *video_rpc.DecreaseCommentCountResp
View Source
var DecreaseFavoriteCountArgs_Req_DEFAULT *video_rpc.DecreaseFavoriteCountReq
View Source
var DecreaseFavoriteCountResult_Success_DEFAULT *video_rpc.DecreaseFavoriteCountResp
View Source
var GetAuthorArgs_Req_DEFAULT *video_rpc.GetAuthorReq
View Source
var GetAuthorResult_Success_DEFAULT *video_rpc.GetAuthorResp
View Source
var IncreaseCommentCountArgs_Req_DEFAULT *video_rpc.IncreaseCommentCountReq
View Source
var IncreaseCommentCountResult_Success_DEFAULT *video_rpc.IncreaseCommentCountResp
View Source
var IncreaseFavoriteCountArgs_Req_DEFAULT *video_rpc.IncreaseFavoriteCountReq
View Source
var IncreaseFavoriteCountResult_Success_DEFAULT *video_rpc.IncreaseFavoriteCountResp
View Source
var QueryVideoArgs_Req_DEFAULT *video_rpc.QueryVideoReq
View Source
var QueryVideoByIdBatchArgs_Req_DEFAULT *video_rpc.QueryVideoByVideoIdBatchReq
View Source
var QueryVideoByIdBatchResult_Success_DEFAULT *video_rpc.QueryVideoByVideoIdBatchResp
View Source
var QueryVideoByUserArgs_Req_DEFAULT *video_rpc.QueryVideoByUserReq
View Source
var QueryVideoByUserResult_Success_DEFAULT *video_rpc.QueryVideoByUserResp
View Source
var QueryVideoResult_Success_DEFAULT *video_rpc.QueryVideoResp
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 { QueryVideo(ctx context.Context, Req *video_rpc.QueryVideoReq, callOptions ...callopt.Option) (r *video_rpc.QueryVideoResp, err error) CreateVideo(ctx context.Context, Req *video_rpc.CreateVideoReq, callOptions ...callopt.Option) (r *video_rpc.CreateVideoResp, err error) QueryVideoByUser(ctx context.Context, Req *video_rpc.QueryVideoByUserReq, callOptions ...callopt.Option) (r *video_rpc.QueryVideoByUserResp, err error) QueryVideoByIdBatch(ctx context.Context, Req *video_rpc.QueryVideoByVideoIdBatchReq, callOptions ...callopt.Option) (r *video_rpc.QueryVideoByVideoIdBatchResp, err error) IncreaseFavoriteCount(ctx context.Context, Req *video_rpc.IncreaseFavoriteCountReq, callOptions ...callopt.Option) (r *video_rpc.IncreaseFavoriteCountResp, err error) DecreaseFavoriteCount(ctx context.Context, Req *video_rpc.DecreaseFavoriteCountReq, callOptions ...callopt.Option) (r *video_rpc.DecreaseFavoriteCountResp, err error) IncreaseCommentCount(ctx context.Context, Req *video_rpc.IncreaseCommentCountReq, callOptions ...callopt.Option) (r *video_rpc.IncreaseCommentCountResp, err error) DecreaseCommentCount(ctx context.Context, Req *video_rpc.DecreaseCommentCountReq, callOptions ...callopt.Option) (r *video_rpc.DecreaseCommentCountResp, err error) GetAuthor(ctx context.Context, Req *video_rpc.GetAuthorReq, callOptions ...callopt.Option) (r *video_rpc.GetAuthorResp, 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 CreateVideoArgs ¶
type CreateVideoArgs struct {
Req *video_rpc.CreateVideoReq
}
func (*CreateVideoArgs) FastWrite ¶
func (p *CreateVideoArgs) FastWrite(buf []byte) (n int)
func (*CreateVideoArgs) GetReq ¶
func (p *CreateVideoArgs) GetReq() *video_rpc.CreateVideoReq
func (*CreateVideoArgs) IsSetReq ¶
func (p *CreateVideoArgs) IsSetReq() bool
func (*CreateVideoArgs) Size ¶
func (p *CreateVideoArgs) Size() (n int)
func (*CreateVideoArgs) Unmarshal ¶
func (p *CreateVideoArgs) Unmarshal(in []byte) error
type CreateVideoResult ¶
type CreateVideoResult struct {
Success *video_rpc.CreateVideoResp
}
func (*CreateVideoResult) FastWrite ¶
func (p *CreateVideoResult) FastWrite(buf []byte) (n int)
func (*CreateVideoResult) GetSuccess ¶
func (p *CreateVideoResult) GetSuccess() *video_rpc.CreateVideoResp
func (*CreateVideoResult) IsSetSuccess ¶
func (p *CreateVideoResult) IsSetSuccess() bool
func (*CreateVideoResult) SetSuccess ¶
func (p *CreateVideoResult) SetSuccess(x interface{})
func (*CreateVideoResult) Size ¶
func (p *CreateVideoResult) Size() (n int)
func (*CreateVideoResult) Unmarshal ¶
func (p *CreateVideoResult) Unmarshal(in []byte) error
type DecreaseCommentCountArgs ¶
type DecreaseCommentCountArgs struct {
Req *video_rpc.DecreaseCommentCountReq
}
func (*DecreaseCommentCountArgs) FastWrite ¶
func (p *DecreaseCommentCountArgs) FastWrite(buf []byte) (n int)
func (*DecreaseCommentCountArgs) GetReq ¶
func (p *DecreaseCommentCountArgs) GetReq() *video_rpc.DecreaseCommentCountReq
func (*DecreaseCommentCountArgs) IsSetReq ¶
func (p *DecreaseCommentCountArgs) IsSetReq() bool
func (*DecreaseCommentCountArgs) Marshal ¶
func (p *DecreaseCommentCountArgs) Marshal(out []byte) ([]byte, error)
func (*DecreaseCommentCountArgs) Size ¶
func (p *DecreaseCommentCountArgs) Size() (n int)
func (*DecreaseCommentCountArgs) Unmarshal ¶
func (p *DecreaseCommentCountArgs) Unmarshal(in []byte) error
type DecreaseCommentCountResult ¶
type DecreaseCommentCountResult struct {
Success *video_rpc.DecreaseCommentCountResp
}
func (*DecreaseCommentCountResult) FastWrite ¶
func (p *DecreaseCommentCountResult) FastWrite(buf []byte) (n int)
func (*DecreaseCommentCountResult) GetSuccess ¶
func (p *DecreaseCommentCountResult) GetSuccess() *video_rpc.DecreaseCommentCountResp
func (*DecreaseCommentCountResult) IsSetSuccess ¶
func (p *DecreaseCommentCountResult) IsSetSuccess() bool
func (*DecreaseCommentCountResult) Marshal ¶
func (p *DecreaseCommentCountResult) Marshal(out []byte) ([]byte, error)
func (*DecreaseCommentCountResult) SetSuccess ¶
func (p *DecreaseCommentCountResult) SetSuccess(x interface{})
func (*DecreaseCommentCountResult) Size ¶
func (p *DecreaseCommentCountResult) Size() (n int)
func (*DecreaseCommentCountResult) Unmarshal ¶
func (p *DecreaseCommentCountResult) Unmarshal(in []byte) error
type DecreaseFavoriteCountArgs ¶
type DecreaseFavoriteCountArgs struct {
Req *video_rpc.DecreaseFavoriteCountReq
}
func (*DecreaseFavoriteCountArgs) FastWrite ¶
func (p *DecreaseFavoriteCountArgs) FastWrite(buf []byte) (n int)
func (*DecreaseFavoriteCountArgs) GetReq ¶
func (p *DecreaseFavoriteCountArgs) GetReq() *video_rpc.DecreaseFavoriteCountReq
func (*DecreaseFavoriteCountArgs) IsSetReq ¶
func (p *DecreaseFavoriteCountArgs) IsSetReq() bool
func (*DecreaseFavoriteCountArgs) Marshal ¶
func (p *DecreaseFavoriteCountArgs) Marshal(out []byte) ([]byte, error)
func (*DecreaseFavoriteCountArgs) Size ¶
func (p *DecreaseFavoriteCountArgs) Size() (n int)
func (*DecreaseFavoriteCountArgs) Unmarshal ¶
func (p *DecreaseFavoriteCountArgs) Unmarshal(in []byte) error
type DecreaseFavoriteCountResult ¶
type DecreaseFavoriteCountResult struct {
Success *video_rpc.DecreaseFavoriteCountResp
}
func (*DecreaseFavoriteCountResult) FastWrite ¶
func (p *DecreaseFavoriteCountResult) FastWrite(buf []byte) (n int)
func (*DecreaseFavoriteCountResult) GetSuccess ¶
func (p *DecreaseFavoriteCountResult) GetSuccess() *video_rpc.DecreaseFavoriteCountResp
func (*DecreaseFavoriteCountResult) IsSetSuccess ¶
func (p *DecreaseFavoriteCountResult) IsSetSuccess() bool
func (*DecreaseFavoriteCountResult) Marshal ¶
func (p *DecreaseFavoriteCountResult) Marshal(out []byte) ([]byte, error)
func (*DecreaseFavoriteCountResult) SetSuccess ¶
func (p *DecreaseFavoriteCountResult) SetSuccess(x interface{})
func (*DecreaseFavoriteCountResult) Size ¶
func (p *DecreaseFavoriteCountResult) Size() (n int)
func (*DecreaseFavoriteCountResult) Unmarshal ¶
func (p *DecreaseFavoriteCountResult) Unmarshal(in []byte) error
type GetAuthorArgs ¶
type GetAuthorArgs struct {
Req *video_rpc.GetAuthorReq
}
func (*GetAuthorArgs) FastWrite ¶
func (p *GetAuthorArgs) FastWrite(buf []byte) (n int)
func (*GetAuthorArgs) GetReq ¶
func (p *GetAuthorArgs) GetReq() *video_rpc.GetAuthorReq
func (*GetAuthorArgs) IsSetReq ¶
func (p *GetAuthorArgs) IsSetReq() bool
func (*GetAuthorArgs) Size ¶
func (p *GetAuthorArgs) Size() (n int)
func (*GetAuthorArgs) Unmarshal ¶
func (p *GetAuthorArgs) Unmarshal(in []byte) error
type GetAuthorResult ¶
type GetAuthorResult struct {
Success *video_rpc.GetAuthorResp
}
func (*GetAuthorResult) FastWrite ¶
func (p *GetAuthorResult) FastWrite(buf []byte) (n int)
func (*GetAuthorResult) GetSuccess ¶
func (p *GetAuthorResult) GetSuccess() *video_rpc.GetAuthorResp
func (*GetAuthorResult) IsSetSuccess ¶
func (p *GetAuthorResult) IsSetSuccess() bool
func (*GetAuthorResult) SetSuccess ¶
func (p *GetAuthorResult) SetSuccess(x interface{})
func (*GetAuthorResult) Size ¶
func (p *GetAuthorResult) Size() (n int)
func (*GetAuthorResult) Unmarshal ¶
func (p *GetAuthorResult) Unmarshal(in []byte) error
type IncreaseCommentCountArgs ¶
type IncreaseCommentCountArgs struct {
Req *video_rpc.IncreaseCommentCountReq
}
func (*IncreaseCommentCountArgs) FastWrite ¶
func (p *IncreaseCommentCountArgs) FastWrite(buf []byte) (n int)
func (*IncreaseCommentCountArgs) GetReq ¶
func (p *IncreaseCommentCountArgs) GetReq() *video_rpc.IncreaseCommentCountReq
func (*IncreaseCommentCountArgs) IsSetReq ¶
func (p *IncreaseCommentCountArgs) IsSetReq() bool
func (*IncreaseCommentCountArgs) Marshal ¶
func (p *IncreaseCommentCountArgs) Marshal(out []byte) ([]byte, error)
func (*IncreaseCommentCountArgs) Size ¶
func (p *IncreaseCommentCountArgs) Size() (n int)
func (*IncreaseCommentCountArgs) Unmarshal ¶
func (p *IncreaseCommentCountArgs) Unmarshal(in []byte) error
type IncreaseCommentCountResult ¶
type IncreaseCommentCountResult struct {
Success *video_rpc.IncreaseCommentCountResp
}
func (*IncreaseCommentCountResult) FastWrite ¶
func (p *IncreaseCommentCountResult) FastWrite(buf []byte) (n int)
func (*IncreaseCommentCountResult) GetSuccess ¶
func (p *IncreaseCommentCountResult) GetSuccess() *video_rpc.IncreaseCommentCountResp
func (*IncreaseCommentCountResult) IsSetSuccess ¶
func (p *IncreaseCommentCountResult) IsSetSuccess() bool
func (*IncreaseCommentCountResult) Marshal ¶
func (p *IncreaseCommentCountResult) Marshal(out []byte) ([]byte, error)
func (*IncreaseCommentCountResult) SetSuccess ¶
func (p *IncreaseCommentCountResult) SetSuccess(x interface{})
func (*IncreaseCommentCountResult) Size ¶
func (p *IncreaseCommentCountResult) Size() (n int)
func (*IncreaseCommentCountResult) Unmarshal ¶
func (p *IncreaseCommentCountResult) Unmarshal(in []byte) error
type IncreaseFavoriteCountArgs ¶
type IncreaseFavoriteCountArgs struct {
Req *video_rpc.IncreaseFavoriteCountReq
}
func (*IncreaseFavoriteCountArgs) FastWrite ¶
func (p *IncreaseFavoriteCountArgs) FastWrite(buf []byte) (n int)
func (*IncreaseFavoriteCountArgs) GetReq ¶
func (p *IncreaseFavoriteCountArgs) GetReq() *video_rpc.IncreaseFavoriteCountReq
func (*IncreaseFavoriteCountArgs) IsSetReq ¶
func (p *IncreaseFavoriteCountArgs) IsSetReq() bool
func (*IncreaseFavoriteCountArgs) Marshal ¶
func (p *IncreaseFavoriteCountArgs) Marshal(out []byte) ([]byte, error)
func (*IncreaseFavoriteCountArgs) Size ¶
func (p *IncreaseFavoriteCountArgs) Size() (n int)
func (*IncreaseFavoriteCountArgs) Unmarshal ¶
func (p *IncreaseFavoriteCountArgs) Unmarshal(in []byte) error
type IncreaseFavoriteCountResult ¶
type IncreaseFavoriteCountResult struct {
Success *video_rpc.IncreaseFavoriteCountResp
}
func (*IncreaseFavoriteCountResult) FastWrite ¶
func (p *IncreaseFavoriteCountResult) FastWrite(buf []byte) (n int)
func (*IncreaseFavoriteCountResult) GetSuccess ¶
func (p *IncreaseFavoriteCountResult) GetSuccess() *video_rpc.IncreaseFavoriteCountResp
func (*IncreaseFavoriteCountResult) IsSetSuccess ¶
func (p *IncreaseFavoriteCountResult) IsSetSuccess() bool
func (*IncreaseFavoriteCountResult) Marshal ¶
func (p *IncreaseFavoriteCountResult) Marshal(out []byte) ([]byte, error)
func (*IncreaseFavoriteCountResult) SetSuccess ¶
func (p *IncreaseFavoriteCountResult) SetSuccess(x interface{})
func (*IncreaseFavoriteCountResult) Size ¶
func (p *IncreaseFavoriteCountResult) Size() (n int)
func (*IncreaseFavoriteCountResult) Unmarshal ¶
func (p *IncreaseFavoriteCountResult) Unmarshal(in []byte) error
type QueryVideoArgs ¶
type QueryVideoArgs struct {
Req *video_rpc.QueryVideoReq
}
func (*QueryVideoArgs) FastWrite ¶
func (p *QueryVideoArgs) FastWrite(buf []byte) (n int)
func (*QueryVideoArgs) GetReq ¶
func (p *QueryVideoArgs) GetReq() *video_rpc.QueryVideoReq
func (*QueryVideoArgs) IsSetReq ¶
func (p *QueryVideoArgs) IsSetReq() bool
func (*QueryVideoArgs) Size ¶
func (p *QueryVideoArgs) Size() (n int)
func (*QueryVideoArgs) Unmarshal ¶
func (p *QueryVideoArgs) Unmarshal(in []byte) error
type QueryVideoByIdBatchArgs ¶
type QueryVideoByIdBatchArgs struct {
Req *video_rpc.QueryVideoByVideoIdBatchReq
}
func (*QueryVideoByIdBatchArgs) FastWrite ¶
func (p *QueryVideoByIdBatchArgs) FastWrite(buf []byte) (n int)
func (*QueryVideoByIdBatchArgs) GetReq ¶
func (p *QueryVideoByIdBatchArgs) GetReq() *video_rpc.QueryVideoByVideoIdBatchReq
func (*QueryVideoByIdBatchArgs) IsSetReq ¶
func (p *QueryVideoByIdBatchArgs) IsSetReq() bool
func (*QueryVideoByIdBatchArgs) Marshal ¶
func (p *QueryVideoByIdBatchArgs) Marshal(out []byte) ([]byte, error)
func (*QueryVideoByIdBatchArgs) Size ¶
func (p *QueryVideoByIdBatchArgs) Size() (n int)
func (*QueryVideoByIdBatchArgs) Unmarshal ¶
func (p *QueryVideoByIdBatchArgs) Unmarshal(in []byte) error
type QueryVideoByIdBatchResult ¶
type QueryVideoByIdBatchResult struct {
Success *video_rpc.QueryVideoByVideoIdBatchResp
}
func (*QueryVideoByIdBatchResult) FastWrite ¶
func (p *QueryVideoByIdBatchResult) FastWrite(buf []byte) (n int)
func (*QueryVideoByIdBatchResult) GetSuccess ¶
func (p *QueryVideoByIdBatchResult) GetSuccess() *video_rpc.QueryVideoByVideoIdBatchResp
func (*QueryVideoByIdBatchResult) IsSetSuccess ¶
func (p *QueryVideoByIdBatchResult) IsSetSuccess() bool
func (*QueryVideoByIdBatchResult) Marshal ¶
func (p *QueryVideoByIdBatchResult) Marshal(out []byte) ([]byte, error)
func (*QueryVideoByIdBatchResult) SetSuccess ¶
func (p *QueryVideoByIdBatchResult) SetSuccess(x interface{})
func (*QueryVideoByIdBatchResult) Size ¶
func (p *QueryVideoByIdBatchResult) Size() (n int)
func (*QueryVideoByIdBatchResult) Unmarshal ¶
func (p *QueryVideoByIdBatchResult) Unmarshal(in []byte) error
type QueryVideoByUserArgs ¶
type QueryVideoByUserArgs struct {
Req *video_rpc.QueryVideoByUserReq
}
func (*QueryVideoByUserArgs) FastWrite ¶
func (p *QueryVideoByUserArgs) FastWrite(buf []byte) (n int)
func (*QueryVideoByUserArgs) GetReq ¶
func (p *QueryVideoByUserArgs) GetReq() *video_rpc.QueryVideoByUserReq
func (*QueryVideoByUserArgs) IsSetReq ¶
func (p *QueryVideoByUserArgs) IsSetReq() bool
func (*QueryVideoByUserArgs) Marshal ¶
func (p *QueryVideoByUserArgs) Marshal(out []byte) ([]byte, error)
func (*QueryVideoByUserArgs) Size ¶
func (p *QueryVideoByUserArgs) Size() (n int)
func (*QueryVideoByUserArgs) Unmarshal ¶
func (p *QueryVideoByUserArgs) Unmarshal(in []byte) error
type QueryVideoByUserResult ¶
type QueryVideoByUserResult struct {
Success *video_rpc.QueryVideoByUserResp
}
func (*QueryVideoByUserResult) FastWrite ¶
func (p *QueryVideoByUserResult) FastWrite(buf []byte) (n int)
func (*QueryVideoByUserResult) GetSuccess ¶
func (p *QueryVideoByUserResult) GetSuccess() *video_rpc.QueryVideoByUserResp
func (*QueryVideoByUserResult) IsSetSuccess ¶
func (p *QueryVideoByUserResult) IsSetSuccess() bool
func (*QueryVideoByUserResult) Marshal ¶
func (p *QueryVideoByUserResult) Marshal(out []byte) ([]byte, error)
func (*QueryVideoByUserResult) SetSuccess ¶
func (p *QueryVideoByUserResult) SetSuccess(x interface{})
func (*QueryVideoByUserResult) Size ¶
func (p *QueryVideoByUserResult) Size() (n int)
func (*QueryVideoByUserResult) Unmarshal ¶
func (p *QueryVideoByUserResult) Unmarshal(in []byte) error
type QueryVideoResult ¶
type QueryVideoResult struct {
Success *video_rpc.QueryVideoResp
}
func (*QueryVideoResult) FastWrite ¶
func (p *QueryVideoResult) FastWrite(buf []byte) (n int)
func (*QueryVideoResult) GetSuccess ¶
func (p *QueryVideoResult) GetSuccess() *video_rpc.QueryVideoResp
func (*QueryVideoResult) IsSetSuccess ¶
func (p *QueryVideoResult) IsSetSuccess() bool
func (*QueryVideoResult) SetSuccess ¶
func (p *QueryVideoResult) SetSuccess(x interface{})
func (*QueryVideoResult) Size ¶
func (p *QueryVideoResult) Size() (n int)
func (*QueryVideoResult) Unmarshal ¶
func (p *QueryVideoResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.