Draft: poop
This commit is contained in:
8
handlers/game/handlers.go
Normal file
8
handlers/game/handlers.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package game
|
||||
|
||||
type Handlers struct {
|
||||
}
|
||||
|
||||
func NewHandlers() *Handlers {
|
||||
return &Handlers{}
|
||||
}
|
||||
14
handlers/game/postMove.go
Normal file
14
handlers/game/postMove.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package game
|
||||
|
||||
import (
|
||||
"inp2025/tcp"
|
||||
"inp2025/utils"
|
||||
)
|
||||
|
||||
func (self *Handlers) PostMove(
|
||||
w tcp.ResponseWriter,
|
||||
req *tcp.Request,
|
||||
) error {
|
||||
// TODO
|
||||
return utils.Success(w)
|
||||
}
|
||||
14
handlers/game/postReady.go
Normal file
14
handlers/game/postReady.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package game
|
||||
|
||||
import (
|
||||
"inp2025/tcp"
|
||||
"inp2025/utils"
|
||||
)
|
||||
|
||||
func (self *Handlers) PostReady(
|
||||
w tcp.ResponseWriter,
|
||||
req *tcp.Request,
|
||||
) error {
|
||||
// TODO
|
||||
return utils.Success(w)
|
||||
}
|
||||
14
handlers/game/socketState.go
Normal file
14
handlers/game/socketState.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package game
|
||||
|
||||
import (
|
||||
"inp2025/tcp"
|
||||
"inp2025/utils"
|
||||
)
|
||||
|
||||
func (self *Handlers) SocketState(
|
||||
w tcp.ResponseWriter,
|
||||
req *tcp.Request,
|
||||
) error {
|
||||
// TODO
|
||||
return utils.Success(w)
|
||||
}
|
||||
Reference in New Issue
Block a user