
مراقب تغييرات نقاط الويب النهائية سريع، بدون إعدادات
مراقب تغيير نقاط نهاية الويب سريع، بدون إعدادات. لمقارنة الاستجابات، يتم تخزين قائمة مختارة من رؤوس HTTP ونص الاستجابة الكامل في ملف تخزين محلي من نوع مفتاح/قيمة. لا حاجة لأي إعدادات.
--worker بتعيين التزامن أثناء المراقبة.--headersOnly عند إضافة رابط URL يسمح بمراقبة رؤوس الاستجابة فقط.

قم بالتثبيت عبر go أو الإصدار الثنائي:
go get -u github.com/rverton/wonitor
λ $ ./wonitor
NAME:
wonitor - web monitor
USAGE:
wonitor [global options] command [command options] [arguments...]
COMMANDS:
add, a add endpoint to monitor
delete, d deletes an endpoint
get, g get endpoint body
list, l list all monitored endpoints and their body size in bytes
monitor, m retrieve all urls and compare them
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help (default: false)
λ $ ./wonitor add --url https://unlink.io/
+ https://unlink.io/
λ $ ./wonitor monitor --save
[https://unlink.io/] 1576b diff:
--- Original
+++ Current
@@ -1 +1,47 @@
+HTTP/1.1 200 OK
+Content-Type: text/html
+Server: nginx/1.10.3 (Ubuntu)
+X-Frame-Options: DENY
+<html>
+<body>
+<pre>
[... snip ...]
+</pre>
+</body>
+</html>
+
λ $ ./wonitor monitor --save
λ $ # no output because no change detected
يتم تضمين الرؤوس التالية أيضًا في الاستجابة المحفوظة ويتم مراقبتها للتغييرات:
var headerToInclude = []string{
"Host",
"Content-Length",
"Content-Type",
"Location",
"Access-Control-Allow-Origin",
"Access-Control-Allow-Methods",
"Access-Control-Expose-Headers",
"Access-Control-Allow-Credentials",
"Allow",
"Content-Security-Policy",
"Proxy-Authenticate",
"Server",
"WWW-Authenticate",
"X-Frame-Options",
"X-Powered-By",
}