View Source partisan_inet (partisan v5.0.0-rc.16)

Summary

Functions

Returns connected if the host has at least one non-loopback network interface address. Otherwise returns disconnected.

Returns connected if the host has at least one non-loopback network interface address. Otherwise returns disconnected.

Functions

code_change(OldVsn, State, Extra)

handle_call(_, From, State0)

handle_cast(Msg, State)

handle_info(Msg, State0)

init(_)

monitor(Flag)

-spec monitor(Flag :: boolean()) -> ok.

net_status()

-spec net_status() -> connected | disconnected.

Returns connected if the host has at least one non-loopback network interface address. Otherwise returns disconnected.

net_status(_)

-spec net_status([nocache]) -> connected | disconnected.

Returns connected if the host has at least one non-loopback network interface address. Otherwise returns disconnected.

start_link()

terminate(Reason, State)