View Source ExTypesense.Connection (ExTypesense v0.4.1)

Fetches credentials either from application env or map.

Summary

Functions

Fetches credentials either from application env or map.

Types

@type t() :: %ExTypesense.Connection{
  api_key: term(),
  host: term(),
  port: term(),
  scheme: term()
}

Functions

Link to this function

new(connection \\ %__MODULE__{})

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

Fetches credentials either from application env or map.