# 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/x4b2nxq
Go 實現接口冪等方案設計**
冪等(idempotent)這個詞來源於數學運算,其中的含義是做一次和做多次的效果是一樣的,即該操作可以重複進行,卻不會改變系統的狀態。在計算機科學中,它們的含義一樣:某個接口或函數,無論調用一次還是調用多次,產生的副作用都是相同的。例如,HTTP 的 GET、PUT、DELETE、HEAD 和 OPTIONS 這些方法都是冪等的,當你向這個 URL 發出一個請求,無論做一次或者做多次,結 ⌘ Read more