# 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/4tkukda
通過分析 gin、beego 源碼,讀懂 web 框架對 http 請求處理流程的本質**
大家好,我是漁夫子。本號新推出「Go 工具箱」系列,意在給大家分享使用 go 語言編寫的、實用的、好玩的工具。同時瞭解其底層的實現原理,以便更深入地瞭解 Go 語言。在實際工作中,大家一定會用到 go 的 web 框架。那麼,你知道各框架是如何處理 http 請求的嗎?今天就主流的 web 框架gin、beego框架以及 go 標準庫net/http來總結一下 http 請求的流程。一、標準庫 n ⌘ Read more