# 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/w6wdv2a
「Go 框架」深入理解 gin 框中 Context 的 Request 和 Writer 對象**
大家好,我是漁夫子。今天跟大家聊一聊 gin 中 Context 對象中的 Request 和 Writer 對象。背景--在使用 gin 框架時,我們定義的請求處理器,輸入參數總是一個 gin.Context 的指針類型,代表請求的上下文。在處理器的業務邏輯中,通過 Context.Request 可以獲取本次請求的參數值;通過 Context.Writer 就能將響應結果輸出給客戶端了。如下代 ⌘ Read more