location

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: MIT Imports: 2 Imported by: 1

Documentation

Overview

Package location contains kafka message payloads for the location topic Related to locations in the world

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Location

type Location struct {
	// Name of the location
	Name string
	// LocationType of the location
	LocationType Type
	// Location in the world
	Location shared.Coordinate
	// Geometry of the point of interest
	Geometry *geojson.Feature `json:",omitempty"`
}

Location is any type of point of interest

type Type

type Type uint

Type of the location

const (
	// Hotel is a place to sleep
	Hotel Type = iota
	// Parc is place of green
	Parc
	// Restaurant is a place to eat
	Restaurant
	// Bank is place to steal money
	Bank
)

Jump to

Keyboard shortcuts

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