geofencing

package
v0.0.0-...-ea5a937 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsClientAllowed

func IsClientAllowed(geofenceClient geofence.Geofence) echo.MiddlewareFunc

IsClientAllowed looks up the coordinates of a client to see if it's nearby

Types

type GeofencingAllowedResponse

type GeofencingAllowedResponse struct {
	Message string `json:"message"`
	Success bool   `json:"success"`
}

GeofencingAllowedResponse responds with a boolean to indicate whether a client is allowed to make changes based on proximity to the server

Jump to

Keyboard shortcuts

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