Remove server.go and move type.
This commit is contained in:
parent
e45ca20bbe
commit
a550ad9cdc
@ -19,7 +19,6 @@ const (
|
|||||||
MoveMessage MessageType = "move"
|
MoveMessage MessageType = "move"
|
||||||
InvalidMoveMessage MessageType = "invalidMove"
|
InvalidMoveMessage MessageType = "invalidMove"
|
||||||
ColorDetermined MessageType = "colorDetermined"
|
ColorDetermined MessageType = "colorDetermined"
|
||||||
TakenEnPassant MessageType = "takenEnPassant"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func (m WebsocketMessage) IsValidMoveMessage() bool {
|
func (m WebsocketMessage) IsValidMoveMessage() bool {
|
||||||
|
@ -1,11 +0,0 @@
|
|||||||
package chess
|
|
||||||
|
|
||||||
import (
|
|
||||||
"net/http"
|
|
||||||
)
|
|
||||||
|
|
||||||
var AppPath = "/home/m/projects/programming/flutter_projects/mchess/build/web"
|
|
||||||
|
|
||||||
func PlayHandler(w http.ResponseWriter, r *http.Request) {
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user