Liking cljdoc? Tell your friends :D

co.multiply.remontoire.fleet

What this instance is among others (§15): nothing, by default — an instance alone, reached directly. A gateway is the one address a fleet is reached through, routing each session to the instance it lives on; a node is an instance that also attaches to a gateway, under a name.

Only the facts live here, in a namespace that requires nothing, so that the teaching surface — tool list, instructions, manual, scratch wiring — can vary by role without knowing how either role works. The roles themselves are gateway and node.

What this instance is among others (§15): nothing, by default — an
instance alone, reached directly. A gateway is the one address a fleet
is reached through, routing each session to the instance it lives on; a
node is an instance that also attaches to a gateway, under a name.

Only the facts live here, in a namespace that requires nothing, so that
the teaching surface — tool list, instructions, manual, scratch wiring —
can vary by role without knowing how either role works. The roles
themselves are `gateway` and `node`.
raw docstring

configure!clj

(configure! role name)

Take a role — :gateway, :node or nil — and the name this instance goes by among the fleet. Set at init!, before the port opens.

Take a role — `:gateway`, `:node` or nil — and the name this
instance goes by among the fleet. Set at `init!`, before the port opens.
sourceraw docstring

default-nameclj

(default-name)

The machine's hostname, which is what tells one development machine from another; a name made up for the run when the machine will not say. A default for want of a better one: the name is the instance's whole identity among the fleet, and a host that has a better one gives it.

The machine's hostname, which is what tells one development machine
from another; a name made up for the run when the machine will not
say. A default for want of a better one: the name is the instance's
whole identity among the fleet, and a host that has a better one gives
it.
sourceraw docstring

frame-bytesclj

The most one frame of a fetched request body holds: what a gateway writes at a time, and the longest a node will take.

The most one frame of a fetched request body holds: what a gateway
writes at a time, and the longest a node will take.
sourceraw docstring

gateway?clj

(gateway?)
source

node-nameclj

(node-name)

This instance's name among the fleet, nil for an instance alone.

This instance's name among the fleet, nil for an instance alone.
sourceraw docstring

roleclj

(role)
source

wireclj

The revision of what nodes and a gateway say to each other (§15). An attach carries the node's, and a gateway refuses one that is not its own: the two agree on every message or on none, and a difference found later is found as a file stored wrong.

The revision of what nodes and a gateway say to each other (§15).
An attach carries the node's, and a gateway refuses one that is not
its own: the two agree on every message or on none, and a difference
found later is found as a file stored wrong.
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