Write a restful webserver in golang that 481 B

1234567891011
  1. Write a restful webserver in golang that can query multiple APC PDU's snmp interface to get and set various values.
  2. The program should be able to:
  3. get the name of a port
  4. set the name of a port
  5. get the power status of the port
  6. set the power status of the port
  7. build a cache to reduce latency
  8. persist the cache file to disk so on next startup these values exist
  9. expose the API as a REST API
  10. expose the API via a bootstrap.js web interface
  11. expose the API via HomeKit