8460: Add godoc page.
authorTom Clegg <tom@curoverse.com>
Thu, 1 Dec 2016 07:29:11 +0000 (02:29 -0500)
committerTom Clegg <tom@curoverse.com>
Thu, 1 Dec 2016 07:29:11 +0000 (02:29 -0500)
services/ws/doc.go [new file with mode: 0644]

diff --git a/services/ws/doc.go b/services/ws/doc.go
new file mode 100644 (file)
index 0000000..d280568
--- /dev/null
@@ -0,0 +1,43 @@
+// Arvados-ws is an Arvados event feed for Websocket clients.
+//
+// See https://doc.arvados.org/install/install-arvados-ws.html.
+//
+// Usage
+//
+//     arvados-ws [-config /etc/arvados/ws/ws.yml] [-dump-config]
+//
+// Minimal configuration
+//
+//     Client:
+//       APIHost: localhost:443
+//     Listen: ":1234"
+//     Postgres:
+//       dbname: arvados_production
+//       host: localhost
+//       password: xyzzy
+//       user: arvados
+//
+// Options
+//
+// -config path
+//
+// Load configuration from the given file instead of the default
+// /etc/arvados/ws/ws.yml
+//
+// -dump-config
+//
+// Print the loaded configuration to stdout and exit.
+//
+// Logs
+//
+// Logs are printed to stderr, formatted as JSON.
+//
+// A log is printed each time a client connects or disconnects.
+//
+// Runtime status
+//
+// GET /debug.json responds with debug stats.
+//
+// GET /status.json responds with health check results and
+// activity/usage metrics.
+package main