# 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/je5ng5q
golang 源碼分析: boltdb-4-
通過前面源碼分析,我們差不多瞭解了 boltdb 的核心數據結構了,邏輯視圖上是通過 Bucket 組建的嵌套結構來管理數據的,每一層都可以存儲一一系列 key 和 value,也是使用 boltdb 的用戶需要關注的。物理視圖上是通過 node 來定義 B + 樹來管理磁盤頁的。下面我們詳細分析下它們在內存以及磁盤上 存儲結構。 先從磁盤上的存儲結構開始,每一個 b ⌘ Read more