Documentation
¶
Overview ¶
Code generated by Kitex v0.9.1. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler core_api.Incentive, opts ...server.Option) server.Invoker
- func NewServer(handler core_api.Incentive, opts ...server.Option) server.Server
- func NewServiceInfo() *kitex.ServiceInfo
- func NewServiceInfoForClient() *kitex.ServiceInfo
- func NewServiceInfoForStreamClient() *kitex.ServiceInfo
- func RegisterService(svr server.Server, handler core_api.Incentive, opts ...server.RegisterOption) error
- type CheckInArgs
- func (p *CheckInArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CheckInArgs) FastWrite(buf []byte) (n int)
- func (p *CheckInArgs) GetFirstArgument() interface{}
- func (p *CheckInArgs) GetReq() *core_api.CheckInReq
- func (p *CheckInArgs) IsSetReq() bool
- func (p *CheckInArgs) Marshal(out []byte) ([]byte, error)
- func (p *CheckInArgs) Size() (n int)
- func (p *CheckInArgs) Unmarshal(in []byte) error
- type CheckInResult
- func (p *CheckInResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CheckInResult) FastWrite(buf []byte) (n int)
- func (p *CheckInResult) GetResult() interface{}
- func (p *CheckInResult) GetSuccess() *core_api.CheckInResp
- func (p *CheckInResult) IsSetSuccess() bool
- func (p *CheckInResult) Marshal(out []byte) ([]byte, error)
- func (p *CheckInResult) SetSuccess(x interface{})
- func (p *CheckInResult) Size() (n int)
- func (p *CheckInResult) Unmarshal(in []byte) error
- type Client
- type GetMissionArgs
- func (p *GetMissionArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetMissionArgs) FastWrite(buf []byte) (n int)
- func (p *GetMissionArgs) GetFirstArgument() interface{}
- func (p *GetMissionArgs) GetReq() *core_api.GetMissionReq
- func (p *GetMissionArgs) IsSetReq() bool
- func (p *GetMissionArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetMissionArgs) Size() (n int)
- func (p *GetMissionArgs) Unmarshal(in []byte) error
- type GetMissionResult
- func (p *GetMissionResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetMissionResult) FastWrite(buf []byte) (n int)
- func (p *GetMissionResult) GetResult() interface{}
- func (p *GetMissionResult) GetSuccess() *core_api.GetMissionResp
- func (p *GetMissionResult) IsSetSuccess() bool
- func (p *GetMissionResult) Marshal(out []byte) ([]byte, error)
- func (p *GetMissionResult) SetSuccess(x interface{})
- func (p *GetMissionResult) Size() (n int)
- func (p *GetMissionResult) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var CheckInArgs_Req_DEFAULT *core_api.CheckInReq
View Source
var CheckInResult_Success_DEFAULT *core_api.CheckInResp
View Source
var GetMissionArgs_Req_DEFAULT *core_api.GetMissionReq
View Source
var GetMissionResult_Success_DEFAULT *core_api.GetMissionResp
Functions ¶
func NewInvoker ¶
NewInvoker creates a server.Invoker with the given handler and options.
func NewServiceInfo ¶
func NewServiceInfo() *kitex.ServiceInfo
NewServiceInfo creates a new ServiceInfo containing all methods
func NewServiceInfoForClient ¶
func NewServiceInfoForClient() *kitex.ServiceInfo
NewServiceInfo creates a new ServiceInfo containing non-streaming methods
func NewServiceInfoForStreamClient ¶
func NewServiceInfoForStreamClient() *kitex.ServiceInfo
func RegisterService ¶
Types ¶
type CheckInArgs ¶
type CheckInArgs struct {
Req *core_api.CheckInReq
}
func (*CheckInArgs) FastWrite ¶
func (p *CheckInArgs) FastWrite(buf []byte) (n int)
func (*CheckInArgs) GetFirstArgument ¶
func (p *CheckInArgs) GetFirstArgument() interface{}
func (*CheckInArgs) GetReq ¶
func (p *CheckInArgs) GetReq() *core_api.CheckInReq
func (*CheckInArgs) IsSetReq ¶
func (p *CheckInArgs) IsSetReq() bool
func (*CheckInArgs) Size ¶
func (p *CheckInArgs) Size() (n int)
func (*CheckInArgs) Unmarshal ¶
func (p *CheckInArgs) Unmarshal(in []byte) error
type CheckInResult ¶
type CheckInResult struct {
Success *core_api.CheckInResp
}
func (*CheckInResult) FastWrite ¶
func (p *CheckInResult) FastWrite(buf []byte) (n int)
func (*CheckInResult) GetResult ¶
func (p *CheckInResult) GetResult() interface{}
func (*CheckInResult) GetSuccess ¶
func (p *CheckInResult) GetSuccess() *core_api.CheckInResp
func (*CheckInResult) IsSetSuccess ¶
func (p *CheckInResult) IsSetSuccess() bool
func (*CheckInResult) SetSuccess ¶
func (p *CheckInResult) SetSuccess(x interface{})
func (*CheckInResult) Size ¶
func (p *CheckInResult) Size() (n int)
func (*CheckInResult) Unmarshal ¶
func (p *CheckInResult) Unmarshal(in []byte) error
type Client ¶
type Client interface { CheckIn(ctx context.Context, Req *core_api.CheckInReq, callOptions ...callopt.Option) (r *core_api.CheckInResp, err error) GetMission(ctx context.Context, Req *core_api.GetMissionReq, callOptions ...callopt.Option) (r *core_api.GetMissionResp, 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 GetMissionArgs ¶
type GetMissionArgs struct {
Req *core_api.GetMissionReq
}
func (*GetMissionArgs) FastWrite ¶
func (p *GetMissionArgs) FastWrite(buf []byte) (n int)
func (*GetMissionArgs) GetFirstArgument ¶
func (p *GetMissionArgs) GetFirstArgument() interface{}
func (*GetMissionArgs) GetReq ¶
func (p *GetMissionArgs) GetReq() *core_api.GetMissionReq
func (*GetMissionArgs) IsSetReq ¶
func (p *GetMissionArgs) IsSetReq() bool
func (*GetMissionArgs) Size ¶
func (p *GetMissionArgs) Size() (n int)
func (*GetMissionArgs) Unmarshal ¶
func (p *GetMissionArgs) Unmarshal(in []byte) error
type GetMissionResult ¶
type GetMissionResult struct {
Success *core_api.GetMissionResp
}
func (*GetMissionResult) FastWrite ¶
func (p *GetMissionResult) FastWrite(buf []byte) (n int)
func (*GetMissionResult) GetResult ¶
func (p *GetMissionResult) GetResult() interface{}
func (*GetMissionResult) GetSuccess ¶
func (p *GetMissionResult) GetSuccess() *core_api.GetMissionResp
func (*GetMissionResult) IsSetSuccess ¶
func (p *GetMissionResult) IsSetSuccess() bool
func (*GetMissionResult) SetSuccess ¶
func (p *GetMissionResult) SetSuccess(x interface{})
func (*GetMissionResult) Size ¶
func (p *GetMissionResult) Size() (n int)
func (*GetMissionResult) Unmarshal ¶
func (p *GetMissionResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.