(development?)
Return true if env resolves to 'development'
Return true if env resolves to 'development'
(find-env)
(find-env env-keys)
(find-env property-name env-name)
Look for the env value in the system properties, OS environment variables, or default to development
Look for the env value in the system properties, OS environment variables, or default to development
(production?)
Return true if env resolves to 'production'
Return true if env resolves to 'production'
(resolution key)
Returns a deref-able pointer to values stored in app, may return nil
Returns a deref-able pointer to values stored in app, may return nil
(resolution! key)
Returns a deref-able pointer to values stored in app. An exception is throw when app does not have a value for the key.
Returns a deref-able pointer to values stored in app. An exception is throw when app does not have a value for the key.
(service start-sym stop-sym)
The start and stop symbols must point to functions that:
The start and stop symbols must point to functions that: 1) start/stop the 'service' 2) add/remove data from app
(set-env! env)
(start! services)
(start-env app)
(start-env property-name env-name app)
To be used as in a start service fn.
To be used as in a start service fn.
(stop! services)
(stop-env app)
To be used as in a stop service fn.
To be used as in a stop service fn.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close