Liking cljdoc? Tell your friends :D

hive-artcraft.registry

The app registry is data: every classpath copy of hive_artcraft/apps.edn is read and concatenated, each module is validated against schema/AppModule, and per-app config and control ports are resolved here. Adding an app never touches this namespace.

The app registry is data: every classpath copy of hive_artcraft/apps.edn is read and
concatenated, each module is validated against schema/AppModule, and per-app config and
control ports are resolved here. Adding an app never touches this namespace.
raw docstring

app-configclj

(app-config config app)

Per-app override from the addon config's :apps map (string or keyword keys).

Per-app override from the addon config's :apps map (string or keyword keys).
sourceraw docstring

app-idsclj

(app-ids registry)

Mounted app ids, in registry order.

Mounted app ids, in registry order.
sourceraw docstring

find-appclj

(find-app registry app)

Look an app up by id, or refuse naming the mounted ones.

Look an app up by id, or refuse naming the mounted ones.
sourceraw docstring

index-modulesclj

(index-modules modules)

Validate modules and index them by :app/id in registry order; refuse invalid or duplicate ids.

Validate modules and index them by :app/id in registry order; refuse invalid or duplicate ids.
sourceraw docstring

load-registryclj

(load-registry)
(load-registry resource)

Read and index the classpath registry.

Read and index the classpath registry.
sourceraw docstring

read-modulesclj

(read-modules resource)

Read and concatenate every classpath copy of resource (each one EDN vector of modules).

Read and concatenate every classpath copy of `resource` (each one EDN vector of modules).
sourceraw docstring

registry-resourceclj

Classpath path of the app registry data list.

Classpath path of the app registry data list.
sourceraw docstring

resolve-portclj

(resolve-port module app-cfg getenv)

Control port for a :port app: :apps config wins, then <APP>_CONTROL_PORT, then the module default.

Control port for a :port app: :apps config wins, then <APP>_CONTROL_PORT, then the module default.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close