View Source ExTypesense.Connection (ExTypesense v0.4.3)

Fetches credentials either from application env or map.

Summary

Functions

Fetches credentials either from application env or map.

Types

@type t() :: %{
  host: String.t() | nil,
  api_key: String.t() | nil,
  port: non_neg_integer() | nil,
  scheme: String.t() | nil
}

Functions

Link to this function

new(connection \\ defaults())

View Source (since 0.4.0)
@spec new(connection :: t() | map()) :: t()

Fetches credentials either from application env or map.