# 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/nxa6c7q
「Go 框架」剖析 iris 中錯誤碼路由的運行機制**
大家好,我是漁夫子。本號新推出「Go 工具箱」系列,意在給大家分享使用 go 語言編寫的、實用的、好玩的工具。同時瞭解其底層的實現原理,以便更深入地瞭解 Go 語言。在 iris 中,除了能夠指定正常的請求路由外,還能根據 http 的響應錯誤碼指定具體的請求處理函數,以便針對具體的錯誤做出不同的響應。例如,當響應狀態碼是 400 時,該如何處理該請求;當響應狀態碼是 500 時,又該如何處理該請 ⌘ Read more