controllers

package
v0.0.0-...-5e1457b Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: MIT Imports: 5 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 struct {
	// contains filtered or unexported fields
}

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 (*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)

Jump to

Keyboard shortcuts

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