View Source surreal_config (surreal v1.0.0)
Module for advanced configs.
This module allows you to set configs and use them with calling one function.Link to this section Summary
Functions
Start client from config.
Link to this section Types
-type config() :: [config_value()].
-type config_value() ::
secure | link |
{name, atom()} |
{host, string()} |
{port, integer()} |
{signin, {string(), string()}} |
{use, {string(), string()}}.
Link to this section Functions
-spec load(Config :: config()) -> {ok, pid()}.