View Source eturnal (eturnal v1.10.1)
Link to this section Summary
Link to this section Types
-type listeners() :: [{inet:ip_address(), inet:port_number(), transport()}].
-type modules() :: [module()].
-type option() :: atom().
-type state() :: #eturnal_state{}.
-type transport() :: udp | tcp | tls | auto.
-type value() :: term().
Link to this section Functions
-spec abort(term()) -> no_return().
-spec create_self_signed(file:filename_all()) -> ok.
-spec get_password(binary(), binary()) -> binary() | [binary()] | {expired, binary() | [binary()]}.
-spec handle_call(reload | get_info | get_version | get_loglevel | {set_loglevel, eturnal_logger:level()} | {get_password, binary()} | term(), {pid(), term()}, state()) -> {reply, ok | {ok, term()} | {error, term()}, state()}.
-spec handle_cast({config_change, config_changes(), fun(() -> ok), fun(() -> ok)} | term(), state()) -> {noreply, state()}.
-spec init(any()) -> {ok, state()}.
-spec run_hook(eturnal_module:event(), eturnal_module:info()) -> ok.
-spec start() -> ok | {error, term()}.
-spec start_link() -> {ok, pid()} | ignore | {error, term()}.
-spec stop() -> ok | {error, term()}.
-spec terminate(normal | shutdown | {shutdown, term()} | term(), state()) -> ok.