# 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/i5b2cfq
寫給 go 開發者的 gRPC 教程 - gRPC Gateway
gRPC 使用 protobuf 來序列化數據,使用 protobuf 序列化的好處這裏就不再贅述了但 protobuf 不是明文,不方便我們進行調試,如果能像 HTTP1.x 一樣進行訪問,就能減輕調試的負擔;在特殊場景下 client 側無法使用 HTTP2.0,因而也無法使用 gRPC 來進行調用,需要提供降級方案gRPC-Gateway 是 protobuf 編譯器 protoc 的插件 ⌘ Read more