Documentation ¶
Overview ¶
Code generated by Kitex v0.4.4. DO NOT EDIT.
Index ¶
- Variables
- func NewInvoker(handler UserServer.UserService, opts ...server.Option) server.Invoker
- func NewServer(handler UserServer.UserService, opts ...server.Option) server.Server
- func NewServiceInfo() *kitex.ServiceInfo
- type ChangeUserFollowCountArgs
- func (p *ChangeUserFollowCountArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *ChangeUserFollowCountArgs) FastWrite(buf []byte) (n int)
- func (p *ChangeUserFollowCountArgs) GetReq() *UserServer.DouyinChangeUserFollowRequest
- func (p *ChangeUserFollowCountArgs) IsSetReq() bool
- func (p *ChangeUserFollowCountArgs) Marshal(out []byte) ([]byte, error)
- func (p *ChangeUserFollowCountArgs) Size() (n int)
- func (p *ChangeUserFollowCountArgs) Unmarshal(in []byte) error
- type ChangeUserFollowCountResult
- func (p *ChangeUserFollowCountResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *ChangeUserFollowCountResult) FastWrite(buf []byte) (n int)
- func (p *ChangeUserFollowCountResult) GetSuccess() *UserServer.BaseResp
- func (p *ChangeUserFollowCountResult) IsSetSuccess() bool
- func (p *ChangeUserFollowCountResult) Marshal(out []byte) ([]byte, error)
- func (p *ChangeUserFollowCountResult) SetSuccess(x interface{})
- func (p *ChangeUserFollowCountResult) Size() (n int)
- func (p *ChangeUserFollowCountResult) Unmarshal(in []byte) error
- type Client
- type GetUserInfoArgs
- func (p *GetUserInfoArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetUserInfoArgs) FastWrite(buf []byte) (n int)
- func (p *GetUserInfoArgs) GetReq() *UserServer.DouyinUserRequest
- func (p *GetUserInfoArgs) IsSetReq() bool
- func (p *GetUserInfoArgs) Marshal(out []byte) ([]byte, error)
- func (p *GetUserInfoArgs) Size() (n int)
- func (p *GetUserInfoArgs) Unmarshal(in []byte) error
- type GetUserInfoResult
- func (p *GetUserInfoResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *GetUserInfoResult) FastWrite(buf []byte) (n int)
- func (p *GetUserInfoResult) GetSuccess() *UserServer.DouyinUserResponse
- func (p *GetUserInfoResult) IsSetSuccess() bool
- func (p *GetUserInfoResult) Marshal(out []byte) ([]byte, error)
- func (p *GetUserInfoResult) SetSuccess(x interface{})
- func (p *GetUserInfoResult) Size() (n int)
- func (p *GetUserInfoResult) Unmarshal(in []byte) error
- type LoginArgs
- func (p *LoginArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *LoginArgs) FastWrite(buf []byte) (n int)
- func (p *LoginArgs) GetReq() *UserServer.DouyinUserLoginRequest
- func (p *LoginArgs) IsSetReq() bool
- func (p *LoginArgs) Marshal(out []byte) ([]byte, error)
- func (p *LoginArgs) Size() (n int)
- func (p *LoginArgs) Unmarshal(in []byte) error
- type LoginResult
- func (p *LoginResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *LoginResult) FastWrite(buf []byte) (n int)
- func (p *LoginResult) GetSuccess() *UserServer.DouyinUserLoginResponse
- func (p *LoginResult) IsSetSuccess() bool
- func (p *LoginResult) Marshal(out []byte) ([]byte, error)
- func (p *LoginResult) SetSuccess(x interface{})
- func (p *LoginResult) Size() (n int)
- func (p *LoginResult) Unmarshal(in []byte) error
- type MGetUserInfoArgs
- func (p *MGetUserInfoArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *MGetUserInfoArgs) FastWrite(buf []byte) (n int)
- func (p *MGetUserInfoArgs) GetReq() *UserServer.DouyinMUserRequest
- func (p *MGetUserInfoArgs) IsSetReq() bool
- func (p *MGetUserInfoArgs) Marshal(out []byte) ([]byte, error)
- func (p *MGetUserInfoArgs) Size() (n int)
- func (p *MGetUserInfoArgs) Unmarshal(in []byte) error
- type MGetUserInfoResult
- func (p *MGetUserInfoResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *MGetUserInfoResult) FastWrite(buf []byte) (n int)
- func (p *MGetUserInfoResult) GetSuccess() *UserServer.DouyinMUserResponse
- func (p *MGetUserInfoResult) IsSetSuccess() bool
- func (p *MGetUserInfoResult) Marshal(out []byte) ([]byte, error)
- func (p *MGetUserInfoResult) SetSuccess(x interface{})
- func (p *MGetUserInfoResult) Size() (n int)
- func (p *MGetUserInfoResult) Unmarshal(in []byte) error
- type RegisterArgs
- func (p *RegisterArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *RegisterArgs) FastWrite(buf []byte) (n int)
- func (p *RegisterArgs) GetReq() *UserServer.DouyinUserRegisterRequest
- func (p *RegisterArgs) IsSetReq() bool
- func (p *RegisterArgs) Marshal(out []byte) ([]byte, error)
- func (p *RegisterArgs) Size() (n int)
- func (p *RegisterArgs) Unmarshal(in []byte) error
- type RegisterResult
- func (p *RegisterResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)
- func (p *RegisterResult) FastWrite(buf []byte) (n int)
- func (p *RegisterResult) GetSuccess() *UserServer.DouyinUserRegisterResponse
- func (p *RegisterResult) IsSetSuccess() bool
- func (p *RegisterResult) Marshal(out []byte) ([]byte, error)
- func (p *RegisterResult) SetSuccess(x interface{})
- func (p *RegisterResult) Size() (n int)
- func (p *RegisterResult) Unmarshal(in []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ChangeUserFollowCountArgs_Req_DEFAULT *UserServer.DouyinChangeUserFollowRequest
View Source
var ChangeUserFollowCountResult_Success_DEFAULT *UserServer.BaseResp
View Source
var GetUserInfoArgs_Req_DEFAULT *UserServer.DouyinUserRequest
View Source
var GetUserInfoResult_Success_DEFAULT *UserServer.DouyinUserResponse
View Source
var LoginArgs_Req_DEFAULT *UserServer.DouyinUserLoginRequest
View Source
var LoginResult_Success_DEFAULT *UserServer.DouyinUserLoginResponse
View Source
var MGetUserInfoArgs_Req_DEFAULT *UserServer.DouyinMUserRequest
View Source
var MGetUserInfoResult_Success_DEFAULT *UserServer.DouyinMUserResponse
View Source
var RegisterArgs_Req_DEFAULT *UserServer.DouyinUserRegisterRequest
View Source
var RegisterResult_Success_DEFAULT *UserServer.DouyinUserRegisterResponse
Functions ¶
func NewInvoker ¶
func NewInvoker(handler UserServer.UserService, opts ...server.Option) server.Invoker
NewInvoker creates a server.Invoker with the given handler and options.
func NewServer ¶
func NewServer(handler UserServer.UserService, opts ...server.Option) server.Server
NewServer creates a server.Server with the given handler and options.
func NewServiceInfo ¶
func NewServiceInfo() *kitex.ServiceInfo
Types ¶
type ChangeUserFollowCountArgs ¶
type ChangeUserFollowCountArgs struct {
Req *UserServer.DouyinChangeUserFollowRequest
}
func (*ChangeUserFollowCountArgs) FastWrite ¶
func (p *ChangeUserFollowCountArgs) FastWrite(buf []byte) (n int)
func (*ChangeUserFollowCountArgs) GetReq ¶
func (p *ChangeUserFollowCountArgs) GetReq() *UserServer.DouyinChangeUserFollowRequest
func (*ChangeUserFollowCountArgs) IsSetReq ¶
func (p *ChangeUserFollowCountArgs) IsSetReq() bool
func (*ChangeUserFollowCountArgs) Marshal ¶
func (p *ChangeUserFollowCountArgs) Marshal(out []byte) ([]byte, error)
func (*ChangeUserFollowCountArgs) Size ¶
func (p *ChangeUserFollowCountArgs) Size() (n int)
func (*ChangeUserFollowCountArgs) Unmarshal ¶
func (p *ChangeUserFollowCountArgs) Unmarshal(in []byte) error
type ChangeUserFollowCountResult ¶
type ChangeUserFollowCountResult struct {
Success *UserServer.BaseResp
}
func (*ChangeUserFollowCountResult) FastWrite ¶
func (p *ChangeUserFollowCountResult) FastWrite(buf []byte) (n int)
func (*ChangeUserFollowCountResult) GetSuccess ¶
func (p *ChangeUserFollowCountResult) GetSuccess() *UserServer.BaseResp
func (*ChangeUserFollowCountResult) IsSetSuccess ¶
func (p *ChangeUserFollowCountResult) IsSetSuccess() bool
func (*ChangeUserFollowCountResult) Marshal ¶
func (p *ChangeUserFollowCountResult) Marshal(out []byte) ([]byte, error)
func (*ChangeUserFollowCountResult) SetSuccess ¶
func (p *ChangeUserFollowCountResult) SetSuccess(x interface{})
func (*ChangeUserFollowCountResult) Size ¶
func (p *ChangeUserFollowCountResult) Size() (n int)
func (*ChangeUserFollowCountResult) Unmarshal ¶
func (p *ChangeUserFollowCountResult) Unmarshal(in []byte) error
type Client ¶
type Client interface { Register(ctx context.Context, Req *UserServer.DouyinUserRegisterRequest, callOptions ...callopt.Option) (r *UserServer.DouyinUserRegisterResponse, err error) Login(ctx context.Context, Req *UserServer.DouyinUserLoginRequest, callOptions ...callopt.Option) (r *UserServer.DouyinUserLoginResponse, err error) GetUserInfo(ctx context.Context, Req *UserServer.DouyinUserRequest, callOptions ...callopt.Option) (r *UserServer.DouyinUserResponse, err error) MGetUserInfo(ctx context.Context, Req *UserServer.DouyinMUserRequest, callOptions ...callopt.Option) (r *UserServer.DouyinMUserResponse, err error) ChangeUserFollowCount(ctx context.Context, Req *UserServer.DouyinChangeUserFollowRequest, callOptions ...callopt.Option) (r *UserServer.BaseResp, 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 GetUserInfoArgs ¶
type GetUserInfoArgs struct {
Req *UserServer.DouyinUserRequest
}
func (*GetUserInfoArgs) FastWrite ¶
func (p *GetUserInfoArgs) FastWrite(buf []byte) (n int)
func (*GetUserInfoArgs) GetReq ¶
func (p *GetUserInfoArgs) GetReq() *UserServer.DouyinUserRequest
func (*GetUserInfoArgs) IsSetReq ¶
func (p *GetUserInfoArgs) IsSetReq() bool
func (*GetUserInfoArgs) Size ¶
func (p *GetUserInfoArgs) Size() (n int)
func (*GetUserInfoArgs) Unmarshal ¶
func (p *GetUserInfoArgs) Unmarshal(in []byte) error
type GetUserInfoResult ¶
type GetUserInfoResult struct {
Success *UserServer.DouyinUserResponse
}
func (*GetUserInfoResult) FastWrite ¶
func (p *GetUserInfoResult) FastWrite(buf []byte) (n int)
func (*GetUserInfoResult) GetSuccess ¶
func (p *GetUserInfoResult) GetSuccess() *UserServer.DouyinUserResponse
func (*GetUserInfoResult) IsSetSuccess ¶
func (p *GetUserInfoResult) IsSetSuccess() bool
func (*GetUserInfoResult) SetSuccess ¶
func (p *GetUserInfoResult) SetSuccess(x interface{})
func (*GetUserInfoResult) Size ¶
func (p *GetUserInfoResult) Size() (n int)
func (*GetUserInfoResult) Unmarshal ¶
func (p *GetUserInfoResult) Unmarshal(in []byte) error
type LoginArgs ¶
type LoginArgs struct {
Req *UserServer.DouyinUserLoginRequest
}
func (*LoginArgs) GetReq ¶
func (p *LoginArgs) GetReq() *UserServer.DouyinUserLoginRequest
type LoginResult ¶
type LoginResult struct {
Success *UserServer.DouyinUserLoginResponse
}
func (*LoginResult) FastWrite ¶
func (p *LoginResult) FastWrite(buf []byte) (n int)
func (*LoginResult) GetSuccess ¶
func (p *LoginResult) GetSuccess() *UserServer.DouyinUserLoginResponse
func (*LoginResult) IsSetSuccess ¶
func (p *LoginResult) IsSetSuccess() bool
func (*LoginResult) SetSuccess ¶
func (p *LoginResult) SetSuccess(x interface{})
func (*LoginResult) Size ¶
func (p *LoginResult) Size() (n int)
func (*LoginResult) Unmarshal ¶
func (p *LoginResult) Unmarshal(in []byte) error
type MGetUserInfoArgs ¶
type MGetUserInfoArgs struct {
Req *UserServer.DouyinMUserRequest
}
func (*MGetUserInfoArgs) FastWrite ¶
func (p *MGetUserInfoArgs) FastWrite(buf []byte) (n int)
func (*MGetUserInfoArgs) GetReq ¶
func (p *MGetUserInfoArgs) GetReq() *UserServer.DouyinMUserRequest
func (*MGetUserInfoArgs) IsSetReq ¶
func (p *MGetUserInfoArgs) IsSetReq() bool
func (*MGetUserInfoArgs) Size ¶
func (p *MGetUserInfoArgs) Size() (n int)
func (*MGetUserInfoArgs) Unmarshal ¶
func (p *MGetUserInfoArgs) Unmarshal(in []byte) error
type MGetUserInfoResult ¶
type MGetUserInfoResult struct {
Success *UserServer.DouyinMUserResponse
}
func (*MGetUserInfoResult) FastWrite ¶
func (p *MGetUserInfoResult) FastWrite(buf []byte) (n int)
func (*MGetUserInfoResult) GetSuccess ¶
func (p *MGetUserInfoResult) GetSuccess() *UserServer.DouyinMUserResponse
func (*MGetUserInfoResult) IsSetSuccess ¶
func (p *MGetUserInfoResult) IsSetSuccess() bool
func (*MGetUserInfoResult) Marshal ¶
func (p *MGetUserInfoResult) Marshal(out []byte) ([]byte, error)
func (*MGetUserInfoResult) SetSuccess ¶
func (p *MGetUserInfoResult) SetSuccess(x interface{})
func (*MGetUserInfoResult) Size ¶
func (p *MGetUserInfoResult) Size() (n int)
func (*MGetUserInfoResult) Unmarshal ¶
func (p *MGetUserInfoResult) Unmarshal(in []byte) error
type RegisterArgs ¶
type RegisterArgs struct {
Req *UserServer.DouyinUserRegisterRequest
}
func (*RegisterArgs) FastWrite ¶
func (p *RegisterArgs) FastWrite(buf []byte) (n int)
func (*RegisterArgs) GetReq ¶
func (p *RegisterArgs) GetReq() *UserServer.DouyinUserRegisterRequest
func (*RegisterArgs) IsSetReq ¶
func (p *RegisterArgs) IsSetReq() bool
func (*RegisterArgs) Size ¶
func (p *RegisterArgs) Size() (n int)
func (*RegisterArgs) Unmarshal ¶
func (p *RegisterArgs) Unmarshal(in []byte) error
type RegisterResult ¶
type RegisterResult struct {
Success *UserServer.DouyinUserRegisterResponse
}
func (*RegisterResult) FastWrite ¶
func (p *RegisterResult) FastWrite(buf []byte) (n int)
func (*RegisterResult) GetSuccess ¶
func (p *RegisterResult) GetSuccess() *UserServer.DouyinUserRegisterResponse
func (*RegisterResult) IsSetSuccess ¶
func (p *RegisterResult) IsSetSuccess() bool
func (*RegisterResult) SetSuccess ¶
func (p *RegisterResult) SetSuccess(x interface{})
func (*RegisterResult) Size ¶
func (p *RegisterResult) Size() (n int)
func (*RegisterResult) Unmarshal ¶
func (p *RegisterResult) Unmarshal(in []byte) error
Click to show internal directories.
Click to hide internal directories.