Documentation ¶
Overview ¶
Code generated by Kitex v0.4.4. 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 { Register(ctx context.Context, req *user.DouyinUserRegisterRequest, callOptions ...callopt.Option) (r *user.DouyinUserRegisterResponse, err error) Login(ctx context.Context, req *user.DouyinUserLoginRequest, callOptions ...callopt.Option) (r *user.DouyinUserLoginResponse, err error) GetUserInfo(ctx context.Context, req *user.DouyinGetUserRequest, callOptions ...callopt.Option) (r *user.DouyinGetUserResponse, err error) BatchGetUserInfo(ctx context.Context, req *user.DouyinBatchGetUserRequest, callOptions ...callopt.Option) (r *user.DouyinBatchGetUserResonse, err error) GetFollowList(ctx context.Context, req *user.DouyinGetRelationFollowListRequest, callOptions ...callopt.Option) (r *user.DouyinGetRelationFollowListResponse, err error) GetFollowerList(ctx context.Context, req *user.DouyinGetRelationFollowerListRequest, callOptions ...callopt.Option) (r *user.DouyinGetRelationFollowerListResponse, err error) GetFriendList(ctx context.Context, req *user.DouyinGetRelationFriendListRequest, callOptions ...callopt.Option) (r *user.DouyinGetRelationFriendListResponse, 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.