Files
corrosion-admin-panel/companion-agent/go.mod
Vantz Stockwell eb57c51a24
All checks were successful
Test Asgard Runner / test (push) Successful in 3s
feat: Add WebSocket RCON client to companion agent
Wire gorilla/websocket into the Go companion agent to send arbitrary
console commands (e.g. oxide.reload BetterLoot) to the Rust Dedicated
Server's WebRCON endpoint. Adds RCON_PORT and RCON_PASSWORD env vars,
a new "command" action on the existing cmd.server NATS subject, and
the internal/rcon package that handles the JSON-over-WebSocket protocol.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 00:16:47 -05:00

18 lines
431 B
Modula-2

module github.com/vigilcyber/corrosion-companion
go 1.21
require (
github.com/kelseyhightower/envconfig v1.4.0
github.com/nats-io/nats.go v1.31.0
)
require (
github.com/gorilla/websocket v1.5.3 // indirect
github.com/klauspost/compress v1.17.0 // indirect
github.com/nats-io/nkeys v0.4.5 // indirect
github.com/nats-io/nuid v1.0.1 // indirect
golang.org/x/crypto v0.6.0 // indirect
golang.org/x/sys v0.5.0 // indirect
)