Documentation ¶
Overview ¶
Code generated by Kitex v0.9.1. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler core_api.Auth, opts ...server.Option) server.Invoker
- func NewServer(handler core_api.Auth, 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.Auth, opts ...server.RegisterOption) error
- type Client
- type SendVerifyCodeArgs
- func (p *SendVerifyCodeArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *SendVerifyCodeArgs) FastWrite(buf []byte) (n int)
- func (p *SendVerifyCodeArgs) GetFirstArgument() interface{}
- func (p *SendVerifyCodeArgs) GetReq() *core_api.SendVerifyCodeReq
- func (p *SendVerifyCodeArgs) IsSetReq() bool
- func (p *SendVerifyCodeArgs) Marshal(out []byte) ([]byte, error)
- func (p *SendVerifyCodeArgs) Size() (n int)
- func (p *SendVerifyCodeArgs) Unmarshal(in []byte) error
- type SendVerifyCodeResult
- func (p *SendVerifyCodeResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *SendVerifyCodeResult) FastWrite(buf []byte) (n int)
- func (p *SendVerifyCodeResult) GetResult() interface{}
- func (p *SendVerifyCodeResult) GetSuccess() *core_api.SendVerifyCodeResp
- func (p *SendVerifyCodeResult) IsSetSuccess() bool
- func (p *SendVerifyCodeResult) Marshal(out []byte) ([]byte, error)
- func (p *SendVerifyCodeResult) SetSuccess(x interface{})
- func (p *SendVerifyCodeResult) Size() (n int)
- func (p *SendVerifyCodeResult) Unmarshal(in []byte) error
- type SetPasswordArgs
- func (p *SetPasswordArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *SetPasswordArgs) FastWrite(buf []byte) (n int)
- func (p *SetPasswordArgs) GetFirstArgument() interface{}
- func (p *SetPasswordArgs) GetReq() *core_api.SetPasswordReq
- func (p *SetPasswordArgs) IsSetReq() bool
- func (p *SetPasswordArgs) Marshal(out []byte) ([]byte, error)
- func (p *SetPasswordArgs) Size() (n int)
- func (p *SetPasswordArgs) Unmarshal(in []byte) error
- type SetPasswordResult
- func (p *SetPasswordResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *SetPasswordResult) FastWrite(buf []byte) (n int)
- func (p *SetPasswordResult) GetResult() interface{}
- func (p *SetPasswordResult) GetSuccess() *core_api.SetPasswordResp
- func (p *SetPasswordResult) IsSetSuccess() bool
- func (p *SetPasswordResult) Marshal(out []byte) ([]byte, error)
- func (p *SetPasswordResult) SetSuccess(x interface{})
- func (p *SetPasswordResult) Size() (n int)
- func (p *SetPasswordResult) Unmarshal(in []byte) error
- type SignInArgs
- func (p *SignInArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *SignInArgs) FastWrite(buf []byte) (n int)
- func (p *SignInArgs) GetFirstArgument() interface{}
- func (p *SignInArgs) GetReq() *core_api.SignInReq
- func (p *SignInArgs) IsSetReq() bool
- func (p *SignInArgs) Marshal(out []byte) ([]byte, error)
- func (p *SignInArgs) Size() (n int)
- func (p *SignInArgs) Unmarshal(in []byte) error
- type SignInResult
- func (p *SignInResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *SignInResult) FastWrite(buf []byte) (n int)
- func (p *SignInResult) GetResult() interface{}
- func (p *SignInResult) GetSuccess() *core_api.SignInResp
- func (p *SignInResult) IsSetSuccess() bool
- func (p *SignInResult) Marshal(out []byte) ([]byte, error)
- func (p *SignInResult) SetSuccess(x interface{})
- func (p *SignInResult) Size() (n int)
- func (p *SignInResult) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var SendVerifyCodeArgs_Req_DEFAULT *core_api.SendVerifyCodeReq
View Source
var SendVerifyCodeResult_Success_DEFAULT *core_api.SendVerifyCodeResp
View Source
var SetPasswordArgs_Req_DEFAULT *core_api.SetPasswordReq
View Source
var SetPasswordResult_Success_DEFAULT *core_api.SetPasswordResp
View Source
var SignInArgs_Req_DEFAULT *core_api.SignInReq
View Source
var SignInResult_Success_DEFAULT *core_api.SignInResp
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 Client ¶
type Client interface { SignIn(ctx context.Context, Req *core_api.SignInReq, callOptions ...callopt.Option) (r *core_api.SignInResp, err error) SendVerifyCode(ctx context.Context, Req *core_api.SendVerifyCodeReq, callOptions ...callopt.Option) (r *core_api.SendVerifyCodeResp, err error) SetPassword(ctx context.Context, Req *core_api.SetPasswordReq, callOptions ...callopt.Option) (r *core_api.SetPasswordResp, 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 SendVerifyCodeArgs ¶
type SendVerifyCodeArgs struct {
Req *core_api.SendVerifyCodeReq
}
func (*SendVerifyCodeArgs) FastWrite ¶
func (p *SendVerifyCodeArgs) FastWrite(buf []byte) (n int)
func (*SendVerifyCodeArgs) GetFirstArgument ¶
func (p *SendVerifyCodeArgs) GetFirstArgument() interface{}
func (*SendVerifyCodeArgs) GetReq ¶
func (p *SendVerifyCodeArgs) GetReq() *core_api.SendVerifyCodeReq
func (*SendVerifyCodeArgs) IsSetReq ¶
func (p *SendVerifyCodeArgs) IsSetReq() bool
func (*SendVerifyCodeArgs) Marshal ¶
func (p *SendVerifyCodeArgs) Marshal(out []byte) ([]byte, error)
func (*SendVerifyCodeArgs) Size ¶
func (p *SendVerifyCodeArgs) Size() (n int)
func (*SendVerifyCodeArgs) Unmarshal ¶
func (p *SendVerifyCodeArgs) Unmarshal(in []byte) error
type SendVerifyCodeResult ¶
type SendVerifyCodeResult struct {
Success *core_api.SendVerifyCodeResp
}
func (*SendVerifyCodeResult) FastWrite ¶
func (p *SendVerifyCodeResult) FastWrite(buf []byte) (n int)
func (*SendVerifyCodeResult) GetResult ¶
func (p *SendVerifyCodeResult) GetResult() interface{}
func (*SendVerifyCodeResult) GetSuccess ¶
func (p *SendVerifyCodeResult) GetSuccess() *core_api.SendVerifyCodeResp
func (*SendVerifyCodeResult) IsSetSuccess ¶
func (p *SendVerifyCodeResult) IsSetSuccess() bool
func (*SendVerifyCodeResult) Marshal ¶
func (p *SendVerifyCodeResult) Marshal(out []byte) ([]byte, error)
func (*SendVerifyCodeResult) SetSuccess ¶
func (p *SendVerifyCodeResult) SetSuccess(x interface{})
func (*SendVerifyCodeResult) Size ¶
func (p *SendVerifyCodeResult) Size() (n int)
func (*SendVerifyCodeResult) Unmarshal ¶
func (p *SendVerifyCodeResult) Unmarshal(in []byte) error
type SetPasswordArgs ¶
type SetPasswordArgs struct {
Req *core_api.SetPasswordReq
}
func (*SetPasswordArgs) FastWrite ¶
func (p *SetPasswordArgs) FastWrite(buf []byte) (n int)
func (*SetPasswordArgs) GetFirstArgument ¶
func (p *SetPasswordArgs) GetFirstArgument() interface{}
func (*SetPasswordArgs) GetReq ¶
func (p *SetPasswordArgs) GetReq() *core_api.SetPasswordReq
func (*SetPasswordArgs) IsSetReq ¶
func (p *SetPasswordArgs) IsSetReq() bool
func (*SetPasswordArgs) Size ¶
func (p *SetPasswordArgs) Size() (n int)
func (*SetPasswordArgs) Unmarshal ¶
func (p *SetPasswordArgs) Unmarshal(in []byte) error
type SetPasswordResult ¶
type SetPasswordResult struct {
Success *core_api.SetPasswordResp
}
func (*SetPasswordResult) FastWrite ¶
func (p *SetPasswordResult) FastWrite(buf []byte) (n int)
func (*SetPasswordResult) GetResult ¶
func (p *SetPasswordResult) GetResult() interface{}
func (*SetPasswordResult) GetSuccess ¶
func (p *SetPasswordResult) GetSuccess() *core_api.SetPasswordResp
func (*SetPasswordResult) IsSetSuccess ¶
func (p *SetPasswordResult) IsSetSuccess() bool
func (*SetPasswordResult) SetSuccess ¶
func (p *SetPasswordResult) SetSuccess(x interface{})
func (*SetPasswordResult) Size ¶
func (p *SetPasswordResult) Size() (n int)
func (*SetPasswordResult) Unmarshal ¶
func (p *SetPasswordResult) Unmarshal(in []byte) error
type SignInArgs ¶
func (*SignInArgs) FastWrite ¶
func (p *SignInArgs) FastWrite(buf []byte) (n int)
func (*SignInArgs) GetFirstArgument ¶
func (p *SignInArgs) GetFirstArgument() interface{}
func (*SignInArgs) GetReq ¶
func (p *SignInArgs) GetReq() *core_api.SignInReq
func (*SignInArgs) IsSetReq ¶
func (p *SignInArgs) IsSetReq() bool
func (*SignInArgs) Size ¶
func (p *SignInArgs) Size() (n int)
func (*SignInArgs) Unmarshal ¶
func (p *SignInArgs) Unmarshal(in []byte) error
type SignInResult ¶
type SignInResult struct {
Success *core_api.SignInResp
}
func (*SignInResult) FastWrite ¶
func (p *SignInResult) FastWrite(buf []byte) (n int)
func (*SignInResult) GetResult ¶
func (p *SignInResult) GetResult() interface{}
func (*SignInResult) GetSuccess ¶
func (p *SignInResult) GetSuccess() *core_api.SignInResp
func (*SignInResult) IsSetSuccess ¶
func (p *SignInResult) IsSetSuccess() bool
func (*SignInResult) SetSuccess ¶
func (p *SignInResult) SetSuccess(x interface{})
func (*SignInResult) Size ¶
func (p *SignInResult) Size() (n int)
func (*SignInResult) Unmarshal ¶
func (p *SignInResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.