# 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/5bzwspq
golang 源碼分析:boltdb(1)**
boltdb 是 golang 實現的一個基於 b + 樹的存儲系統,通過 mvcc 實現了單個寫事務和多個讀事務併發。結構也很清晰,由於比較穩定,已經歸檔,確實是學習數據庫的最佳選擇。而且不少出名的開源項目在使用它,比如 etcd,InfluxDB 等。下面我們先通過例子分析下它是如何使用的,後面再從源碼的角度來分析下它的具體實現原理。        boltdb 是通過內存映射 ⌘ Read more