Documentation ¶
Overview ¶
Code generated by Kitex v0.6.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 { Action(ctx context.Context, req *follow.ActionRequest, callOptions ...callopt.Option) (r *follow.ActionResponse, err error) FollowList(ctx context.Context, req *follow.FollowListRequest, callOptions ...callopt.Option) (r *follow.FollowListResponse, err error) FollowerList(ctx context.Context, req *follow.FollowerListRequest, callOptions ...callopt.Option) (r *follow.FollowerListResponse, err error) FriendList(ctx context.Context, req *follow.FriendListRequest, callOptions ...callopt.Option) (r *follow.FriendListResponse, err error) FollowCount(ctx context.Context, req *follow.FollowCountRequest, callOptions ...callopt.Option) (r *follow.FollowCountResponse, err error) FollowerCount(ctx context.Context, req *follow.FollowerCountRequest, callOptions ...callopt.Option) (r *follow.FollowerCountResponse, err error) IsFollow(ctx context.Context, req *follow.IsFollowRequest, callOptions ...callopt.Option) (r *follow.IsFollowResponse, 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.