Skip to content

johno/is_up

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is_up Build Status

Elixir package to check whether a given url is up.

How to use

Add the package as a dependency in your Elixir project using something along the lines of:

defp deps do
  [{:database_url, "~> 0.1.0"}]
end

And add :httpotion in your OTP application.

Then you can open iex -S mix and try it:

IsUp.check("https://google.com") # => true
IsUp.check("https://someurlthatdoesnotexist.foobar") # => false

Tests

mix test

License

MIT

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Crafted with <3 by John Otander (@4lpine).

About

Elixir package for checking whether a given url is up.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages