# 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/46rad6q
微服務配置中心, 這個方案 Go 裏用起來不輸 SpringClou
微服務架構設計模式裏有一條講到,要設計可配置的服務。把服務從單體架構細分成微服務後,所有配置屬性都集中存儲在一個位置,更易於管理。這個集中存儲管理配置的地方,就是配置中心。使用配置中心還有一個好處就是,往往都支持應用配置的熱更新,這樣就不需要像修改本地配置那樣進行發版部署了。但是這麼好的事兒就沒有缺點了嗎?當然有,除非有基礎設施支持,否則它需要額外的人力進行設計和運維。不過好在有各種開源框架比如 ⌘ Read more