Add ex_aws

This commit is contained in:
2024-05-01 13:59:10 +02:00
parent 7ebcab23ea
commit ff0c05a7ed
7 changed files with 36 additions and 1 deletions
@@ -0,0 +1,4 @@
defmodule Scrapper.Data.Storage.MatchStorage do
@callback get_match(String.t()) :: {:ok, Scrapper.Data.Match.t()} | {:error, :not_found}
@callback save_match(String.t(), Scrapper.Data.Match.t()) :: :ok
end
@@ -0,0 +1,11 @@
defmodule Scrapper.Data.Storage.S3MatchStorage do
@behaviour Scrapper.Data.Storage.MatchStorage
def get_match(match_id) do
""
end
def store_match(match_id, match_data) do
:ok
end
end