subhub/handlers/README.md

7 lines
378 B
Markdown
Raw Normal View History

2019-09-07 14:54:53 +00:00
# Handlers
This folder contains [Mux](https://github.com/gorilla/mux) route handlers. If you've worked in webservers in other languages, it's similar to the concept of controllers.
It's common to see a handler take some information and spit it to something in `lib`. This is because handlers convert web-server knowledge to buisness-logic rather than do everything at once.