controller

package
v0.0.0-...-77ca5db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DriverController

type DriverController interface {
	GetDriver(c *fiber.Ctx) error
	GetDriverImage(c *fiber.Ctx) error
	EditDriver(c *fiber.Ctx) error
	GetStatus(c *fiber.Ctx) error
	SetStatus(c *fiber.Ctx) error
	GetTripHistories(c *fiber.Ctx) error
	GetAvailableSeats(c *fiber.Ctx) error
	SetAvailableSeats(c *fiber.Ctx) error
}

func NewDriverController

func NewDriverController(service service.DriverService) DriverController

type DriverControllerImpl

type DriverControllerImpl struct {
	// contains filtered or unexported fields
}

func (*DriverControllerImpl) EditDriver

func (a *DriverControllerImpl) EditDriver(c *fiber.Ctx) error

func (*DriverControllerImpl) GetAvailableSeats

func (a *DriverControllerImpl) GetAvailableSeats(c *fiber.Ctx) error

func (*DriverControllerImpl) GetDriver

func (a *DriverControllerImpl) GetDriver(c *fiber.Ctx) error

func (*DriverControllerImpl) GetDriverImage

func (a *DriverControllerImpl) GetDriverImage(c *fiber.Ctx) error

func (*DriverControllerImpl) GetStatus

func (a *DriverControllerImpl) GetStatus(c *fiber.Ctx) error

func (*DriverControllerImpl) GetTripHistories

func (a *DriverControllerImpl) GetTripHistories(c *fiber.Ctx) error

func (*DriverControllerImpl) SetAvailableSeats

func (a *DriverControllerImpl) SetAvailableSeats(c *fiber.Ctx) error

func (*DriverControllerImpl) SetStatus

func (a *DriverControllerImpl) SetStatus(c *fiber.Ctx) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL