freshness v0.3.0 Freshness.Config View Source
Freshness configuration options
Link to this section Summary
Types
name: the name to register a freshness tree under. Used with Elixir.Registry
to address open connections to a perticular endpoint.
count: number of servers in the pool
index: the i-th process to register under this name
mint: Mint configuration options for opening connections (scheme, port, host, options)
Link to this section Types
Link to this type
t()
View Sourcet() :: %Freshness.Config{ count: pos_integer(), index: non_neg_integer(), mint: Freshness.Config.MintConfig.t(), name: pool_name() }
name: the name to register a freshness tree under. Used with Elixir.Registry
to address open connections to a perticular endpoint.
count: number of servers in the pool
index: the i-th process to register under this name
mint: Mint configuration options for opening connections (scheme, port, host, options)
Link to this section Functions
Link to this function
new(name, count, scheme, host, port, options \\ [])
View Sourcenew( pool_name(), pos_integer(), Mint.Types.scheme(), String.t(), :inet.port_number(), keyword() ) :: t()