@ -1,8 +1,8 @@
package action
import (
"git.reya.zone/reya/hexmap/server/state"
"go.uber.org/zap/zapcore"
"hexmap-server/state"
)
const (
@ -2,8 +2,8 @@ package action
"errors"
var (
@ -1,4 +1,4 @@
module hexmap-server
module git.reya.zone/reya/hexmap/server
go 1.16
@ -1,10 +1,10 @@
package room
"git.reya.zone/reya/hexmap/server/action"
"github.com/rs/xid"
"go.uber.org/zap"
"hexmap-server/action"
// act is the meat and potatoes of the room - it's responsible for actually running the room.
@ -1,9 +1,9 @@
"git.reya.zone/reya/hexmap/server/websocket"
"hexmap-server/websocket"
// ClientMessage marks messages coming from clients to the room.
// Message marks messages going to clients from the room.
// NewOptions is the set of information used to control what a room starts with.
package websocket
// ClientMessageType is an enum type for the client's protocol messages.
// ServerMessageType is an enum type for the server's messages.