Function client_from_env

Source
pub fn client_from_env() -> TectonicClient
Expand description

Creates a new connection to TectonicDB, using configuration values from environment or defaults to localhost:9001 if none are set.

“TDB_HOSTNAME”, “localhost”); “TDB_PORT”, “9001”);