# 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/7w2hd6q
Go gcache 源碼分析**
【導讀】本文對本地緩存庫 gocache 做了詳細分析。gcache 是一個用 go 實現的併發安全的本地緩存庫。他可以實現如下功能:指定緩存的的大小,初始化之時爲 cache 設置 size 大小。 支持多種緩存的策略:Simple、LRU、LFU、ARC Simple:最普通的緩存策略,根據先存入的先淘汰。 LUR:Least Recently Used,意思是最近最少使用。 ⌘ Read more