View Source Momento.Internal.ScsDataClient (Momento Elixir SDK v0.2.0)

Link to this section Summary

Link to this section Types

@opaque t()

Link to this section Functions

Link to this function

create!(credential_provider)

View Source
@spec create!(Momento.Auth.CredentialProvider.t()) :: t()
Link to this function

delete(data_client, cache_name, key)

View Source
@spec delete(data_client :: t(), cache_name :: String.t(), key :: binary()) ::
  Momento.Responses.Delete.t()
Link to this function

get(data_client, cache_name, key)

View Source
@spec get(data_client :: t(), cache_name :: String.t(), key :: binary()) ::
  Momento.Responses.Get.t()
Link to this function

set(data_client, cache_name, key, value, ttl_seconds)

View Source
@spec set(
  data_client :: t(),
  cache_name :: String.t(),
  key :: binary(),
  value :: binary(),
  ttl_seconds :: float()
) :: Momento.Responses.Set.t()