# 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/pbud4va
[Go 工具庫] 輕量級 - 零依賴故障容錯工具庫 Failsafe-go
一、前言Failsafe-go 是一個用於構建容錯 go 應用程序的庫。它的工作原理是用一個或多個彈性策略組合可執行邏輯,這些策略可以根據需要進行組合和組合。策略包括重試、斷路器、速率限制器、超時、隔板和回退。1.1 速率限制器速率限制器可以限制執行速率,以防止系統過載。Failsafe-go 支持兩種類型的速率限制器:平滑和 Bursty。平滑速率限制器允許每個時間段的最大執行次數,使用漏桶方法 ⌘ Read more