# 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/ezwig3a
一個簡單的 Golang 實現的 Socket5 Proxy
前兩天,使用 Golang 實現了一個簡單的 HTTP Proxy,具體實現參見 5 分鐘用 Go 語言 (Golang) 實現一個 HTTP 代理(Proxy),公衆號上通過歷史消息查看。這次使用 Golang 實現一個 Socket5 的簡單代理。Socket5 和 HTTP 並沒有太大的不同,他們都可以完全給予 TCP 協議,只是請求的信息結構不同,所以這次我們不能像上次 HTTP Prox ⌘ Read more