MCPcopy Create free account
hub / github.com/codealong-dev/ride-sharing / PreviewTrip

Method PreviewTrip

shared/proto/trip/trip_grpc.pb.go:42–50  ·  view source on GitHub ↗
(ctx context.Context, in *PreviewTripRequest, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

40}
41
42func (c *tripServiceClient) PreviewTrip(ctx context.Context, in *PreviewTripRequest, opts ...grpc.CallOption) (*PreviewTripResponse, error) {
43 cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
44 out := new(PreviewTripResponse)
45 err := c.cc.Invoke(ctx, TripService_PreviewTrip_FullMethodName, in, out, cOpts...)
46 if err != nil {
47 return nil, err
48 }
49 return out, nil
50}
51
52func (c *tripServiceClient) CreateTrip(ctx context.Context, in *CreateTripRequest, opts ...grpc.CallOption) (*CreateTripResponse, error) {
53 cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected