Skip to content

Latest commit

 

History

History
2 lines (2 loc) · 759 Bytes

README.md

File metadata and controls

2 lines (2 loc) · 759 Bytes

dashhandler

Dashhandler is a webservice, written in Go, and utilizing gin for route handling, intended to be used as a target endpoint for a router running dnsmasq. Dnsmasq can be configured, using the --dhcp-script switch, to run a script on DHCP events passing along information about the event type, assigned IP address, MAC address, and hostname (if available) of any devices that request DHCP addresses. Dashhandler can then be accessed via a GET request, passing along that information, where it can be processed for arbitrary actions. In this case, dashhandler is specifically intended to handle Amazon Dash button presses.