3 ms·
I wonder how difficult it would be to write additional frontends to this. A documented API would be huge.
by benaiah 12y ago
I wonder how difficult it would be to write additional frontends to this. A documented API would be huge.
- mindcrash 12y agoLooks like there isn't any. But after a bit of code spelunking I found this: https://github.com/etsy/Hound/blob/master/src/hound/api/api.go#L155 https://github.com/etsy/Hound/blob/master/src/hound/api/api.... (it basically tells the service how to interact with the outside world using mux - which, as a small aside, one of the more popular http routing packages in Go. But I wander...) How the frontend interacts with the backend per default can be found here: https://github.com/etsy/Hound/blob/master/pub/assets/js/hound.js#L95 https://github.com/etsy/Hound/blob/master/pub/assets/js/houn... So it looks like wiring the default backend onto a custom frontend shouldn't be that difficult. Unless you want extra features ofcourse, because then it seems you need to learn a bit of Go ;)