View Source Gitly.Utils.Net.INet (gitly v0.1.0)

A module to check if the user is online or offline.

Summary

Functions

Checks if the user is offline.

Checks if the user is online.

Functions

@spec is_offline?() :: boolean()

Checks if the user is offline.

Examples

iex> Gitly.Utils.Net.is_offline?
false
@spec is_online?() :: boolean()

Checks if the user is online.

Examples

iex> Gitly.Utils.Net.is_online?
true