Documentation ¶
Overview ¶
Code generated by Kitex v0.3.2. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler favorite.FavoriteSrv, opts ...server.Option) server.Invoker
- func NewServer(handler favorite.FavoriteSrv, opts ...server.Option) server.Server
- func NewServiceInfo() *kitex.ServiceInfo
- type Client
- type FavoriteActionArgs
- type FavoriteActionResult
- func (p *FavoriteActionResult) GetSuccess() *favorite.DouyinFavoriteActionResponse
- func (p *FavoriteActionResult) IsSetSuccess() bool
- func (p *FavoriteActionResult) Marshal(out []byte) ([]byte, error)
- func (p *FavoriteActionResult) SetSuccess(x interface{})
- func (p *FavoriteActionResult) Unmarshal(in []byte) error
- type FavoriteListArgs
- type FavoriteListResult
- func (p *FavoriteListResult) GetSuccess() *favorite.DouyinFavoriteListResponse
- func (p *FavoriteListResult) IsSetSuccess() bool
- func (p *FavoriteListResult) Marshal(out []byte) ([]byte, error)
- func (p *FavoriteListResult) SetSuccess(x interface{})
- func (p *FavoriteListResult) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var FavoriteActionArgs_Req_DEFAULT *favorite.DouyinFavoriteActionRequest
View Source
var FavoriteActionResult_Success_DEFAULT *favorite.DouyinFavoriteActionResponse
View Source
var FavoriteListArgs_Req_DEFAULT *favorite.DouyinFavoriteListRequest
View Source
var FavoriteListResult_Success_DEFAULT *favorite.DouyinFavoriteListResponse
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 { FavoriteAction(ctx context.Context, Req *favorite.DouyinFavoriteActionRequest, callOptions ...callopt.Option) (r *favorite.DouyinFavoriteActionResponse, err error) FavoriteList(ctx context.Context, Req *favorite.DouyinFavoriteListRequest, callOptions ...callopt.Option) (r *favorite.DouyinFavoriteListResponse, 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 *favorite.DouyinFavoriteActionRequest
}
func (*FavoriteActionArgs) GetReq ¶
func (p *FavoriteActionArgs) GetReq() *favorite.DouyinFavoriteActionRequest
func (*FavoriteActionArgs) IsSetReq ¶
func (p *FavoriteActionArgs) IsSetReq() bool
func (*FavoriteActionArgs) Marshal ¶
func (p *FavoriteActionArgs) Marshal(out []byte) ([]byte, error)
func (*FavoriteActionArgs) Unmarshal ¶
func (p *FavoriteActionArgs) Unmarshal(in []byte) error
type FavoriteActionResult ¶
type FavoriteActionResult struct {
Success *favorite.DouyinFavoriteActionResponse
}
func (*FavoriteActionResult) GetSuccess ¶
func (p *FavoriteActionResult) GetSuccess() *favorite.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) Unmarshal ¶
func (p *FavoriteActionResult) Unmarshal(in []byte) error
type FavoriteListArgs ¶
type FavoriteListArgs struct {
Req *favorite.DouyinFavoriteListRequest
}
func (*FavoriteListArgs) GetReq ¶
func (p *FavoriteListArgs) GetReq() *favorite.DouyinFavoriteListRequest
func (*FavoriteListArgs) IsSetReq ¶
func (p *FavoriteListArgs) IsSetReq() bool
func (*FavoriteListArgs) Unmarshal ¶
func (p *FavoriteListArgs) Unmarshal(in []byte) error
type FavoriteListResult ¶
type FavoriteListResult struct {
Success *favorite.DouyinFavoriteListResponse
}
func (*FavoriteListResult) GetSuccess ¶
func (p *FavoriteListResult) GetSuccess() *favorite.DouyinFavoriteListResponse
func (*FavoriteListResult) IsSetSuccess ¶
func (p *FavoriteListResult) IsSetSuccess() bool
func (*FavoriteListResult) Marshal ¶
func (p *FavoriteListResult) Marshal(out []byte) ([]byte, error)
func (*FavoriteListResult) SetSuccess ¶
func (p *FavoriteListResult) SetSuccess(x interface{})
func (*FavoriteListResult) Unmarshal ¶
func (p *FavoriteListResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.