mysql

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: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQL

type MySQL struct {
	// contains filtered or unexported fields
}

MySQL implements storage.Storage interface

func New

func New() (m *MySQL, err error)

New creates a new instance of MySQL

func (*MySQL) GetPointsByDistance

func (m *MySQL) GetPointsByDistance(p model.Point, distance int) (result []model.RelativePoint, err error)

GetPointsByDistance implements points.Storage interface

func (*MySQL) LoadPoints

func (m *MySQL) LoadPoints(reader io.ReadSeeker) (err error)

LoadPoints implements points.Storage interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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