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

Method CreateTrip

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

Source from the content-addressed store, hash-verified

50}
51
52func (c *tripServiceClient) CreateTrip(ctx context.Context, in *CreateTripRequest, opts ...grpc.CallOption) (*CreateTripResponse, error) {
53 cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
54 out := new(CreateTripResponse)
55 err := c.cc.Invoke(ctx, TripService_CreateTrip_FullMethodName, in, out, cOpts...)
56 if err != nil {
57 return nil, err
58 }
59 return out, nil
60}
61
62// TripServiceServer is the server API for TripService service.
63// All implementations must embed UnimplementedTripServiceServer

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected