Documentation ¶
Overview ¶
Code generated by Kitex v0.3.2. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler user.UserService, opts ...server.Option) server.Invoker
- func NewServer(handler user.UserService, opts ...server.Option) server.Server
- func NewServiceInfo() *kitex.ServiceInfo
- type CheckUserArgs
- type CheckUserResult
- type Client
- type RegisterUserArgs
- type RegisterUserResult
- type UserInfoArgs
- type UserInfoResult
Constants ¶
This section is empty.
Variables ¶
View Source
var CheckUserArgs_Req_DEFAULT *user.CheckUserRequest
View Source
var CheckUserResult_Success_DEFAULT *user.CheckUserResponse
View Source
var RegisterUserArgs_Req_DEFAULT *user.RegisterUserRequest
View Source
var RegisterUserResult_Success_DEFAULT *user.RegisterUserResponse
View Source
var UserInfoArgs_Req_DEFAULT *user.UserInfoRequest
View Source
var UserInfoResult_Success_DEFAULT *user.UserInfoResponse
Functions ¶
func NewInvoker ¶
NewInvoker creates a server.Invoker with the given handler and options.
func NewServiceInfo ¶
func NewServiceInfo() *kitex.ServiceInfo
Types ¶
type CheckUserArgs ¶
type CheckUserArgs struct {
Req *user.CheckUserRequest
}
func (*CheckUserArgs) GetReq ¶
func (p *CheckUserArgs) GetReq() *user.CheckUserRequest
func (*CheckUserArgs) IsSetReq ¶
func (p *CheckUserArgs) IsSetReq() bool
func (*CheckUserArgs) Unmarshal ¶
func (p *CheckUserArgs) Unmarshal(in []byte) error
type CheckUserResult ¶
type CheckUserResult struct {
Success *user.CheckUserResponse
}
func (*CheckUserResult) GetSuccess ¶
func (p *CheckUserResult) GetSuccess() *user.CheckUserResponse
func (*CheckUserResult) IsSetSuccess ¶
func (p *CheckUserResult) IsSetSuccess() bool
func (*CheckUserResult) SetSuccess ¶
func (p *CheckUserResult) SetSuccess(x interface{})
func (*CheckUserResult) Unmarshal ¶
func (p *CheckUserResult) Unmarshal(in []byte) error
type Client ¶
type Client interface { CheckUser(ctx context.Context, Req *user.CheckUserRequest, callOptions ...callopt.Option) (r *user.CheckUserResponse, err error) RegisterUser(ctx context.Context, Req *user.RegisterUserRequest, callOptions ...callopt.Option) (r *user.RegisterUserResponse, err error) UserInfo(ctx context.Context, Req *user.UserInfoRequest, callOptions ...callopt.Option) (r *user.UserInfoResponse, 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 RegisterUserArgs ¶
type RegisterUserArgs struct {
Req *user.RegisterUserRequest
}
func (*RegisterUserArgs) GetReq ¶
func (p *RegisterUserArgs) GetReq() *user.RegisterUserRequest
func (*RegisterUserArgs) IsSetReq ¶
func (p *RegisterUserArgs) IsSetReq() bool
func (*RegisterUserArgs) Unmarshal ¶
func (p *RegisterUserArgs) Unmarshal(in []byte) error
type RegisterUserResult ¶
type RegisterUserResult struct {
Success *user.RegisterUserResponse
}
func (*RegisterUserResult) GetSuccess ¶
func (p *RegisterUserResult) GetSuccess() *user.RegisterUserResponse
func (*RegisterUserResult) IsSetSuccess ¶
func (p *RegisterUserResult) IsSetSuccess() bool
func (*RegisterUserResult) Marshal ¶
func (p *RegisterUserResult) Marshal(out []byte) ([]byte, error)
func (*RegisterUserResult) SetSuccess ¶
func (p *RegisterUserResult) SetSuccess(x interface{})
func (*RegisterUserResult) Unmarshal ¶
func (p *RegisterUserResult) Unmarshal(in []byte) error
type UserInfoArgs ¶
type UserInfoArgs struct {
Req *user.UserInfoRequest
}
func (*UserInfoArgs) GetReq ¶
func (p *UserInfoArgs) GetReq() *user.UserInfoRequest
func (*UserInfoArgs) IsSetReq ¶
func (p *UserInfoArgs) IsSetReq() bool
func (*UserInfoArgs) Unmarshal ¶
func (p *UserInfoArgs) Unmarshal(in []byte) error
type UserInfoResult ¶
type UserInfoResult struct {
Success *user.UserInfoResponse
}
func (*UserInfoResult) GetSuccess ¶
func (p *UserInfoResult) GetSuccess() *user.UserInfoResponse
func (*UserInfoResult) IsSetSuccess ¶
func (p *UserInfoResult) IsSetSuccess() bool
func (*UserInfoResult) SetSuccess ¶
func (p *UserInfoResult) SetSuccess(x interface{})
func (*UserInfoResult) Unmarshal ¶
func (p *UserInfoResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.