Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DriverController ¶
type DriverController struct {
// contains filtered or unexported fields
}
func NewDriverController ¶
func NewDriverController(repo repositories.DriverRepository) *DriverController
func (*DriverController) AddDriver ¶
func (ctrl *DriverController) AddDriver(ctx *gin.Context)
func (*DriverController) GetDrivers ¶
func (ctrl *DriverController) GetDrivers(ctx *gin.Context)
func (*DriverController) GetDriversByStatus ¶
func (ctrl *DriverController) GetDriversByStatus(ctx *gin.Context)
type LoginController ¶
type LoginController struct {
// contains filtered or unexported fields
}
func NewLoginController ¶
func NewLoginController(repo repositories.UserRepository, authServ services.JsonWebTokenService) *LoginController
func (*LoginController) Login ¶
func (ctrl *LoginController) Login(ctx *gin.Context)
type TripController ¶
type TripController struct {
// contains filtered or unexported fields
}
func NewTripController ¶
func NewTripController(repo repositories.TripRepository) *TripController
func (*TripController) FinishTripForDriver ¶
func (ctrl *TripController) FinishTripForDriver(ctx *gin.Context)
func (*TripController) StartNewTripForDriver ¶
func (ctrl *TripController) StartNewTripForDriver(ctx *gin.Context)
Click to show internal directories.
Click to hide internal directories.