openfeature

Functions

pub fn get_client() -> Client
pub fn get_domain_client(domain: String) -> Client

Initialise and retrieve a new client for the provided domain. If the domain has a corresponding provider registered, the client will use that provider. Otherwise, the global default provider is used.

pub fn get_domain_provider_metadata(domain: String) -> Metadata
pub fn get_provider_metadata() -> Metadata
pub fn set_domain_provider(
  domain: String,
  provider: FeatureProvider,
) -> Nil
pub fn set_provider(
  provider: FeatureProvider,
) -> Result(Nil, Nil)
pub fn shutdown() -> Nil
Search Document