View Source CozyOSS.Config (cozy_oss v0.2.0)

Link to this section Summary


The host of API request.


Link to this section Types

@type config() :: %{
  host: host(),
  access_key_id: String.t(),
  access_key_secret: String.t()
@type host() :: String.t()

The host of API request.

One of following formats:

  • <endpoint>, such as
  • <bucket name>.<endpoint>, such as
  • custom domain name, such as
@type t() :: %CozyOSS.Config{
  access_key_id: String.t(),
  access_key_secret: String.t(),
  host: host()

Link to this section Functions

@spec new!(config()) :: t()