Documentation ¶
Overview ¶
Code generated by Kitex v0.5.1. DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInvoker ¶
NewInvoker creates a server.Invoker with the given handler and options.
func NewServiceInfo ¶
func NewServiceInfo() *kitex.ServiceInfo
Types ¶
type Client ¶
type Client interface { GetVerification(ctx context.Context, req *user.MallVerificationRequest, callOptions ...callopt.Option) (r *user.MallVerificationResponse, err error) Register(ctx context.Context, req *user.MallUserRegisterRequest, callOptions ...callopt.Option) (r *user.MallUserRegisterResponse, err error) Login(ctx context.Context, req *user.MallUserLoginRequest, callOptions ...callopt.Option) (r *user.MallUserLoginResponse, err error) GetUserInfo(ctx context.Context, req *user.MallGetUserInfoRequest, callOptions ...callopt.Option) (r *user.MallGetUserInfoResponse, err error) ChangeAvatar(ctx context.Context, req *user.MallChangeUserAvatarRequest, callOptions ...callopt.Option) (r *user.MallChangeUserAvatarResponse, err error) ChangeBackground(ctx context.Context, req *user.MallChangeUserBackgroundRequest, callOptions ...callopt.Option) (r *user.MallChangeUserBackgroundResponse, 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.
Click to show internal directories.
Click to hide internal directories.