Tentacat v1.6.0 Tentacat.Client View Source

Link to this section Summary

Link to this section Types

Link to this type

auth() View Source
auth() ::
  %{user: binary(), password: binary()}
  | %{access_token: binary()}
  | %{jwt: binary()}

Link to this type

t() View Source
t() :: %Tentacat.Client{auth: auth() | nil, endpoint: binary()}

Link to this section Functions

Link to this function

new(endpoint) View Source
new(binary()) :: t()
new(map()) :: t()
new(map()) :: t()
new(map()) :: t()

Link to this function

new(auth, endpoint) View Source
new(map(), binary()) :: t()
new(map(), binary()) :: t()
new(map(), binary()) :: t()
new(auth(), binary()) :: t()