# 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/oesed4a
WebSocket 協議 - 源碼分析**
本文是 WebSocket 系列文章的第 3 篇,從源碼角度理解 WebSocket 是如何實現的。分析的是 gorilla websocket,即 WebSocket 協議 - 實戰中服務端使用的 WebSocket 庫。 Gorilla WebSocket 是一個由 Go 語言實現的,經過很好測試並且廣泛使用的 WebSocket 庫,它提供了簡單易用、功能強大的 API 接口。目前在 gi ⌘ Read more