# 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/r6nkqia
Golang 設計模式之觀察者模式**
1 原理介紹本期基於 go 語言和大家探討設計模式中的觀察者模式. 觀察者模式適用於多對一的訂閱 / 發佈場景.• ” 多 “:指的是有多名觀察者 • ” 一 “:指的是有一個被觀察事物 • ” 訂閱 “:指的是觀察者時刻關注着事物的動態 • ” 發佈 “:指的是事物狀態發生變化時是透明公開的,能夠正常進入到觀察者的視線 在上述場景中,我們瞭解到核心對象有兩類,一類是 “觀 ⌘ Read more