rsim v0.1.0 Rsim.S3Storage View Source

S3 Uploader Behaviour

Link to this section Summary

Functions

Returns URL to the file in storage

Link to this section Functions

Link to this function file_url(key) View Source
file_url(String.t()) :: {:ok, String.t()} | {:error, String.t()}

Returns URL to the file in storage

Link to this function save_file(source_file, key, opts \\ %{}) View Source
save_file(String.t(), String.t(), Map) :: :ok | {:error, String.t()}

Save file to storage