Knine v0.0.1 Knine.Watchdog.PortWatchdog

Deamon and tools for checking a port availability on services

Summary

Functions

Whatchdog bark api which checks for port availability on a host

Types

ip_address()
ip_address() :: {Integer.t, Integer.t, Integer.t, Integer.t}
port_number()
port_number() :: 1..65536

Functions

Whatchdog bark api which checks for port availability on a host.

Parameters

  • arg1: a tuple in format of {host, port, timeout} host is stgirng or an erlang ip, port is an int in range of 1-65536. timeout is int milliseconds.

Example

iex> Knine.Watchdog.PortWatchdog.bark {“google.com”, 80, 10000} :ok