handlers

package
v0.0.0-...-ac1f740 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Store      db.Datastore
	JwtHandler auth.TokenHandler
}

func (Handler) CreateFlightHandler

func (h Handler) CreateFlightHandler(c *gin.Context)

func (Handler) DeleteFlightHandler

func (h Handler) DeleteFlightHandler(c *gin.Context)

func (Handler) GetAllFlightsHandler

func (h Handler) GetAllFlightsHandler(c *gin.Context)

func (Handler) GetAllUserHandler

func (h Handler) GetAllUserHandler(c *gin.Context)

func (Handler) GetSingleFlightHandler

func (h Handler) GetSingleFlightHandler(c *gin.Context)

func (Handler) LoginHandler

func (h Handler) LoginHandler(c *gin.Context)

func (Handler) SignupHandler

func (h Handler) SignupHandler(c *gin.Context)

func (Handler) UpdateFlightHandler

func (h Handler) UpdateFlightHandler(c *gin.Context)

Jump to

Keyboard shortcuts

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