# 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/symcj7a
像 Redis 作者那樣,使用 Go 實現一個聊天服務器,不到 100 行代碼**
昨天 Redis 的作者 antirez (Salvatore Sanfilippo) 昨天創建一個新的演示項目:smallchat[1],用了 200 行 C 語言代碼實現了一個聊天室。我看了一下,覺得很有意思,於是就用 Go 語言實現了一下,代碼不到 100 行,功能和 antirez 的實現一樣。antirez 三年前停止寫代碼,專心寫他的科幻小說《Wohpe》,今天看起來他又回到編程的狀態 ⌘ Read more