# 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/t5p72zq
Golang 錯誤處理技巧與最佳實踐**
請求處理異常處理對於調用方對於大多數 RPC 或 CS 調用來說, 爲了保護敏感信息安全:只應向調用者反饋錯誤碼和簡明的錯誤信息 不應暴露敏感或內部實現細節 (包含堆棧跟蹤、變量值等信息) 原因是:錯誤碼和簡明錯誤信息足以讓調用者理解調用失敗及大致原因 完整異常詳情可能包含服務器內部實現細節或用戶隱私信息 如果此信息暴露給未經授權的調用者, 會存在安全隱患 舉個例子: ⌘ Read more