new grpc functions
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 34s

This commit is contained in:
2025-06-16 13:01:16 +02:00
parent 2f0a45ced0
commit d71da5accd
12 changed files with 472 additions and 220 deletions

View File

@@ -23,7 +23,8 @@ type Storage interface {
CreateBooking(types.Booking) error
GetAllBookings() ([]*types.Booking, error)
GetBooking(id string) (*types.Booking, error)
UpdateBookingStatus(bookingid string, newStatus string) error
UpdateBooking(booking types.Booking) error
UpdateBookingStatus(bookingid string, newStatus string, reason string) error
}
func NewStorage(cfg *viper.Viper) (Storage, error) {