brook v0.2.1 Brook.Config

Constructs a new Brook server config struct from a keyword list of inputs.

Link to this section Summary

Functions

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

Link to this function

event_handlers()

Link to this function

new(opts)
new(keyword()) :: map()

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.