Add ex_aws
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user