Documentation ¶
Overview ¶
Code generated by Kitex v0.4.4. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler favorite_rpc.FavoriteService, opts ...server.Option) server.Invoker
- func NewServer(handler favorite_rpc.FavoriteService, opts ...server.Option) server.Server
- func NewServiceInfo() *kitex.ServiceInfo
- type Client
- type CreateFavoriteArgs
- func (p *CreateFavoriteArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CreateFavoriteArgs) FastWrite(buf []byte) (n int)
- func (p *CreateFavoriteArgs) GetReq() *favorite_rpc.RPCFavoriteCreateReq
- func (p *CreateFavoriteArgs) IsSetReq() bool
- func (p *CreateFavoriteArgs) Marshal(out []byte) ([]byte, error)
- func (p *CreateFavoriteArgs) Size() (n int)
- func (p *CreateFavoriteArgs) Unmarshal(in []byte) error
- type CreateFavoriteResult
- func (p *CreateFavoriteResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CreateFavoriteResult) FastWrite(buf []byte) (n int)
- func (p *CreateFavoriteResult) GetSuccess() *favorite_rpc.RPCFavoriteCreateResp
- func (p *CreateFavoriteResult) IsSetSuccess() bool
- func (p *CreateFavoriteResult) Marshal(out []byte) ([]byte, error)
- func (p *CreateFavoriteResult) SetSuccess(x interface{})
- func (p *CreateFavoriteResult) Size() (n int)
- func (p *CreateFavoriteResult) Unmarshal(in []byte) error
- type DelFavoriteArgs
- func (p *DelFavoriteArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *DelFavoriteArgs) FastWrite(buf []byte) (n int)
- func (p *DelFavoriteArgs) GetReq() *favorite_rpc.RPCFavoriteDelReq
- func (p *DelFavoriteArgs) IsSetReq() bool
- func (p *DelFavoriteArgs) Marshal(out []byte) ([]byte, error)
- func (p *DelFavoriteArgs) Size() (n int)
- func (p *DelFavoriteArgs) Unmarshal(in []byte) error
- type DelFavoriteResult
- func (p *DelFavoriteResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *DelFavoriteResult) FastWrite(buf []byte) (n int)
- func (p *DelFavoriteResult) GetSuccess() *favorite_rpc.RPCFavoriteDelResp
- func (p *DelFavoriteResult) IsSetSuccess() bool
- func (p *DelFavoriteResult) Marshal(out []byte) ([]byte, error)
- func (p *DelFavoriteResult) SetSuccess(x interface{})
- func (p *DelFavoriteResult) Size() (n int)
- func (p *DelFavoriteResult) 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) GetReq() *favorite_rpc.RPCFavoriteListReq
- 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) GetSuccess() *favorite_rpc.RPCFavoriteListResp
- 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
- type FilterFavoriteArgs
- func (p *FilterFavoriteArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *FilterFavoriteArgs) FastWrite(buf []byte) (n int)
- func (p *FilterFavoriteArgs) GetReq() *favorite_rpc.RPCFilterFavoriteReq
- func (p *FilterFavoriteArgs) IsSetReq() bool
- func (p *FilterFavoriteArgs) Marshal(out []byte) ([]byte, error)
- func (p *FilterFavoriteArgs) Size() (n int)
- func (p *FilterFavoriteArgs) Unmarshal(in []byte) error
- type FilterFavoriteResult
- func (p *FilterFavoriteResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *FilterFavoriteResult) FastWrite(buf []byte) (n int)
- func (p *FilterFavoriteResult) GetSuccess() *favorite_rpc.RPCFilterFavoriteResp
- func (p *FilterFavoriteResult) IsSetSuccess() bool
- func (p *FilterFavoriteResult) Marshal(out []byte) ([]byte, error)
- func (p *FilterFavoriteResult) SetSuccess(x interface{})
- func (p *FilterFavoriteResult) Size() (n int)
- func (p *FilterFavoriteResult) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateFavoriteArgs_Req_DEFAULT *favorite_rpc.RPCFavoriteCreateReq
View Source
var CreateFavoriteResult_Success_DEFAULT *favorite_rpc.RPCFavoriteCreateResp
View Source
var DelFavoriteArgs_Req_DEFAULT *favorite_rpc.RPCFavoriteDelReq
View Source
var DelFavoriteResult_Success_DEFAULT *favorite_rpc.RPCFavoriteDelResp
View Source
var FavoriteListArgs_Req_DEFAULT *favorite_rpc.RPCFavoriteListReq
View Source
var FavoriteListResult_Success_DEFAULT *favorite_rpc.RPCFavoriteListResp
View Source
var FilterFavoriteArgs_Req_DEFAULT *favorite_rpc.RPCFilterFavoriteReq
View Source
var FilterFavoriteResult_Success_DEFAULT *favorite_rpc.RPCFilterFavoriteResp
Functions ¶
func NewInvoker ¶
func NewInvoker(handler favorite_rpc.FavoriteService, opts ...server.Option) server.Invoker
NewInvoker creates a server.Invoker with the given handler and options.
func NewServer ¶
func NewServer(handler favorite_rpc.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 { CreateFavorite(ctx context.Context, Req *favorite_rpc.RPCFavoriteCreateReq, callOptions ...callopt.Option) (r *favorite_rpc.RPCFavoriteCreateResp, err error) DelFavorite(ctx context.Context, Req *favorite_rpc.RPCFavoriteDelReq, callOptions ...callopt.Option) (r *favorite_rpc.RPCFavoriteDelResp, err error) FavoriteList(ctx context.Context, Req *favorite_rpc.RPCFavoriteListReq, callOptions ...callopt.Option) (r *favorite_rpc.RPCFavoriteListResp, err error) FilterFavorite(ctx context.Context, Req *favorite_rpc.RPCFilterFavoriteReq, callOptions ...callopt.Option) (r *favorite_rpc.RPCFilterFavoriteResp, 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 CreateFavoriteArgs ¶
type CreateFavoriteArgs struct {
Req *favorite_rpc.RPCFavoriteCreateReq
}
func (*CreateFavoriteArgs) FastWrite ¶
func (p *CreateFavoriteArgs) FastWrite(buf []byte) (n int)
func (*CreateFavoriteArgs) GetReq ¶
func (p *CreateFavoriteArgs) GetReq() *favorite_rpc.RPCFavoriteCreateReq
func (*CreateFavoriteArgs) IsSetReq ¶
func (p *CreateFavoriteArgs) IsSetReq() bool
func (*CreateFavoriteArgs) Marshal ¶
func (p *CreateFavoriteArgs) Marshal(out []byte) ([]byte, error)
func (*CreateFavoriteArgs) Size ¶
func (p *CreateFavoriteArgs) Size() (n int)
func (*CreateFavoriteArgs) Unmarshal ¶
func (p *CreateFavoriteArgs) Unmarshal(in []byte) error
type CreateFavoriteResult ¶
type CreateFavoriteResult struct {
Success *favorite_rpc.RPCFavoriteCreateResp
}
func (*CreateFavoriteResult) FastWrite ¶
func (p *CreateFavoriteResult) FastWrite(buf []byte) (n int)
func (*CreateFavoriteResult) GetSuccess ¶
func (p *CreateFavoriteResult) GetSuccess() *favorite_rpc.RPCFavoriteCreateResp
func (*CreateFavoriteResult) IsSetSuccess ¶
func (p *CreateFavoriteResult) IsSetSuccess() bool
func (*CreateFavoriteResult) Marshal ¶
func (p *CreateFavoriteResult) Marshal(out []byte) ([]byte, error)
func (*CreateFavoriteResult) SetSuccess ¶
func (p *CreateFavoriteResult) SetSuccess(x interface{})
func (*CreateFavoriteResult) Size ¶
func (p *CreateFavoriteResult) Size() (n int)
func (*CreateFavoriteResult) Unmarshal ¶
func (p *CreateFavoriteResult) Unmarshal(in []byte) error
type DelFavoriteArgs ¶
type DelFavoriteArgs struct {
Req *favorite_rpc.RPCFavoriteDelReq
}
func (*DelFavoriteArgs) FastWrite ¶
func (p *DelFavoriteArgs) FastWrite(buf []byte) (n int)
func (*DelFavoriteArgs) GetReq ¶
func (p *DelFavoriteArgs) GetReq() *favorite_rpc.RPCFavoriteDelReq
func (*DelFavoriteArgs) IsSetReq ¶
func (p *DelFavoriteArgs) IsSetReq() bool
func (*DelFavoriteArgs) Size ¶
func (p *DelFavoriteArgs) Size() (n int)
func (*DelFavoriteArgs) Unmarshal ¶
func (p *DelFavoriteArgs) Unmarshal(in []byte) error
type DelFavoriteResult ¶
type DelFavoriteResult struct {
Success *favorite_rpc.RPCFavoriteDelResp
}
func (*DelFavoriteResult) FastWrite ¶
func (p *DelFavoriteResult) FastWrite(buf []byte) (n int)
func (*DelFavoriteResult) GetSuccess ¶
func (p *DelFavoriteResult) GetSuccess() *favorite_rpc.RPCFavoriteDelResp
func (*DelFavoriteResult) IsSetSuccess ¶
func (p *DelFavoriteResult) IsSetSuccess() bool
func (*DelFavoriteResult) SetSuccess ¶
func (p *DelFavoriteResult) SetSuccess(x interface{})
func (*DelFavoriteResult) Size ¶
func (p *DelFavoriteResult) Size() (n int)
func (*DelFavoriteResult) Unmarshal ¶
func (p *DelFavoriteResult) Unmarshal(in []byte) error
type FavoriteListArgs ¶
type FavoriteListArgs struct {
Req *favorite_rpc.RPCFavoriteListReq
}
func (*FavoriteListArgs) FastWrite ¶
func (p *FavoriteListArgs) FastWrite(buf []byte) (n int)
func (*FavoriteListArgs) GetReq ¶
func (p *FavoriteListArgs) GetReq() *favorite_rpc.RPCFavoriteListReq
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_rpc.RPCFavoriteListResp
}
func (*FavoriteListResult) FastWrite ¶
func (p *FavoriteListResult) FastWrite(buf []byte) (n int)
func (*FavoriteListResult) GetSuccess ¶
func (p *FavoriteListResult) GetSuccess() *favorite_rpc.RPCFavoriteListResp
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
type FilterFavoriteArgs ¶
type FilterFavoriteArgs struct {
Req *favorite_rpc.RPCFilterFavoriteReq
}
func (*FilterFavoriteArgs) FastWrite ¶
func (p *FilterFavoriteArgs) FastWrite(buf []byte) (n int)
func (*FilterFavoriteArgs) GetReq ¶
func (p *FilterFavoriteArgs) GetReq() *favorite_rpc.RPCFilterFavoriteReq
func (*FilterFavoriteArgs) IsSetReq ¶
func (p *FilterFavoriteArgs) IsSetReq() bool
func (*FilterFavoriteArgs) Marshal ¶
func (p *FilterFavoriteArgs) Marshal(out []byte) ([]byte, error)
func (*FilterFavoriteArgs) Size ¶
func (p *FilterFavoriteArgs) Size() (n int)
func (*FilterFavoriteArgs) Unmarshal ¶
func (p *FilterFavoriteArgs) Unmarshal(in []byte) error
type FilterFavoriteResult ¶
type FilterFavoriteResult struct {
Success *favorite_rpc.RPCFilterFavoriteResp
}
func (*FilterFavoriteResult) FastWrite ¶
func (p *FilterFavoriteResult) FastWrite(buf []byte) (n int)
func (*FilterFavoriteResult) GetSuccess ¶
func (p *FilterFavoriteResult) GetSuccess() *favorite_rpc.RPCFilterFavoriteResp
func (*FilterFavoriteResult) IsSetSuccess ¶
func (p *FilterFavoriteResult) IsSetSuccess() bool
func (*FilterFavoriteResult) Marshal ¶
func (p *FilterFavoriteResult) Marshal(out []byte) ([]byte, error)
func (*FilterFavoriteResult) SetSuccess ¶
func (p *FilterFavoriteResult) SetSuccess(x interface{})
func (*FilterFavoriteResult) Size ¶
func (p *FilterFavoriteResult) Size() (n int)
func (*FilterFavoriteResult) Unmarshal ¶
func (p *FilterFavoriteResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.