watchtower v0.1.0 Watchtower.Beacon behaviour View Source
A beacon to be watched by the watchman
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.handle_continue/2
.
Callback implementation for GenServer.init/1
.
Link to this section Types
Specs
condition() :: Watchtower.Beacon.Condition.t()
Specs
config() :: Watchtower.Beacon.Config.t()
Specs
interval() :: :never | {pos_integer(), :millisecond} | {pos_integer(), :milliseconds} | {pos_integer(), :second} | {pos_integer(), :seconds} | {pos_integer(), :minute} | {pos_integer(), :minutes} | {pos_integer(), :hour} | {pos_integer(), :hours} | {pos_integer(), :day} | {pos_integer(), :days} | {pos_integer(), :week} | {pos_integer(), :weeks}
Specs
severity() :: :none | atom()
Specs
status() :: :init | atom()
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Callback implementation for GenServer.handle_continue/2
.
Callback implementation for GenServer.init/1
.
Link to this section Callbacks
Specs
beacon_config() :: config()