# 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/xwsqy3q
Golang 如何優雅的終止一個服務?**
大家好,我是浩然,網名 “磊磊落落”。專注 Golang、算法、DevOps、PostgreSQL 及雲原生,想學新技術,關注我就對了! https://leileiluoluo.com採用常規方式啓動一個 Golang http 服務時,若服務被意外終止或中斷,即未等待服務對現有請求連接處理並正常返回且亦未對服務停止前作一些必要的處理工作,這樣即會造成服務硬終止。這種方式不是很優雅。 ⌘ Read more