controllers

package
v0.0.0-...-7550142 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTrips

func GetTrips(c *gin.Context)

GetTrips get all trips or trips by user id

func LoginController

func LoginController(c *gin.Context)

LoginController user login endpoint

func NewTrip

func NewTrip(c *gin.Context)

NewTrip create a new trip

func RegisterController

func RegisterController(c *gin.Context)

RegisterController user register endpoint

func RemoveUser

func RemoveUser(c *gin.Context)

RemoveUser remove a user

Types

This section is empty.

Jump to

Keyboard shortcuts

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