mirror of
https://github.com/CPunch/gopenfusion.git
synced 2025-07-06 19:30:10 +00:00
- moved Peer from the server package to the protocol package, it was also renamed to CNPeer as most fusionfall specific constants in the client use the 'CN' prefix.
10 lines
238 B
Go
10 lines
238 B
Go
package server
|
|
|
|
import (
|
|
"github.com/CPunch/gopenfusion/protocol"
|
|
)
|
|
|
|
type PacketHandler func(peer *protocol.CNPeer, pkt protocol.Packet) error
|
|
|
|
func stubbedPacket(_ *protocol.CNPeer, _ protocol.Packet) error { /* stubbed */ return nil }
|