Documentation ¶
Overview ¶
Code generated by Kitex v0.4.4. 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
- func (p *CheckUserArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CheckUserArgs) FastWrite(buf []byte) (n int)
- func (p *CheckUserArgs) GetReq() *user.CheckUserRequest
- func (p *CheckUserArgs) IsSetReq() bool
- func (p *CheckUserArgs) Marshal(out []byte) ([]byte, error)
- func (p *CheckUserArgs) Size() (n int)
- func (p *CheckUserArgs) Unmarshal(in []byte) error
- type CheckUserResult
- func (p *CheckUserResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *CheckUserResult) FastWrite(buf []byte) (n int)
- func (p *CheckUserResult) GetSuccess() *user.CheckUserResponse
- func (p *CheckUserResult) IsSetSuccess() bool
- func (p *CheckUserResult) Marshal(out []byte) ([]byte, error)
- func (p *CheckUserResult) SetSuccess(x interface{})
- func (p *CheckUserResult) Size() (n int)
- func (p *CheckUserResult) Unmarshal(in []byte) error
- type Client
- type RegisterUserArgs
- func (p *RegisterUserArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *RegisterUserArgs) FastWrite(buf []byte) (n int)
- func (p *RegisterUserArgs) GetReq() *user.RegisterUserRequest
- func (p *RegisterUserArgs) IsSetReq() bool
- func (p *RegisterUserArgs) Marshal(out []byte) ([]byte, error)
- func (p *RegisterUserArgs) Size() (n int)
- func (p *RegisterUserArgs) Unmarshal(in []byte) error
- type RegisterUserResult
- func (p *RegisterUserResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *RegisterUserResult) FastWrite(buf []byte) (n int)
- func (p *RegisterUserResult) GetSuccess() *user.RegisterUserResponse
- func (p *RegisterUserResult) IsSetSuccess() bool
- func (p *RegisterUserResult) Marshal(out []byte) ([]byte, error)
- func (p *RegisterUserResult) SetSuccess(x interface{})
- func (p *RegisterUserResult) Size() (n int)
- func (p *RegisterUserResult) Unmarshal(in []byte) error
- type UserInfoArgs
- func (p *UserInfoArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *UserInfoArgs) FastWrite(buf []byte) (n int)
- func (p *UserInfoArgs) GetReq() *user.UserInfoRequest
- func (p *UserInfoArgs) IsSetReq() bool
- func (p *UserInfoArgs) Marshal(out []byte) ([]byte, error)
- func (p *UserInfoArgs) Size() (n int)
- func (p *UserInfoArgs) Unmarshal(in []byte) error
- type UserInfoResult
- func (p *UserInfoResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *UserInfoResult) FastWrite(buf []byte) (n int)
- func (p *UserInfoResult) GetSuccess() *user.UserInfoResponse
- func (p *UserInfoResult) IsSetSuccess() bool
- func (p *UserInfoResult) Marshal(out []byte) ([]byte, error)
- func (p *UserInfoResult) SetSuccess(x interface{})
- func (p *UserInfoResult) Size() (n int)
- func (p *UserInfoResult) Unmarshal(in []byte) error
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) FastWrite ¶
func (p *CheckUserArgs) FastWrite(buf []byte) (n int)
func (*CheckUserArgs) GetReq ¶
func (p *CheckUserArgs) GetReq() *user.CheckUserRequest
func (*CheckUserArgs) IsSetReq ¶
func (p *CheckUserArgs) IsSetReq() bool
func (*CheckUserArgs) Size ¶
func (p *CheckUserArgs) Size() (n int)
func (*CheckUserArgs) Unmarshal ¶
func (p *CheckUserArgs) Unmarshal(in []byte) error
type CheckUserResult ¶
type CheckUserResult struct {
Success *user.CheckUserResponse
}
func (*CheckUserResult) FastWrite ¶
func (p *CheckUserResult) FastWrite(buf []byte) (n int)
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) Size ¶
func (p *CheckUserResult) Size() (n int)
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) FastWrite ¶
func (p *RegisterUserArgs) FastWrite(buf []byte) (n int)
func (*RegisterUserArgs) GetReq ¶
func (p *RegisterUserArgs) GetReq() *user.RegisterUserRequest
func (*RegisterUserArgs) IsSetReq ¶
func (p *RegisterUserArgs) IsSetReq() bool
func (*RegisterUserArgs) Size ¶
func (p *RegisterUserArgs) Size() (n int)
func (*RegisterUserArgs) Unmarshal ¶
func (p *RegisterUserArgs) Unmarshal(in []byte) error
type RegisterUserResult ¶
type RegisterUserResult struct {
Success *user.RegisterUserResponse
}
func (*RegisterUserResult) FastWrite ¶
func (p *RegisterUserResult) FastWrite(buf []byte) (n int)
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) Size ¶
func (p *RegisterUserResult) Size() (n int)
func (*RegisterUserResult) Unmarshal ¶
func (p *RegisterUserResult) Unmarshal(in []byte) error
type UserInfoArgs ¶
type UserInfoArgs struct {
Req *user.UserInfoRequest
}
func (*UserInfoArgs) FastWrite ¶
func (p *UserInfoArgs) FastWrite(buf []byte) (n int)
func (*UserInfoArgs) GetReq ¶
func (p *UserInfoArgs) GetReq() *user.UserInfoRequest
func (*UserInfoArgs) IsSetReq ¶
func (p *UserInfoArgs) IsSetReq() bool
func (*UserInfoArgs) Size ¶
func (p *UserInfoArgs) Size() (n int)
func (*UserInfoArgs) Unmarshal ¶
func (p *UserInfoArgs) Unmarshal(in []byte) error
type UserInfoResult ¶
type UserInfoResult struct {
Success *user.UserInfoResponse
}
func (*UserInfoResult) FastWrite ¶
func (p *UserInfoResult) FastWrite(buf []byte) (n int)
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) Size ¶
func (p *UserInfoResult) Size() (n int)
func (*UserInfoResult) Unmarshal ¶
func (p *UserInfoResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.