points

package
v0.0.0-...-d5228f3 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(c echo.Context) (err error)

Handler returns points by distance of a point as JSON array

Types

type Request

type Request struct {
	X        int  `query:"x"`
	Y        int  `query:"y"`
	Distance int  `query:"distance"`
	Pretty   bool `query:"pretty"`
}

Request for Handler

Jump to

Keyboard shortcuts

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