Documentation ¶
Overview ¶
Code generated by Kitex v0.7.0. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler favorite.FavoriteService, opts ...server.Option) server.Invoker
- func NewServer(handler favorite.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) GetFirstArgument() interface{}
- func (p *FavoriteActionArgs) GetReq() *favorite.FavoriteActionRequest
- 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) GetResult() interface{}
- func (p *FavoriteActionResult) GetSuccess() *favorite.FavoriteActionResponse
- 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 FavoriteListArgs
- func (p *FavoriteListArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *FavoriteListArgs) FastWrite(buf []byte) (n int)
- func (p *FavoriteListArgs) GetFirstArgument() interface{}
- func (p *FavoriteListArgs) GetReq() *favorite.FavoriteListRequest
- func (p *FavoriteListArgs) IsSetReq() bool
- func (p *FavoriteListArgs) Marshal(out []byte) ([]byte, error)
- func (p *FavoriteListArgs) Size() (n int)
- func (p *FavoriteListArgs) Unmarshal(in []byte) error
- type FavoriteListResult
- func (p *FavoriteListResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *FavoriteListResult) FastWrite(buf []byte) (n int)
- func (p *FavoriteListResult) GetResult() interface{}
- func (p *FavoriteListResult) GetSuccess() *favorite.FavoriteListResponse
- func (p *FavoriteListResult) IsSetSuccess() bool
- func (p *FavoriteListResult) Marshal(out []byte) ([]byte, error)
- func (p *FavoriteListResult) SetSuccess(x interface{})
- func (p *FavoriteListResult) Size() (n int)
- func (p *FavoriteListResult) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var FavoriteActionArgs_Req_DEFAULT *favorite.FavoriteActionRequest
View Source
var FavoriteActionResult_Success_DEFAULT *favorite.FavoriteActionResponse
View Source
var FavoriteListArgs_Req_DEFAULT *favorite.FavoriteListRequest
View Source
var FavoriteListResult_Success_DEFAULT *favorite.FavoriteListResponse
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.FavoriteActionRequest, callOptions ...callopt.Option) (r *favorite.FavoriteActionResponse, err error) FavoriteList(ctx context.Context, Req *favorite.FavoriteListRequest, callOptions ...callopt.Option) (r *favorite.FavoriteListResponse, 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.FavoriteActionRequest
}
func (*FavoriteActionArgs) FastWrite ¶
func (p *FavoriteActionArgs) FastWrite(buf []byte) (n int)
func (*FavoriteActionArgs) GetFirstArgument ¶
func (p *FavoriteActionArgs) GetFirstArgument() interface{}
func (*FavoriteActionArgs) GetReq ¶
func (p *FavoriteActionArgs) GetReq() *favorite.FavoriteActionRequest
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 *favorite.FavoriteActionResponse
}
func (*FavoriteActionResult) FastWrite ¶
func (p *FavoriteActionResult) FastWrite(buf []byte) (n int)
func (*FavoriteActionResult) GetResult ¶
func (p *FavoriteActionResult) GetResult() interface{}
func (*FavoriteActionResult) GetSuccess ¶
func (p *FavoriteActionResult) GetSuccess() *favorite.FavoriteActionResponse
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 FavoriteListArgs ¶
type FavoriteListArgs struct {
Req *favorite.FavoriteListRequest
}
func (*FavoriteListArgs) FastWrite ¶
func (p *FavoriteListArgs) FastWrite(buf []byte) (n int)
func (*FavoriteListArgs) GetFirstArgument ¶
func (p *FavoriteListArgs) GetFirstArgument() interface{}
func (*FavoriteListArgs) GetReq ¶
func (p *FavoriteListArgs) GetReq() *favorite.FavoriteListRequest
func (*FavoriteListArgs) IsSetReq ¶
func (p *FavoriteListArgs) IsSetReq() bool
func (*FavoriteListArgs) Size ¶
func (p *FavoriteListArgs) Size() (n int)
func (*FavoriteListArgs) Unmarshal ¶
func (p *FavoriteListArgs) Unmarshal(in []byte) error
type FavoriteListResult ¶
type FavoriteListResult struct {
Success *favorite.FavoriteListResponse
}
func (*FavoriteListResult) FastWrite ¶
func (p *FavoriteListResult) FastWrite(buf []byte) (n int)
func (*FavoriteListResult) GetResult ¶
func (p *FavoriteListResult) GetResult() interface{}
func (*FavoriteListResult) GetSuccess ¶
func (p *FavoriteListResult) GetSuccess() *favorite.FavoriteListResponse
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) Size ¶
func (p *FavoriteListResult) Size() (n int)
func (*FavoriteListResult) Unmarshal ¶
func (p *FavoriteListResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.