# 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/h23qxcq
深入講解 Golang 本地緩存利器 fastcache
一、介紹fastcache 是一個用 go 語言實現的,很快的,線程安全的,內存緩存的,用於大量對象緩存的組件。它的特點是:快速的多核 CPU 的性能可擴展。 線程安全。併發 goroutines 可以讀取和寫入單個緩存實例。 快速緩存是爲存儲大量條目而設計的,沒有 GC 開銷。 當達到創建時設置的最大緩存大小時,Fastcache 會自動收回舊條目。 簡單的 API ⌘ Read more