Some checks failed
Build and Push / Build and Push Docker Image (push) Failing after 2s
10 lines
412 B
Elixir
10 lines
412 B
Elixir
defmodule Aprsme.PacketsBehaviour do
|
|
@moduledoc """
|
|
Behaviour for Packets module to allow mocking in tests
|
|
"""
|
|
|
|
@callback get_historical_packet_count(map()) :: non_neg_integer()
|
|
@callback get_recent_packets(map()) :: list()
|
|
@callback get_nearby_stations(float(), float(), String.t() | nil, map()) :: list()
|
|
@callback get_weather_packets(String.t(), DateTime.t(), DateTime.t(), map()) :: list()
|
|
end
|