brook v0.6.0 Brook.Config
Constructs a new Brook server config struct from a keyword list of inputs.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.handle_continue/2
.
Callback implementation for GenServer.init/1
.
Take a keyword list and extracts values necessary to configure a Brook
server. Provides default values for the driver
and dipatcher
but fails
if event_handler
or storage
are not supplied by the user.
Link to this section Functions
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
dispatcher(instance)
driver(instance)
event_handlers(instance)
event_processing_timeout(instance)
get(instance, key)
handle_continue(atom, state)
Callback implementation for GenServer.handle_continue/2
.
init(args)
Callback implementation for GenServer.init/1
.
Take a keyword list and extracts values necessary to configure a Brook
server. Provides default values for the driver
and dipatcher
but fails
if event_handler
or storage
are not supplied by the user.