Documentation ¶
Overview ¶
Code generated by Kitex v0.4.4. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler FavoriteServer.FavoriteService, opts ...server.Option) server.Invoker
- func NewServer(handler FavoriteServer.FavoriteService, opts ...server.Option) server.Server
- func NewServiceInfo() *kitex.ServiceInfo
- type Client
- type FavoriteActionArgs
- func (p *FavoriteActionArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *FavoriteActionArgs) FastWrite(buf []byte) (n int)
- func (p *FavoriteActionArgs) GetReq() *FavoriteServer.DouyinFavoriteActionRequest
- func (p *FavoriteActionArgs) IsSetReq() bool
- func (p *FavoriteActionArgs) Marshal(out []byte) ([]byte, error)
- func (p *FavoriteActionArgs) Size() (n int)
- func (p *FavoriteActionArgs) Unmarshal(in []byte) error
- type FavoriteActionResult
- func (p *FavoriteActionResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *FavoriteActionResult) FastWrite(buf []byte) (n int)
- func (p *FavoriteActionResult) GetSuccess() *FavoriteServer.DouyinFavoriteActionResponse
- func (p *FavoriteActionResult) IsSetSuccess() bool
- func (p *FavoriteActionResult) Marshal(out []byte) ([]byte, error)
- func (p *FavoriteActionResult) SetSuccess(x interface{})
- func (p *FavoriteActionResult) Size() (n int)
- func (p *FavoriteActionResult) Unmarshal(in []byte) error
- type GetFavoriteListArgs
- func (p *GetFavoriteListArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetFavoriteListArgs) FastWrite(buf []byte) (n int)
- func (p *GetFavoriteListArgs) GetReq() *FavoriteServer.DouyinFavoriteListRequest
- func (p *GetFavoriteListArgs) IsSetReq() bool
- func (p *GetFavoriteListArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetFavoriteListArgs) Size() (n int)
- func (p *GetFavoriteListArgs) Unmarshal(in []byte) error
- type GetFavoriteListResult
- func (p *GetFavoriteListResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetFavoriteListResult) FastWrite(buf []byte) (n int)
- func (p *GetFavoriteListResult) GetSuccess() *FavoriteServer.DouyinFavoriteListResponse
- func (p *GetFavoriteListResult) IsSetSuccess() bool
- func (p *GetFavoriteListResult) Marshal(out []byte) ([]byte, error)
- func (p *GetFavoriteListResult) SetSuccess(x interface{})
- func (p *GetFavoriteListResult) Size() (n int)
- func (p *GetFavoriteListResult) Unmarshal(in []byte) error
- type GetFavoriteUserArgs
- func (p *GetFavoriteUserArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetFavoriteUserArgs) FastWrite(buf []byte) (n int)
- func (p *GetFavoriteUserArgs) GetReq() *FavoriteServer.DouyinUserBeFavoriteRequest
- func (p *GetFavoriteUserArgs) IsSetReq() bool
- func (p *GetFavoriteUserArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetFavoriteUserArgs) Size() (n int)
- func (p *GetFavoriteUserArgs) Unmarshal(in []byte) error
- type GetFavoriteUserResult
- func (p *GetFavoriteUserResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetFavoriteUserResult) FastWrite(buf []byte) (n int)
- func (p *GetFavoriteUserResult) GetSuccess() *FavoriteServer.DouyinUserBeFavoriteResponse
- func (p *GetFavoriteUserResult) IsSetSuccess() bool
- func (p *GetFavoriteUserResult) Marshal(out []byte) ([]byte, error)
- func (p *GetFavoriteUserResult) SetSuccess(x interface{})
- func (p *GetFavoriteUserResult) Size() (n int)
- func (p *GetFavoriteUserResult) Unmarshal(in []byte) error
- type GetFavoriteVideoArgs
- func (p *GetFavoriteVideoArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetFavoriteVideoArgs) FastWrite(buf []byte) (n int)
- func (p *GetFavoriteVideoArgs) GetReq() *FavoriteServer.DouyinVideoBeFavoriteRequest
- func (p *GetFavoriteVideoArgs) IsSetReq() bool
- func (p *GetFavoriteVideoArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetFavoriteVideoArgs) Size() (n int)
- func (p *GetFavoriteVideoArgs) Unmarshal(in []byte) error
- type GetFavoriteVideoResult
- func (p *GetFavoriteVideoResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetFavoriteVideoResult) FastWrite(buf []byte) (n int)
- func (p *GetFavoriteVideoResult) GetSuccess() *FavoriteServer.DouyinVideoBeFavoriteResponse
- func (p *GetFavoriteVideoResult) IsSetSuccess() bool
- func (p *GetFavoriteVideoResult) Marshal(out []byte) ([]byte, error)
- func (p *GetFavoriteVideoResult) SetSuccess(x interface{})
- func (p *GetFavoriteVideoResult) Size() (n int)
- func (p *GetFavoriteVideoResult) Unmarshal(in []byte) error
- type QueryUserLikeVideoArgs
- func (p *QueryUserLikeVideoArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *QueryUserLikeVideoArgs) FastWrite(buf []byte) (n int)
- func (p *QueryUserLikeVideoArgs) GetReq() *FavoriteServer.DouyinQueryFavoriteRequest
- func (p *QueryUserLikeVideoArgs) IsSetReq() bool
- func (p *QueryUserLikeVideoArgs) Marshal(out []byte) ([]byte, error)
- func (p *QueryUserLikeVideoArgs) Size() (n int)
- func (p *QueryUserLikeVideoArgs) Unmarshal(in []byte) error
- type QueryUserLikeVideoResult
- func (p *QueryUserLikeVideoResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *QueryUserLikeVideoResult) FastWrite(buf []byte) (n int)
- func (p *QueryUserLikeVideoResult) GetSuccess() *FavoriteServer.DouyinQueryFavoriteResponse
- func (p *QueryUserLikeVideoResult) IsSetSuccess() bool
- func (p *QueryUserLikeVideoResult) Marshal(out []byte) ([]byte, error)
- func (p *QueryUserLikeVideoResult) SetSuccess(x interface{})
- func (p *QueryUserLikeVideoResult) Size() (n int)
- func (p *QueryUserLikeVideoResult) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var FavoriteActionArgs_Req_DEFAULT *FavoriteServer.DouyinFavoriteActionRequest
View Source
var FavoriteActionResult_Success_DEFAULT *FavoriteServer.DouyinFavoriteActionResponse
View Source
var GetFavoriteListArgs_Req_DEFAULT *FavoriteServer.DouyinFavoriteListRequest
View Source
var GetFavoriteListResult_Success_DEFAULT *FavoriteServer.DouyinFavoriteListResponse
View Source
var GetFavoriteUserArgs_Req_DEFAULT *FavoriteServer.DouyinUserBeFavoriteRequest
View Source
var GetFavoriteUserResult_Success_DEFAULT *FavoriteServer.DouyinUserBeFavoriteResponse
View Source
var GetFavoriteVideoArgs_Req_DEFAULT *FavoriteServer.DouyinVideoBeFavoriteRequest
View Source
var GetFavoriteVideoResult_Success_DEFAULT *FavoriteServer.DouyinVideoBeFavoriteResponse
View Source
var QueryUserLikeVideoArgs_Req_DEFAULT *FavoriteServer.DouyinQueryFavoriteRequest
View Source
var QueryUserLikeVideoResult_Success_DEFAULT *FavoriteServer.DouyinQueryFavoriteResponse
Functions ¶
func NewInvoker ¶
func NewInvoker(handler FavoriteServer.FavoriteService, opts ...server.Option) server.Invoker
NewInvoker creates a server.Invoker with the given handler and options.
func NewServer ¶
func NewServer(handler FavoriteServer.FavoriteService, opts ...server.Option) server.Server
NewServer creates a server.Server with the given handler and options.
func NewServiceInfo ¶
func NewServiceInfo() *kitex.ServiceInfo
Types ¶
type Client ¶
type Client interface { FavoriteAction(ctx context.Context, Req *FavoriteServer.DouyinFavoriteActionRequest, callOptions ...callopt.Option) (r *FavoriteServer.DouyinFavoriteActionResponse, err error) GetFavoriteList(ctx context.Context, Req *FavoriteServer.DouyinFavoriteListRequest, callOptions ...callopt.Option) (r *FavoriteServer.DouyinFavoriteListResponse, err error) GetFavoriteUser(ctx context.Context, Req *FavoriteServer.DouyinUserBeFavoriteRequest, callOptions ...callopt.Option) (r *FavoriteServer.DouyinUserBeFavoriteResponse, err error) GetFavoriteVideo(ctx context.Context, Req *FavoriteServer.DouyinVideoBeFavoriteRequest, callOptions ...callopt.Option) (r *FavoriteServer.DouyinVideoBeFavoriteResponse, err error) QueryUserLikeVideo(ctx context.Context, Req *FavoriteServer.DouyinQueryFavoriteRequest, callOptions ...callopt.Option) (r *FavoriteServer.DouyinQueryFavoriteResponse, 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 FavoriteActionArgs ¶
type FavoriteActionArgs struct {
Req *FavoriteServer.DouyinFavoriteActionRequest
}
func (*FavoriteActionArgs) FastWrite ¶
func (p *FavoriteActionArgs) FastWrite(buf []byte) (n int)
func (*FavoriteActionArgs) GetReq ¶
func (p *FavoriteActionArgs) GetReq() *FavoriteServer.DouyinFavoriteActionRequest
func (*FavoriteActionArgs) IsSetReq ¶
func (p *FavoriteActionArgs) IsSetReq() bool
func (*FavoriteActionArgs) Marshal ¶
func (p *FavoriteActionArgs) Marshal(out []byte) ([]byte, error)
func (*FavoriteActionArgs) Size ¶
func (p *FavoriteActionArgs) Size() (n int)
func (*FavoriteActionArgs) Unmarshal ¶
func (p *FavoriteActionArgs) Unmarshal(in []byte) error
type FavoriteActionResult ¶
type FavoriteActionResult struct {
Success *FavoriteServer.DouyinFavoriteActionResponse
}
func (*FavoriteActionResult) FastWrite ¶
func (p *FavoriteActionResult) FastWrite(buf []byte) (n int)
func (*FavoriteActionResult) GetSuccess ¶
func (p *FavoriteActionResult) GetSuccess() *FavoriteServer.DouyinFavoriteActionResponse
func (*FavoriteActionResult) IsSetSuccess ¶
func (p *FavoriteActionResult) IsSetSuccess() bool
func (*FavoriteActionResult) Marshal ¶
func (p *FavoriteActionResult) Marshal(out []byte) ([]byte, error)
func (*FavoriteActionResult) SetSuccess ¶
func (p *FavoriteActionResult) SetSuccess(x interface{})
func (*FavoriteActionResult) Size ¶
func (p *FavoriteActionResult) Size() (n int)
func (*FavoriteActionResult) Unmarshal ¶
func (p *FavoriteActionResult) Unmarshal(in []byte) error
type GetFavoriteListArgs ¶
type GetFavoriteListArgs struct {
Req *FavoriteServer.DouyinFavoriteListRequest
}
func (*GetFavoriteListArgs) FastWrite ¶
func (p *GetFavoriteListArgs) FastWrite(buf []byte) (n int)
func (*GetFavoriteListArgs) GetReq ¶
func (p *GetFavoriteListArgs) GetReq() *FavoriteServer.DouyinFavoriteListRequest
func (*GetFavoriteListArgs) IsSetReq ¶
func (p *GetFavoriteListArgs) IsSetReq() bool
func (*GetFavoriteListArgs) Marshal ¶
func (p *GetFavoriteListArgs) Marshal(out []byte) ([]byte, error)
func (*GetFavoriteListArgs) Size ¶
func (p *GetFavoriteListArgs) Size() (n int)
func (*GetFavoriteListArgs) Unmarshal ¶
func (p *GetFavoriteListArgs) Unmarshal(in []byte) error
type GetFavoriteListResult ¶
type GetFavoriteListResult struct {
Success *FavoriteServer.DouyinFavoriteListResponse
}
func (*GetFavoriteListResult) FastWrite ¶
func (p *GetFavoriteListResult) FastWrite(buf []byte) (n int)
func (*GetFavoriteListResult) GetSuccess ¶
func (p *GetFavoriteListResult) GetSuccess() *FavoriteServer.DouyinFavoriteListResponse
func (*GetFavoriteListResult) IsSetSuccess ¶
func (p *GetFavoriteListResult) IsSetSuccess() bool
func (*GetFavoriteListResult) Marshal ¶
func (p *GetFavoriteListResult) Marshal(out []byte) ([]byte, error)
func (*GetFavoriteListResult) SetSuccess ¶
func (p *GetFavoriteListResult) SetSuccess(x interface{})
func (*GetFavoriteListResult) Size ¶
func (p *GetFavoriteListResult) Size() (n int)
func (*GetFavoriteListResult) Unmarshal ¶
func (p *GetFavoriteListResult) Unmarshal(in []byte) error
type GetFavoriteUserArgs ¶
type GetFavoriteUserArgs struct {
Req *FavoriteServer.DouyinUserBeFavoriteRequest
}
func (*GetFavoriteUserArgs) FastWrite ¶
func (p *GetFavoriteUserArgs) FastWrite(buf []byte) (n int)
func (*GetFavoriteUserArgs) GetReq ¶
func (p *GetFavoriteUserArgs) GetReq() *FavoriteServer.DouyinUserBeFavoriteRequest
func (*GetFavoriteUserArgs) IsSetReq ¶
func (p *GetFavoriteUserArgs) IsSetReq() bool
func (*GetFavoriteUserArgs) Marshal ¶
func (p *GetFavoriteUserArgs) Marshal(out []byte) ([]byte, error)
func (*GetFavoriteUserArgs) Size ¶
func (p *GetFavoriteUserArgs) Size() (n int)
func (*GetFavoriteUserArgs) Unmarshal ¶
func (p *GetFavoriteUserArgs) Unmarshal(in []byte) error
type GetFavoriteUserResult ¶
type GetFavoriteUserResult struct {
Success *FavoriteServer.DouyinUserBeFavoriteResponse
}
func (*GetFavoriteUserResult) FastWrite ¶
func (p *GetFavoriteUserResult) FastWrite(buf []byte) (n int)
func (*GetFavoriteUserResult) GetSuccess ¶
func (p *GetFavoriteUserResult) GetSuccess() *FavoriteServer.DouyinUserBeFavoriteResponse
func (*GetFavoriteUserResult) IsSetSuccess ¶
func (p *GetFavoriteUserResult) IsSetSuccess() bool
func (*GetFavoriteUserResult) Marshal ¶
func (p *GetFavoriteUserResult) Marshal(out []byte) ([]byte, error)
func (*GetFavoriteUserResult) SetSuccess ¶
func (p *GetFavoriteUserResult) SetSuccess(x interface{})
func (*GetFavoriteUserResult) Size ¶
func (p *GetFavoriteUserResult) Size() (n int)
func (*GetFavoriteUserResult) Unmarshal ¶
func (p *GetFavoriteUserResult) Unmarshal(in []byte) error
type GetFavoriteVideoArgs ¶
type GetFavoriteVideoArgs struct {
Req *FavoriteServer.DouyinVideoBeFavoriteRequest
}
func (*GetFavoriteVideoArgs) FastWrite ¶
func (p *GetFavoriteVideoArgs) FastWrite(buf []byte) (n int)
func (*GetFavoriteVideoArgs) GetReq ¶
func (p *GetFavoriteVideoArgs) GetReq() *FavoriteServer.DouyinVideoBeFavoriteRequest
func (*GetFavoriteVideoArgs) IsSetReq ¶
func (p *GetFavoriteVideoArgs) IsSetReq() bool
func (*GetFavoriteVideoArgs) Marshal ¶
func (p *GetFavoriteVideoArgs) Marshal(out []byte) ([]byte, error)
func (*GetFavoriteVideoArgs) Size ¶
func (p *GetFavoriteVideoArgs) Size() (n int)
func (*GetFavoriteVideoArgs) Unmarshal ¶
func (p *GetFavoriteVideoArgs) Unmarshal(in []byte) error
type GetFavoriteVideoResult ¶
type GetFavoriteVideoResult struct {
Success *FavoriteServer.DouyinVideoBeFavoriteResponse
}
func (*GetFavoriteVideoResult) FastWrite ¶
func (p *GetFavoriteVideoResult) FastWrite(buf []byte) (n int)
func (*GetFavoriteVideoResult) GetSuccess ¶
func (p *GetFavoriteVideoResult) GetSuccess() *FavoriteServer.DouyinVideoBeFavoriteResponse
func (*GetFavoriteVideoResult) IsSetSuccess ¶
func (p *GetFavoriteVideoResult) IsSetSuccess() bool
func (*GetFavoriteVideoResult) Marshal ¶
func (p *GetFavoriteVideoResult) Marshal(out []byte) ([]byte, error)
func (*GetFavoriteVideoResult) SetSuccess ¶
func (p *GetFavoriteVideoResult) SetSuccess(x interface{})
func (*GetFavoriteVideoResult) Size ¶
func (p *GetFavoriteVideoResult) Size() (n int)
func (*GetFavoriteVideoResult) Unmarshal ¶
func (p *GetFavoriteVideoResult) Unmarshal(in []byte) error
type QueryUserLikeVideoArgs ¶
type QueryUserLikeVideoArgs struct {
Req *FavoriteServer.DouyinQueryFavoriteRequest
}
func (*QueryUserLikeVideoArgs) FastWrite ¶
func (p *QueryUserLikeVideoArgs) FastWrite(buf []byte) (n int)
func (*QueryUserLikeVideoArgs) GetReq ¶
func (p *QueryUserLikeVideoArgs) GetReq() *FavoriteServer.DouyinQueryFavoriteRequest
func (*QueryUserLikeVideoArgs) IsSetReq ¶
func (p *QueryUserLikeVideoArgs) IsSetReq() bool
func (*QueryUserLikeVideoArgs) Marshal ¶
func (p *QueryUserLikeVideoArgs) Marshal(out []byte) ([]byte, error)
func (*QueryUserLikeVideoArgs) Size ¶
func (p *QueryUserLikeVideoArgs) Size() (n int)
func (*QueryUserLikeVideoArgs) Unmarshal ¶
func (p *QueryUserLikeVideoArgs) Unmarshal(in []byte) error
type QueryUserLikeVideoResult ¶
type QueryUserLikeVideoResult struct {
Success *FavoriteServer.DouyinQueryFavoriteResponse
}
func (*QueryUserLikeVideoResult) FastWrite ¶
func (p *QueryUserLikeVideoResult) FastWrite(buf []byte) (n int)
func (*QueryUserLikeVideoResult) GetSuccess ¶
func (p *QueryUserLikeVideoResult) GetSuccess() *FavoriteServer.DouyinQueryFavoriteResponse
func (*QueryUserLikeVideoResult) IsSetSuccess ¶
func (p *QueryUserLikeVideoResult) IsSetSuccess() bool
func (*QueryUserLikeVideoResult) Marshal ¶
func (p *QueryUserLikeVideoResult) Marshal(out []byte) ([]byte, error)
func (*QueryUserLikeVideoResult) SetSuccess ¶
func (p *QueryUserLikeVideoResult) SetSuccess(x interface{})
func (*QueryUserLikeVideoResult) Size ¶
func (p *QueryUserLikeVideoResult) Size() (n int)
func (*QueryUserLikeVideoResult) Unmarshal ¶
func (p *QueryUserLikeVideoResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.