glimr/config/config

Values

pub fn app_port() -> Int

Deprecated: Use glimr/config.app_port instead

pub fn clear_cache() -> Nil

Deprecated: Use glimr/config.clear_cache instead

pub fn dev_proxy_port() -> Int

Deprecated: Use glimr/config.dev_proxy_port instead

pub fn get_bool(path: String) -> Bool

Deprecated: Use glimr/config.get_bool instead

pub fn get_bool_list(path: String) -> List(Bool)

Deprecated: Use glimr/config.get_bool_list instead

pub fn get_bool_or(path: String) -> Result(Bool, Nil)

Deprecated: Use glimr/config.get_bool_or instead

pub fn get_int(path: String) -> Int

Deprecated: Use glimr/config.get_int instead

pub fn get_int_list(path: String) -> List(Int)

Deprecated: Use glimr/config.get_int_list instead

pub fn get_int_or(path: String) -> Result(Int, Nil)

Deprecated: Use glimr/config.get_int_or instead

pub fn get_string(path: String) -> String

Deprecated: Use glimr/config.get_string instead

pub fn get_string_list(path: String) -> List(String)

Deprecated: Use glimr/config.get_string_list instead

pub fn get_string_or(path: String) -> Result(String, Nil)

Deprecated: Use glimr/config.get_string_or instead

pub fn get_table(
  path: String,
) -> Result(dict.Dict(String, tom.Toml), Nil)

Deprecated: Use glimr/config.get_table instead

pub fn load() -> Nil

Deprecated: Use glimr/config.load instead

Search Document