brook v0.1.3 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

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.