Created
April 20, 2021 17:13
-
-
Save lpeppe/af334e08fd02cdc9c783d1dcba727920 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule PhxHealthcheck.Healthcheck do | |
@callback check_status() :: String.t() | |
@spec get_service_status(atom()) :: String.t() | |
def get_service_status(service) do | |
GenServer.call(service, {:get_status}) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment