Genied 0.1.0-SNAPSHOT
Released under the EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0
Clojure script server/daemon - genied.
Installation
To install, add the following dependency to your project or build file:
[ndevreeze/genied "0.1.0-SNAPSHOT"]
Namespaces
genied.classloader
Classloader functions. Mostly related to dynamic class loaders and the system root loader.
genied.client
Client namespace - functions called by (babashka) clients
Public variables and functions:
- *script-dir*
- ensure-dynamic-classloader
- exec-script
- get-classloader
- init
- list-sessions
- load-library
- load-relative-file
- log-daemon-debug
- log-daemon-info
- log-daemon-warn
- print-diagnostic-info
- println-daemon-err
- println-daemon-out
- set-dynamic-classloader!
- stop-daemon!
- supported-protocol-version?
- supported-protocol-versions
genied.diagnostics
Classloaders are tricky in Java and Clojure. This namespace provides some diagnostic functions. These should only be called when verbose is true.
Public variables and functions:
genied.state
Keep state of the daemon proces. Classloader for all libraries, loaded dependencies/libs, output/error streams, loaded scripts and sessions. Keep some singleton atoms.