Rename server module for its gitea path.

main
Mari 3 years ago
parent 8db68101fd
commit 6608c10e79
  1. 2
      server/action/map.go
  2. 2
      server/action/syncable.go
  3. 2
      server/action/user.go
  4. 2
      server/go.mod
  5. 4
      server/room/actor.go
  6. 2
      server/room/clientmessage.go
  7. 4
      server/room/message.go
  8. 2
      server/room/room.go
  9. 2
      server/websocket/client.go
  10. 4
      server/websocket/server.go

@ -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
import (
"errors"
"git.reya.zone/reya/hexmap/server/state"
"go.uber.org/zap/zapcore"
"hexmap-server/state"
)
var (

@ -1,8 +1,8 @@
package action
import (
"git.reya.zone/reya/hexmap/server/state"
"go.uber.org/zap/zapcore"
"hexmap-server/state"
)
const (

@ -1,4 +1,4 @@
module hexmap-server
module git.reya.zone/reya/hexmap/server
go 1.16

@ -1,10 +1,10 @@
package room
import (
"git.reya.zone/reya/hexmap/server/action"
"git.reya.zone/reya/hexmap/server/state"
"github.com/rs/xid"
"go.uber.org/zap"
"hexmap-server/action"
"hexmap-server/state"
)
// act is the meat and potatoes of the room - it's responsible for actually running the room.

@ -1,9 +1,9 @@
package room
import (
"git.reya.zone/reya/hexmap/server/websocket"
"github.com/rs/xid"
"go.uber.org/zap/zapcore"
"hexmap-server/websocket"
)
// ClientMessage marks messages coming from clients to the room.

@ -1,10 +1,10 @@
package room
import (
"git.reya.zone/reya/hexmap/server/action"
"git.reya.zone/reya/hexmap/server/state"
"github.com/rs/xid"
"go.uber.org/zap/zapcore"
"hexmap-server/action"
"hexmap-server/state"
)
// Message marks messages going to clients from the room.

@ -1,9 +1,9 @@
package room
import (
"git.reya.zone/reya/hexmap/server/state"
"github.com/rs/xid"
"go.uber.org/zap"
"hexmap-server/state"
)
// NewOptions is the set of information used to control what a room starts with.

@ -1,8 +1,8 @@
package websocket
import (
"git.reya.zone/reya/hexmap/server/action"
"go.uber.org/zap/zapcore"
"hexmap-server/action"
)
// ClientMessageType is an enum type for the client's protocol messages.

@ -1,9 +1,9 @@
package websocket
import (
"git.reya.zone/reya/hexmap/server/action"
"git.reya.zone/reya/hexmap/server/state"
"go.uber.org/zap/zapcore"
"hexmap-server/action"
"hexmap-server/state"
)
// ServerMessageType is an enum type for the server's messages.

Loading…
Cancel
Save