Documentation ¶
Index ¶
- func NewTrainerRPCServer(srv service.Trainer) trainerv1.TrainerServer
- type TrainerRPCServer
- func (s *TrainerRPCServer) AvailableBookingList(ctx context.Context, req *trainerv1.AvailableBookingListRequest) (*trainerv1.AvailableBookingListResponse, error)
- func (s *TrainerRPCServer) Booking(ctx context.Context, req *trainerv1.BookingRequest) (*trainerv1.BookingResponse, error)
- func (s *TrainerRPCServer) CurrentBookingList(ctx context.Context, req *trainerv1.CurrentBookingListRequest) (*trainerv1.CurrentBookingListResponse, error)
- func (s *TrainerRPCServer) ListForGym(ctx context.Context, req *trainerv1.ListForGymRequest) (*trainerv1.ListForGymResponse, error)
- func (s *TrainerRPCServer) UnBooking(ctx context.Context, req *trainerv1.UnBookingRequest) (*trainerv1.UnBookingResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTrainerRPCServer ¶
func NewTrainerRPCServer(srv service.Trainer) trainerv1.TrainerServer
Types ¶
type TrainerRPCServer ¶
type TrainerRPCServer struct { trainerv1.UnimplementedTrainerServer // contains filtered or unexported fields }
func (*TrainerRPCServer) AvailableBookingList ¶
func (s *TrainerRPCServer) AvailableBookingList(ctx context.Context, req *trainerv1.AvailableBookingListRequest) (*trainerv1.AvailableBookingListResponse, error)
func (*TrainerRPCServer) Booking ¶
func (s *TrainerRPCServer) Booking(ctx context.Context, req *trainerv1.BookingRequest) (*trainerv1.BookingResponse, error)
func (*TrainerRPCServer) CurrentBookingList ¶
func (s *TrainerRPCServer) CurrentBookingList(ctx context.Context, req *trainerv1.CurrentBookingListRequest) (*trainerv1.CurrentBookingListResponse, error)
func (*TrainerRPCServer) ListForGym ¶
func (s *TrainerRPCServer) ListForGym(ctx context.Context, req *trainerv1.ListForGymRequest) (*trainerv1.ListForGymResponse, error)
func (*TrainerRPCServer) UnBooking ¶
func (s *TrainerRPCServer) UnBooking(ctx context.Context, req *trainerv1.UnBookingRequest) (*trainerv1.UnBookingResponse, error)
Click to show internal directories.
Click to hide internal directories.