services

package
v0.0.0-...-e6c98ad Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	URIMAPBOX    = "https://api.mapbox.com/directions-matrix/v1/mapbox/driving-traffic/"
	SOURCES      = "?sources=0"
	DESTINATIONS = "&destinations="
	TOKEN        = "&access_token="
)

Variables

View Source
var Redis *redis.Client

Functions

func DeleteAuth

func DeleteAuth(givenUuid string) (int64, error)

func FetchAuth

func FetchAuth(authD *models.AccessDetails) (uint64, error)

func InitRedis

func InitRedis()

func OrderRouteByDistance

func OrderRouteByDistance(route *models.Route) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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