glome/homeassistant/environment

Types

pub type Configuration {
  Configuration(
    host: String,
    port: Int,
    access_token: AccessToken,
  )
}

Constructors

  • Configuration(host: String, port: Int, access_token: AccessToken)

Functions

pub fn get_access_token() -> Option(String)
pub external fn get_env(String) -> Result(String, Nil)
pub fn get_host() -> Option(String)
pub fn get_port() -> Option(Int)