View Source HonuWeb.Storage behaviour (Honu v0.3.2)

Link to this section Summary

Link to this section Types

@type option() :: {atom(), any()}

Link to this section Callbacks

@callback url(Honu.Attachments.Blob.t(), [option()]) ::
  {:ok, String.t()} | {:error, String.t()}

Link to this section Functions

Link to this function

config!(key, opts \\ [])

View Source
Link to this function

content_disposition_with(filename, type \\ "inline")

View Source
Link to this function

decode_verified_key(encoded_key, purpose \\ "blob_id")

View Source
Link to this function

find_signed(signed_blob_id, purpose \\ "blob_id", opts \\ [])

View Source
Link to this function

generate_data(data, opts \\ [])

View Source
Link to this function

sanitized_filename(filename)

View Source