Minor changes to the edge tier

 - DRY up request handler
 - make use of Event struct
 - fix go vet complaints