Function flytrap::hosted

source ·
pub fn hosted() -> bool
Available on crate feature environment only.
Expand description

Checks to see if the current process appears to be running in the Fly.io runtime environment, based on the presence of certain $FLY_ environment variables.