webserver

package
v0.0.0-...-3c7f7e5 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePickupArea

func CreatePickupArea(config *config.Config, c *gin.Context)

CreatePickupArea handler takes a POST'd gps string and adds it to the database.

func CreateUser

func CreateUser(config *config.Config, c *gin.Context)

func DeleteUser

func DeleteUser(config *config.Config, c *gin.Context)

func GetPickupAreasWithinArea

func GetPickupAreasWithinArea(config *config.Config, c *gin.Context)

GetPickupAreasWithinArea handler takes a POST'd gps string and adds returns all the pickup areas within that area.

func IsLoggedIn

func IsLoggedIn(c *gin.Context)

func Login

func Login(config *config.Config, c *gin.Context)

func StartWebServer

func StartWebServer(config *config.Config) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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