jubot.brain

Jubot brain manager.

create-brain

(create-brain {:keys [brain], :as config-option})
Create the specified brain.

Params
  config-option
    :brain - A brain's name.
Return
  Brain component.

get

(get k)
Get data from system brain.
Before using this function, jubot.system should be started.

Params
  k - Data key.
Return
  Stored data.

keys

(keys)
Get key list from system brain.
Before using this function, jubot.system should be started.

Return
  Key list.

set

(set k v)
Store data to system brain.
Before using this function, jubot.system should be started.

Params
  k - Data key.
  v - Data value.