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 { CreateCar(ctx context.Context, req *car.CreateCarRequest, callOptions ...callopt.Option) (r *car.CreateCarResponse, err error) DeleteCar(ctx context.Context, req *car.DeleteCarRequest, callOptions ...callopt.Option) (r *car.DeleteCarResponse, err error) AdminUpdateCar(ctx context.Context, req *car.AdminUpdateCarRequest, callOptions ...callopt.Option) (r *car.AdminUpdateCarResponse, err error) GetSomeCars(ctx context.Context, req *car.GetSomeCarsRequest, callOptions ...callopt.Option) (r *car.GetSomeCarsResponse, err error) GetAllCars(ctx context.Context, req *car.GetAllCarsRequest, callOptions ...callopt.Option) (r *car.GetAllCarsResponse, err error) GetCars(ctx context.Context, req *car.GetCarsRequest, callOptions ...callopt.Option) (r *car.GetCarsResponse, err error) GetCar(ctx context.Context, req *car.GetCarRequest, callOptions ...callopt.Option) (r *car.GetCarResponse, err error) LockCar(ctx context.Context, req *car.LockCarRequest, callOptions ...callopt.Option) (r *car.LockCarResponse, err error) UnlockCar(ctx context.Context, req *car.UnlockCarRequest, callOptions ...callopt.Option) (r *car.UnlockCarResponse, err error) UpdateCar(ctx context.Context, req *car.UpdateCarRequest, callOptions ...callopt.Option) (r *car.UpdateCarResponse, 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.