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 { CreateTrip(ctx context.Context, req *trip.CreateTripRequest, callOptions ...callopt.Option) (r *trip.CreateTripResponse, err error) GetTrip(ctx context.Context, req *trip.GetTripRequest, callOptions ...callopt.Option) (r *trip.GetTripResponse, err error) GetTrips(ctx context.Context, req *trip.GetTripsRequest, callOptions ...callopt.Option) (r *trip.GetTripsResponse, err error) UpdateTrip(ctx context.Context, req *trip.UpdateTripRequest, callOptions ...callopt.Option) (r *trip.UpdateTripResponse, err error) GetAllTrips(ctx context.Context, req *trip.GetAllTripsRequest, callOptions ...callopt.Option) (r *trip.GetAllTripsResponse, err error) GetSomeTrips(ctx context.Context, req *trip.GetSomeTripsRequest, callOptions ...callopt.Option) (r *trip.GetSomeTripsResponse, err error) DeleteTrip(ctx context.Context, req *trip.DeleteTripRequest, callOptions ...callopt.Option) (r *trip.DeleteTripResponse, 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.