View Source eturnal (eturnal v1.12.1)
Summary
Types
-type listeners() :: [{inet:ip_address(), inet:port_number(), transport()}].
-type modules() :: [module()].
-type option() :: atom().
-opaque state()
-type transport() :: udp | tcp | tls | auto.
-type value() :: term().
Functions
-spec config_is_loaded() -> boolean().
-spec create_self_signed(file:filename_all()) -> ok.
-spec handle_cast(reload | {config_change, config_changes(), fun(() -> ok), fun(() -> ok)} | term(), state()) -> {noreply, state()}.
-spec init_config() -> ok.
-spec reload(config_changes(), fun(() -> ok), fun(() -> ok)) -> ok.
-spec run_hook(eturnal_module:event(), eturnal_module:info()) -> ok.
-spec start() -> ok | {error, term()}.
-spec stop() -> ok | {error, term()}.