diff options
| author | historia <[not public]> | 2026-06-16 01:59:27 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-16 01:59:27 -0400 |
| commit | 43f21aabae8924f35c12c8485e690aeefe0089fb (patch) | |
| tree | b5fbadb89df3cf4ffec86503bb8e2d7e52b27454 /internal/net | |
| parent | 4cc1ddcd185509080b4b3e15d1646567edd51c9d (diff) | |
| download | thehouseoficarus-43f21aabae8924f35c12c8485e690aeefe0089fb.tar.gz | |
feat: overhauled ansi color, added prompt options
Diffstat (limited to 'internal/net')
| -rw-r--r-- | internal/net/doc.go | 15 | ||||
| -rw-r--r-- | internal/net/server.go | 1 |
2 files changed, 1 insertions, 15 deletions
diff --git a/internal/net/doc.go b/internal/net/doc.go deleted file mode 100644 index 13e7f71..0000000 --- a/internal/net/doc.go +++ /dev/null @@ -1,15 +0,0 @@ -// Package net provides transport-agnostic network connections, session -// management, and a multi-listener server. -// -// The Conn interface abstracts TCP (telnet) and WebSocket connections, -// handling IAC echo control for password suppression. The Session type -// tracks connection state through the login flow (account name, password, -// menu navigation, character selection, and in-game play). -// -// The Hub tracks which sessions are in which rooms, enabling room-scoped -// messaging. The Server manages telnet, HTTP, and HTTPS listeners and -// dispatches incoming input to the game handler. -// -// Session I/O helpers (Write, WriteLine, WriteLines) handle CRLF line -// endings required by telnet clients. -package net diff --git a/internal/net/server.go b/internal/net/server.go index 084641f..d909cc2 100644 --- a/internal/net/server.go +++ b/internal/net/server.go @@ -47,6 +47,7 @@ type AccountEntry struct { PasswordHash string Characters []string Aliases map[string]string + Colors map[string]string } type Server struct { |
