diff options
Diffstat (limited to 'internal/net/server.go')
| -rw-r--r-- | internal/net/server.go | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/internal/net/server.go b/internal/net/server.go index d212dbf..11339d7 100644 --- a/internal/net/server.go +++ b/internal/net/server.go @@ -14,7 +14,6 @@ import ( "sync" "time" - "thehouseoficarus/internal/behavior" "thehouseoficarus/internal/color" "thehouseoficarus/internal/config" "thehouseoficarus/internal/player" @@ -47,7 +46,6 @@ const ( StateCraftProduct StateProductChoice StateColorChoice - StateShop StateBank StateHacking StateDangerConfirm @@ -68,7 +66,6 @@ type Session struct { PendingBackground bool Disconnecting bool DisconnectTicks int - Shop *behavior.ShopConfig PendingUndigDir string PendingUndigRoom int promptVisible bool @@ -76,14 +73,14 @@ type Session struct { } type Server struct { - config *config.Config - telnetLn net.Listener - telnetTLSLn net.Listener - httpServer *http.Server - httpsServer *http.Server + config *config.Config + telnetLn net.Listener + telnetTLSLn net.Listener + httpServer *http.Server + httpsServer *http.Server httpsTLSConfig *tls.Config - hub *Hub - handler func(*Session, string) + hub *Hub + handler func(*Session, string) } type Hub struct { |
