defkey
that looks up config, followed by context:bract.core/ctx-config-key-xf {:default identity}
(start :qa)
that looks up env from context
add-shutdown-hook
times out"bract.core.exports"
(in favor of using variable instead)export-as-sysprops
unexport-sysprops
run-context-inducers
in favor of dynamic/late variable substitutionrun-config-inducers
in favor of dynamic/late variable substitution0.8.1
(for remote and cached config stores)bract.core.dev/initial-context
to resolve DEV mode initial contextbract.core.dev-init
safe for loading (e.g. by cljdoc)bract.core.util/err-print-banner
for printing banner messages to *err*
0.7.6
:source
option in key definitions0.7.4
keypin.util/str->fn
"bract.core.launcher"
to context :bract.core/launchers
bract-context.edn
config-inducers
to []
str->var
to any->fn
bract.core.keydef/induce-exit
bract.core.inducer/fallback-config-files
invoke-launcher
to invoke-launchers
prepare-launcher
run-context-inducers
and run-config-inducers
bract.core.main
namespace for CLI entry point
bract.core.main
root inducersbract.core.dev/default-root-context
to bract.core.dev/root-context
bract.core.dev/context-file
to reveal or override the context filebract.core.dev/config
bract.core.dev/config-files
bract.core.dev/seed-context
to potentially override the root-contextlet-var
utility macro:bract.core/app-exit-code
- app exit code (int, >= 0), default nilbract.core.dev-init
to easily initialize test namespacesdiscover-hostname
- discover hostname and populate configdiscover-project-edn-version
- discover project version and populate configfallback-config-files
- specify config filenames when unspecifiedprepare-launcher
- specify alternate launcher on-the-fly0.7.2
parent.filenames
to both context and config files:bract.core/health-check
to represent health check functions:bract.core/alive-tstamp
to represent last alive timestamp recorder/reporter:bract.core/shutdown-flag
to :bract.core/*shutdown-flag
:bract.core/shutdown-hooks
to be a vector of hooked threadsbract.core.dev
functions (for REPL usability)
deinit
, start
, stop
app-context
after deinitinvoke-launcher
echo the launcher nameinvoke-deinit
empty the deinit vector before returning contextbract.core.util/uuid-str
in favour of bract.core.util/clean-uuid
bract.core.util.runtime/sysinfo
to report system infobract.core.keydef/ctx-shutdown-flag :bract.core/shutdown-flag
volatile instead of atombract.core.inducer/config-hook
bract-context.dev.edn
in dev mode when availablepst-when-uncaught-handler
for printing stack trace0.7.1
bract.core.config
namespace to bract.core.keydef
read-context
inducer to read/merge-into context from a file
:bract.core/context-file
to optionally specify a file to merge context fromdeinit
to invoke-deinit
for consistency with other inducers(fn [])
passed around with contextadd-shutdown-hook
inducer to handle application termination signalset-default-exception-handler
inducer to handle uncaught exceptions in threadsuuid-str
utility function - unique ID for various purposesinvoke-stopper
inducer to stop a running application:bract.core/exit?
truebract.core.type/IFunction
protocolbract.core.config
namespace
bract.core.config/apply-inducer
bract.core.config/apply-inducer-by-name
bract.core.util
namespace
bract.core.util/apply-inducer
bract.core.util/induce
bract.core.inducer
namespace to apply inducers
bract.core.inducer/apply-inducer
for functions (for direct internal calls to induce)bract.core.inducer/induce
for applying a collection of inducerscontext-hook
and config-hook
bract.core.inducer/context-hook
no more supports arity-1, accepts function as second argumentbract.core.inducer/config-hook
no more supports arity-1, accepts function as second argumentconfig.dev.edn
with config/config.dev.edn
bract.core.inducer/run-inducers
to run-config-inducers
bract.core.inducers
run-config-inducers
to run inducers specified by a config lookup keybract.core.inducer/run-context-inducers
to run inducers from context
:bract.core/inducers
run-context-inducers
to run inducers specified by a context lookup keybract.core.dev/verbose
to get/set verbosity levelbract.core.dev/config
to get/set config file override(config)
and (verbose)
return current settingconfig
and verbose
warn when environment variable will prevent any overridebract.cli
bract.core.cli
namespacebract.core.main
namespaceAPP_VERBOSE
or system property app.verbose
ctx-verbose?
, ctx-config-files
, ctx-cli-args
in bract.core.config
namespacebract.core.config/apply-inducer
bract.core.config/resolve-config-filenames
bract.core.config/run-app
"parent.config.filenames"
when reading configbract.core.inducer
)
set-verbosity
read-config
run-inducers
0.6.0
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close