X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0f1fca27f3b4b40ff8f6be729e12f2feeba05f8f..HEAD:/services/ws/doc.go diff --git a/services/ws/doc.go b/services/ws/doc.go index 1f01b68f6f..cdb5c467fe 100644 --- a/services/ws/doc.go +++ b/services/ws/doc.go @@ -1,49 +1,16 @@ -// Arvados-ws exposes Arvados APIs (currently just one, the +// Copyright (C) The Arvados Authors. All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0 + +// Package ws exposes Arvados APIs (currently just one, the // cache-invalidation event feed at "ws://.../websocket") to // 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. -// -// Enable additional logs by configuring: -// -// LogLevel: debug +// # Installation and configuration // -// Runtime status +// See https://doc.arvados.org/install/install-ws.html. // -// GET /debug.json responds with debug stats. +// # Developer info // -// GET /status.json responds with health check results and -// activity/usage metrics. -package main +// See https://dev.arvados.org/projects/arvados/wiki/Hacking_websocket_server. +package ws