# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 1
# self = https://watcher.sour.is/conv/xhurcda
Go 語言 Middleware 模式詳解**
如果您想在每個請求之前和之後執行一些代碼,而不管請求的 URL 是什麼,該怎麼辦呢?例如,如果您希望記錄向服務器發出的所有請求,或者允許跨站調用所有 API,或者確保當前用戶在調用安全資源的處理程序之前已經過身份驗證,該怎麼辦?我們可以使用中間件處理程序輕鬆有效地完成所有這些工作。一箇中間件就是一個 http.handler 對另一個 http.handler 的封裝,實現的功能就是對請求前後做一 ⌘ Read more