HostEnvironment.IsProduction
Method
type HostEnvironment interface { // ... omitted for brevity IsProduction() (bool, error)}Signature
method
IsProduction Checks if the environment is Production.
IsProduction() (bool, error)Returns
(bool, error) True if running in Production environment.
Returns (bool, error).
Defined on
This method is defined on the following type: