# 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/z7szatq
還在自己寫 Go 系統監控函數嗎**
如果有個 Go 開發需求:獲取主機的硬盤、CPU、內存、進程等使用情況,你會怎麼做?比較樸素的想法是通過 os/exec 去執行某些例如 ps、cd、top 命令,之後解析它們的執行結果。當然,基於 Linux 的一切皆文件思想,更直接地做法是去讀取相關文件內容,例如 /proc 目錄下的文件。上面的方式能夠完成需求,但是我們大不必重複造輪子,因爲已經有相當完善的三方庫爲我們實現了這些採集需求,它 ⌘ Read more