ygo-server

command
v1.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Command ygo-server is the legacy name of the stand-alone WebSocket sync server for ygo documents.

Deprecated: use cmd/yserve instead — same server, plus auto-versioning flags; new server features land there. ygo-server remains a working alias for existing deployments and will be removed in a future major release.

Usage:

ygo-server [-addr :8080] [-store path/to/ygo.db]

Without -store the server runs purely in-memory; documents are lost when their last connection disconnects. With -store the server persists every applied update to a SQLite database and loads the document history on first connect of a fresh server process.

Mount point: documents are addressed by the URL path. A client connecting to ws://host:8080/my-doc operates on docName "my-doc". The leading slash is stripped; query strings are ignored (matching y-websocket's convention).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL