Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PilotRoutes ¶
type PilotRoutes struct{}
PilotRoutes :
func (PilotRoutes) Create ¶
func (route PilotRoutes) Create(c *gin.Context)
Create : Create pilot with the passed name string TODO : Add validation to json req
func (PilotRoutes) Delete ¶
func (route PilotRoutes) Delete(c *gin.Context)
Delete : Attempts to delete the pilot matching the passed id
func (PilotRoutes) Get ¶
func (route PilotRoutes) Get(c *gin.Context)
Get : Attempts to fetch a single pilot matching passed ID
func (PilotRoutes) Update ¶
func (route PilotRoutes) Update(c *gin.Context)
Update : Attempts to update the pilot matching the passed id
Click to show internal directories.
Click to hide internal directories.