Packages

A library for generating fake GPS data or load GPS from GPX file/string using for dev/test. The library generates GPSs for simulating a route and scalable for test workload.

Current section

Files

Jump to
location_simulator lib callback_event.ex
Raw

lib/callback_event.ex

defmodule LocationSimulator.Event do
@callback start(config :: map, state :: map) :: {:ok, map} | {:error, reason :: any}
@callback event(config :: map, state :: map) :: {:ok, map} | {:error, reason :: any} | {:stop, reason :: any}
@callback stop(config :: map, state :: map) :: {:ok, map} | {:error, reason :: any}
end