# 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/ko5xloa
Golang net 庫同步轉異步的 tcp 操作詳解**
go 的 tcp 看起來是同步請求,實際上被轉成了異步操作,爲什麼這牛逼呢?首先 tcp 連接的接口是 connnet.go 裏面有 conn.Read() 的定義如下:// Read implements the Conn Read method.func (c conn) Read(b []byte) (int, error) { if !c.ok() { return 0, s ⌘ Read more