View Source eturnal_misc (eturnal v1.12.1)

Summary

Types

-type eturnal_node_info() ::
          #eturnal_node_info{eturnal_vsn :: binary(),
                             otp_vsn :: {string(), string()},
                             uptime :: non_neg_integer(),
                             num_sessions :: non_neg_integer(),
                             num_processes :: non_neg_integer(),
                             num_reductions :: non_neg_integer(),
                             total_queue_len :: non_neg_integer(),
                             total_memory :: non_neg_integer()}.

Functions

-spec addr_to_str({inet:ip_address(), inet:port_number()} | inet:ip_address()) -> iolist().
-spec addr_to_str(inet:ip_address(), inet:port_number()) -> iolist().
-spec info() -> eturnal_node_info().
-spec my_ipv4_addr() -> inet:ip4_address() | undefined.
-spec my_ipv6_addr() -> inet:ip6_address() | undefined.
-spec version() -> binary().