Current section

Files

Jump to
ua_inspector lib ua_inspector downloader adapter.ex
Raw

lib/ua_inspector/downloader/adapter.ex

defmodule UAInspector.Downloader.Adapter do
@moduledoc """
Behaviour for modules used by the downloader.
"""
@doc """
Reads a database file from a remote location and returns its contents.
"""
@callback read_remote(location :: binary) :: {:ok, contents :: binary} | {:error, term}
end