tungd / elixir-dns

DNS library for Elixir
BSD 3-Clause "New" or "Revised" License
114 stars 37 forks source link

add DNS.Server behaviour #14

Closed jveiga closed 6 years ago

jveiga commented 6 years ago

Hello, I added DNS.Server as a behaviour where the user only needs to implement the handle function. I added credo to check for style issues and ran formatter. Let me know if you want me to remove the formatting changes. :smile:

PS: The tests are failing, let me know if you want me to take a look at them

tungd commented 6 years ago

Nice, making DNS.Server a GenServer has been on my TODO for a very long time! Thank you very much. I'll release a new version (2.1.0) to hex shortly.